How to resize non partitioned attached volume?
I tried to execute https://www.digitalocean.com/docs/volumes/how-to/increase-size/:
# sudo lsblk --fs /dev/disk/by-id/scsi-0DO_Volume_volume-fra1-02 NAME FSTYPE LABEL MOUNTPOINT sda └─sda1 ext4 /mnt/volume-fra1-02-part1
So I’m trying to resize it with:
# sudo resize2fs /dev/disk/by-id/scsi-0DO_Volume_volume-fra1-02 resize2fs 1.42.9 (4-Feb-2014) resize2fs: Device or resource busy while trying to open /dev/disk/by-id/scsi-0DO_Volume_volume-fra1-02 Couldn't find valid filesystem superblock.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×