Re: Proper partition type for components with V1.x superblocks?

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

 



Neil Brown wrote:

But if you use 1.0, then some well-meaning install program might mount
one drive from a raid1 as a filesystem, write to it, and get your RAID
all out of sync.


One more thing on this: this is actually fine as long as the RAID code detects the out-of-syncness. This can't be foolproof, of course, but for virtually all filesystems there is *something* in the first megabyte or so (usually within the first 128K) that is touched by almost every write -- the superblock, or its equivalent.

If the RAID code did a sanity check on the first megabyte, it would catch the vast majority of all unintentional desynchronization events.

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