How to resize non partitioned attached volume?

Posted April 22, 2019 1.6k views
UbuntuBlock Storage

I tried to execute

# sudo lsblk --fs /dev/disk/by-id/scsi-0DO_Volume_volume-fra1-02 
└─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.

Submit an Answer
1 answer

It appears that there are a couple of steps missing from the process and potentially, these are completed at the Digital Ocean end. According to the documentation a restart may be in order, and if not maybe open a support ticket.