I have a volume mount to /home how do I resize it

Linode Staff

After reboot, I can't resize using the command, it shows target is busy.

1 Reply

After powering off your Linode and resizing the storage volume and rebooting you were unable run the commands necessary to resize the file system. The target busy or device busy error is usually displayed when a user is running commands inside of the resource they are trying to unmount or resize. This site explains the cause of the target busy error. Try to run the commands from the /root directory:

  1. sudo -i or su -i to become root.

  2. cd /root to change to that directory as root.

  3. As root run the commands to resize your storage volume

e2fsck -f /dev/disk/by-id/scsi-0Linode_Volume_Volume-100GB-for-your-volume

resize2fs /dev/disk/by-id/scsi-0Linode_Volume_Volume-100GB-for-your-volume

Mount your resized storage volume with the command:

mount /dev/disk/by-id/scsi-0Linode_Volume_Volume-100GB-for-your-volume /home

To make the volume mount persist across reboots edit the /etc/fstab file and add:

/dev/disk/by-id/scsi-0Linode_Volume_Volume-100GB-for-your-volume  /home ext4 defaults 0 2

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct