Re: Problem with RAID-5 not adding disks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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        <robin@xxxxxxxxxxxxxxx> |
   / / )      | Little Jim says ....                            |
  // !!       |      "He fallen in de water !!"                 |

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux