Go to the first, previous, next, last section, table of contents.


7.2 Creating RAID or LVM partitions

To create a RAID or LVM partition, you must:

  1. Create a partition with the mkpart command.
  2. Set the LVM or RAID flag on the partition.

For example:

(parted) mkpart primary ext2 0 4000
(parted) set 1 lvm on

Note: the LVM or RAID partition will not be ready for use yet. You still need to run mkraid(8) for RAID, or use the LVM tools to initialise the physical volume, and create logical groups, etc.


Go to the first, previous, next, last section, table of contents.