On Fri, Jul 25, 2014 at 8:56 AM, Robert Nichols rnicholsNOSPAM@comcast.net wrote:
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
What happens if you mount the partition of a raid1 member directly instead of the md device? I've only done that read-only, but it does seen to work.