How to create a new volume group in Linux?

. Create a physical volume on a spare disk or partition using pvcreate /dev/sdd /dev/sde 2. Create a new volume group using vgcreate MY_VG /dev/sdd /dev/sde 3. Create the logical volume using: 1. Simple logical volume of size 5 GB lvcreate -L 5G -n lv_simple MY_VG 2. Stripped Logical volume with 3 disks lvcreate -L 5G -i3 -n lv_stripped 3. Mirror Volume with 2 disk area mirroring each other using lvcreate -L 5G -m1 -n lv_mirror 4. Create the file system using mkfs.ext4 //dev/mapper/my_VG-lv_simple 5. Use it

Table of Contents