LVM Example
Posted by lane
I always look at the MythTV documentation for a short, quick LVM reference
I have a large 2TB RAID 5 device that I want to split into two partitions. LVM gives that ability. Here are the steps I followed:
- Create the physical group
sudo pvcreate /dev/md0
- Create the volume to include the whole physical group.
vgcreate bigdisk /dev/md0
- Then use
lvcreateas follows:sudo lvcreate --name mm --size 1TB bigdisk sudo lvcreate --name home -l 214789 bigdisk