Post

Proxmox CLI "pv, vg, lv management"

Proxmox CLI "pv, vg, lv management"

Create a PV

1
pvcreate <disk-device-name>

Remove a PV

1
pvremove <disk-device-name>

List all PVs

1
pvs

Create a VG

1
vgcreate <vg-name> <disk-device-name>

Remove a VG

1
vgremove <vg-name>

List all VGs

1
vgs

Create a LV

1
lvcreate -L <lv-size> -n <lv-name> <vg-name>

Remove a LV

1
lvremove <vg-name>/<lv-name>

List all LVs

1
lvs
This post is licensed under CC BY 4.0 by the author.