Re: mdadm --create parameter ordering

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

 



On 07/13/2015 06:59 AM, Robin Hill wrote:

[snip /]

Let me elaborate on one of Robin's comments:

> The --assume-clean option will prevent parity calculation (as it assumes
> that the parity on disk is already correct), which may be what you're
> after. It should only be used it you're absolutely certain of the data
> though, as it can lead to large-scale corruption otherwise.

It is not enough to be certain of the order to use --create
--assume-clean on existing data.  You must also be certain of superblock
type, chunk size, data offset, and layout option.

Data loss due to unwise use of --create has a history of bad outcomes.
It destroys the previous metadata on array members, metadata that is
almost always needed to recover damaged arrays.  The --create option
should *never* be used on an array with important data without first
asking for advice on this list.

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