Skip to content

Instantly share code, notes, and snippets.

@FleXoft
Created May 14, 2021 12:04
Show Gist options
  • Save FleXoft/6c12c52dbe0181d532813a6ccc3d8ff1 to your computer and use it in GitHub Desktop.
Save FleXoft/6c12c52dbe0181d532813a6ccc3d8ff1 to your computer and use it in GitHub Desktop.
linux pv vg lv mkfs
pvcreate /dev/sdc1
vgcreate vtl-media /dev/sdc1
lvcreate -n lv_vtl-media vtl-media --size 1500G
mkfs.xfs -L vtl-media /dev/mapper/vtl--media-lv_vtl--media
cat /etc/fstab
LABEL=vtl-media /vtl-media xfs defaults 0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment