Notepad:LVM Snapshot

From Amar
Revision as of 00:29, 5 February 2020 by Lax (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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
mkfs.xfs `/dev/mapper/<VG_NAME>-<LV_NAME>
  • create mount point `mkdir -p <mountpoint>`
  • mount