Re: assembling array after disk failure

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

 



Thank you. --force is exactly what I needed to do. It is working properly now.

On 10/26/2013 06:03 PM, Phil Turmel wrote:
On 10/26/2013 05:04 PM, Dan Knight wrote:
Hello after some trouble with disks, I am trying to reassemble an
array.  When I start the array, I am told I don't have enough disks to
start.  What is really strange to me is that when I examine the disks in
the array, mdadm gives me different overall information for different
disks.  What do I need to do to assemble the array?

**[root@server etc]# mdadm -As
**mdadm: /dev/md127 assembled from 3 drives - not enough to start the
array.**
*[root@server etc]# cat /proc/mdstat*
Personalities :
md127 : inactive sdf[2](S) sde[4](S) sdb[3](S) sdc[1](S) sdd[0](S)
       9767572480 blocks super 0.91
"--force" is your friend in such situations.

mdadm --stop /dev/md127
mdadm -Af /dev/md127 /dev/sd[bcdef]

You haven't given enough information for any advice on avoiding future
trouble...

Phil


--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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