Wednesday, March 9, 2011

Using LVM

It was fun trying out LVM. Following are basics that needs to be remembered;

1. Partition the disk as type 8e (fdisk).

2. Create physical volume (PV). Use pvcreate

3. Create one volume group (GV) using all the PV. Use gvcreate

4. Create logical volumes (LV) on the GV. Use lvcreate

5. Format each LV with respective filesystem. E.g. Ext3fs, reiserfs using mkfs

6. Mount each LV. Use mount.

No comments: