Re: Avoiding resync of RAID1 during creation

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

 



Tuomas Leikola wrote:
mdadm --assume-clean

from the man page:

It can also be used when creating a RAID1 or RAID10 if you want to
avoid the initial resync, however this  practice - while normally safe
- is not recommended.

What version of mdadm was that from? From mdadm(8) in mdadm-1.11.0-4.fc4 on my systems:

  --assume-clean
    Tell  mdadm that the array pre-existed and is known to be clean.
    This is only really useful for Building RAID1 array.   Only  use
    this  if  you really know what you are doing.  This is currently
    only supported for --build.

I tried with --assume-clean, it still wanted to sync. From what my man page was telling me, it only works with --build. If I use --build it'll go ahead without syncing, but I need per-device superblocks. Why mdadm didn't error when I used --assume-clean with --create, I don't know.

--bryan
-
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