3.6 Linux Disk Management using LVM
1. Create physical volume
#pvcreate /dev/sdb
2. Create volume group
#vgcreate VG /dev/sdb
3. Create Logical volume
#|vcreate -L 5G -n LV01 VG
5G = is size HDD want create partition
4. Format Volume with File System
#mkfs.xfs /dev/VG/LV01
5. Mount Volume to Directory
#mount /dev/VG/LV01 /drive1
6. Verify
#pvdisplay or pvs
#vgdisplay or vgs
#lvdisplay or lvs
#df -h
Subscribe to:
Post Comments (Atom)
EmoticonEmoticon