[CentOS] Convert "bare partition" to RAID1 / mdadm?
Les Mikesell
lesmikesell at gmail.com
Fri Jul 25 15:10:26 UTC 2014
On Fri, Jul 25, 2014 at 8:56 AM, Robert Nichols
<rnicholsNOSPAM at 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.
--
Les Mikesell
lesmikesell at gmail.com
More information about the CentOS
mailing list