Thread (8 messages) 8 messages, 3 authors, 2014-07-24

Re: Problem with RAID-5 not adding disks

From: Robin Hill <hidden>
Date: 2014-07-24 19:50:11

On Thu Jul 24, 2014 at 08:39:09PM +0300, Theophanis Kontogiannis wrote:
Hi Roger, Hi List,

With a high heart bit rate I tried this:

mdadm --create /dev/md0 --assume-clean --level=5 --raid-devices=5  /dev/sdb /dev/sdc /dev/sde /dev/sdd missing

IT WORKED!

Now I have mounted my date back.

BUT:

1. I have one failing disk according to SMART (that is /dev/sdc)

2. /dev/sdb and /dev/sdd have a little smaller size then the others:

blockdev --getsz /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf
1953523055
1953525168
1953523055
1953525168
1953523055
All 1TB disks should be exactly the same size (manufacturers are using
standard sizes for all disks nowadays). Are these drives all on the same
controllers? This looks like maybe the BIOS is reserving some space on
the disks, which may have overwritten something in the original array.

Have you run a fsck across the array after reassembling it? I suspect
you may find the filesystem size doesn't match the original one.

Regards,
    Robin
-- 
     ___        
    ( ' }     |       Robin Hill        [off-list ref] |
   / / )      | Little Jim says ....                            |
  // !!       |      "He fallen in de water !!"                 |

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help