Interactive partition editor linux
Interactive MBR/GPT partition table editor
fdisk /dev/sdb
more linux
all 133 commands →
Partition with parted (GPT)
parted /dev/sdb -- mklabel gpt mkpart primary ext4 1MiB 100%
Show LVM physical volumes
pvs && pvdisplay
Show LVM volume groups
vgs && vgdisplay
Show LVM logical volumes
lvs -o +devices
Extend LV and resize FS
lvextend -L +10G /dev/vg0/lv_data && resize2fs /dev/vg0/lv_data