[CentOS] Convert "bare partition" to RAID1 / mdadm?

Robert Nichols rnicholsNOSPAM at comcast.net
Fri Jul 25 13:56:58 UTC 2014


On 07/24/2014 10:16 PM, Lists wrote:
> So... is it possible to convert an EXT4 partition to a RAID1 partition
> without having to copy the files over?

Unless you can figure out some way to move the start of the partition back
to make room for the RAID superblock ahead of the existing filesystem, the
answer is, "No." The version 1.2 superblock is located 4KB from the start
of the device (partition) and is typically 1024 bytes long.

     https://raid.wiki.kernel.org/index.php/RAID_superblock_formats

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.




More information about the CentOS mailing list