Re: RAIS5 Rebuild Help - Possible Data Offset

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

 



On Sat, 1 Feb 2014 15:56:14 +0800 Yorik <yoriks13@xxxxxxxxxxxxxx> wrote:

> Thank you for your help. Sorry for my omission, I thought I had put
> that in. It was one of the first things that I tried and have numerous
> times since.
> 
> #mdadm -Af /dev/md0 /dev/sd[abc]1 /dev/sd[defgi]
> mdadm: /dev/md0 assembled from 5 drives - not enough to start the array.
> 
> Then if I try the command again, I get the following
> 
> # mdadm -Af /dev/md0 /dev/sd[abc]1 /dev/sd[defgi]
> mdadm: /dev/sda1 is busy - skipping
> mdadm: /dev/sdb1 is busy - skipping
> mdadm: /dev/sdc1 is busy - skipping
> mdadm: /dev/sdd is busy - skipping
> mdadm: /dev/sde is busy - skipping
> mdadm: /dev/sdf is busy - skipping
> mdadm: /dev/sdg is busy - skipping
> mdadm: /dev/sdi is busy - skipping
> 
> And my /proc/mdstat looks like this, with all drives marked as spare.
> 
> # cat /proc/mdstat
> Personalities :
> md0 : inactive sda1[0](S) sdf[7](S) sdg[8](S) sde[5](S) sdi[6](S)
> sdd[4](S) sdc1[2](S) sdb1[1](S)
>       23442114872 blocks super 1.1
> 
> unused devices: <none>

If this is still a problem then please:
1/ get the latest mdadm:
     cd /tmp
     git clone git://neil.brown.name/mdadm
     cd mdadm
     make
2/ stop the array
     ./mdadm --stop /dev/md0
3/ force-assemble the array with --verbose:

     ./mdadm --assemble --force --verbose /dev/md0 /dev/sd[abc]1 /dev/sd[defgi]

and report all the output of the last command.

NeilBrown

Attachment: signature.asc
Description: PGP 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