Luca Berra <[EMAIL PROTECTED]> writes:
> because linux-raid keeps a 4K raid superblock at the end of the partition
> so if you already created the filesystem you have no room for the superblock.
This reminds me.. mke2fs has a blocks-count argument that, if you omit
it, defaults to the size of the device. If you set this argument to
partition size minus 4k when initializing a filesystem, the raid
superblock would fit later on. Given this, what would be the right way
to mkraid so that the raid-1 subsystem would know which of the devices
already has the filesystem on it and be able to sync to the other
devices?
(I'm aware of the failed-disk patches and have used them
successfully. Is there another way?)
If you ask me, mke2fs should be modified to reserve that 4k in the end
of the volume by default..
--
Osma Ahvenlampi