Skip to content

Instantly share code, notes, and snippets.

@riblo
Last active January 16, 2020 17:41
Show Gist options
  • Save riblo/04737ce4a1382e98f97d6ac9e854f54e to your computer and use it in GitHub Desktop.
Save riblo/04737ce4a1382e98f97d6ac9e854f54e to your computer and use it in GitHub Desktop.
lsblk
fdisk /dev/sde
fdisk /dev/sdf
mkfs.ext4 /dev/sde1
mkfs.ext4 /dev/sdf1
reboot
lsblk
vgdisplay
pvcreate /dev/sde1
vgextend pve /dev/sde1
lvresize -L +445G /dev/pve/data
resize2fs /dev/mapper/pve-data_tdata
vgdisplay
pvcreate /dev/sdf1
vgextend pve /dev/sdf1
lvresize -L +445G /dev/pve/data
vgdisplay
resize2fs /dev/mapper/pve-data_tdata
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment