1. Purpose:
This guide aims to provide steps on how to create LVM partition under Linux OS.
2. Audience:
All users with Linux commands experience.
3. Steps:
1. Check partition first
# lsblk
nvme0n1 259:0 0 238.5G 0 disk
├─nvme0n1p1 259:1 0 200M 0 part
├─nvme0n1p2 259:2 0 1G 0 part
└─nvme0n1p3 259:3 0 237.3G 0 part
├─centos00-swap 253:0 0 23.9G 0 lvm
├─centos00-home 253:1 0 163.4G 0 lvm
└─centos00-root 253:2 0 50G 0 lvm
From the list, we can figure out that Physical Volume is "centos00" and volume is "swap, home or root".
2. mount /dev/Physical Volume/volume
# mount /dev/centos00/root /mnt
Comments
0 comments
Please sign in to leave a comment.