1

How should a RAID partition be created and configured using parted?

view story
linux-howto

http://askubuntu.com – For testing I want to create a mirrored (RAID 1) partition with a size of 1GB on /dev/sdb and /dev/sdc. When it comes to partitioning, I want to used parted, how should I create the partition I want to mirror? I start by initializing the partition table: (parted) select /dev/sdb Using /dev/sdb (parted) mklabel gpt Warning: The existing disk label on /dev/sdb will be destroyed and all data on this disk will be lost. Do you want to continue? Yes/No? Y (parted) After the above steps. How do I create the partition and set any necessary flags? I know that raid is a possible partition flag, do (HowTos)