Notepad:LVM Snapshot: Difference between revisions
From Amar
Jump to navigationJump to search
Created page with "= LVM Snapshot = * create partition * create PV `pv_create` * create VG `vg_create <VG_NAME> <PV_NAME>` * create LV lvcreate -n <LV_NAME> -l <pct>%FREE <VG_NAME> * format m..." |
|||
Line 1: | Line 1: | ||
= LVM Snapshot = | = LVM Snapshot = | ||
* create partition | * create partition | ||
* create PV ` | * create PV `pvcreate` | ||
* create VG ` | * create VG `vgcreate <VG_NAME> <PV_NAME>` | ||
* create LV | * create LV | ||
lvcreate -n <LV_NAME> -l <pct>%FREE <VG_NAME> | lvcreate -n <LV_NAME> -l <pct>%FREE <VG_NAME> |
Latest revision as of 17:43, 30 August 2021
LVM Snapshot
- create partition
- create PV `pvcreate`
- create VG `vgcreate <VG_NAME> <PV_NAME>`
- create LV
lvcreate -n <LV_NAME> -l <pct>%FREE <VG_NAME>
- format
mkfs.xfs `/dev/mapper/<VG_NAME>-<LV_NAME>
- create mount point `mkdir -p <mountpoint>`
- mount