Can I reduce root filesystem size?

I upsized an instance's root filesystem by mistake. I would like to return to the previous, smaller size, perhaps employing resize2fs somehow.

Is it possible to do something like mount the embiggened instance's filesystem from another instance and then run resize2fs from there? …, and then downsize the disk size from cloud manager?

Thx!

1 Reply

If you're using an EXT3 or EXT4 filesystem, then the Linode Manager can safely resize your disk to a smaller size automatically.

Otherwise, I'd recommend creating a second disk on your Linode and copying over the files from your first disk to the second one, as the Linode Manager's disk resize tool can only size down EXT3 or EXT4 filesystems.

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