Re: RAID without superblock

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

 



On 19/04/2009 22:04, Piergiorgio Sartor wrote:
Why would you want a RAID-1 without superblock. I generally
consider that a legacy configuration.

Ah! I was thinking about it as a method to
build a RAID with an already existing disk
or partition, which cannot be modified.

Well, something somewhere is going to have to change; at the very least you're going to have to stop whatever's using the filesystem, unmount it, do whatever to create the new RAID-1 incorporating the original disc, and remount the filesystem now on the new md device.

So instead you could create a new RAID-1 md device with (a superblock and) one disc missing, create a filesystem on it, stop your original filesystem, copy its contents to the new md device, mount it, and add the original disc into the new md device.

If you've too much data to be able to afford the downtime copying, use rsync with the appropriate options while the filesystem's still in use, then again after it's been stopped; the second copy will complete far faster than the full copy.

Cheers,

John.

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