Re: how to recover filesystem after clobbering array?

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

 



On Sat, 23 Jul 2011, Vasco Névoa wrote:

I initially used "mdadm --create --assume-clean ..." on a level1 array of 2 disks that came from another machine. I didn't know any other way of starting an array in this situation. While this is an acceptable practice in some cases, it is better to use "--assemble" and pass the necessary info (like uuid).

In case someone finds this from the archives:

mdadm --create --assume-clean is a LAST RESORT. It's to be used when everything else fails. I've seen so many start doing this way too early in the process and who then subsequently lost their data because of superblock version and mdadm changes over time (especially when they forgot --assume-clean and got the layout wrong).

--
Mikael Abrahamsson    email: swmike@xxxxxxxxx

[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