Logical volume Manager Flashcards
LVM benefits
Let’s you create one file system across multiple storage devices
LVM lets you
Easily migrate data from one system to another
LVM mirroring
Lets you store data on two devices
Snapshots
Lets you get the state of your data at a specific moment
Physical volumes
Any devices that the linux operating system can access
Volume group
Groups of physical volumes
Logical volumes
Parts of a volume group
lvmdiskscan
Checks for all the devices that can be used with lvm
lsblk
Tells you more about disks
pv create path
Creates a physical volume
pvs
Lists physical volumes
vgcreate name physical volume path
Creates a volume group with a physical volume underneath
vgs
Tells you about a volume group
lvcreate -L 20G-n lv_data volumegrpup
Creates a 2gigogical volume
lvs
Prints your logical volumes