Growpart
Jump to navigation
Jump to search
lsblk df -h sudo growpart /dev/sdc 1 sudo resize2fs /dev/sdc1 lsblk df -h
Maybe works
Increase disk then
echo 1 > /sys/block/sdc/device/rescan sudo parted -s -a opt /dev/sda "print free" sudo parted -s -a opt /dev/sdc "resizepart 1 100%" sudo parted -s -a opt /dev/sda "print free" sudo growpart /dev/sdc 1 sudo resize2fs /dev/sdc1
parted --script /device \ mklabel gpt \ mkpart primary 1MiB 100MiB \ mkpart primary 100MiB 200MiB \