After I resize my Linode, I'm getting a "Raw image has been grown" error message

Linode Staff

I added almost all of the extra space to my linode in it's raw partition. When I did that, I got this message from my Linode manager:

Raw image has been grown. You will still need to grow the filesystem within the image manually.

Basically, what do I need to do in order to make use of that space?

1 Reply

To my understanding, if you haven't yet, the first thing that you'll need to do is resize your partition to accommodate this extra space. The growpart tool can help, and I think it'd be the easiest method to proceed. To install, you'd just need to enter the following command:

 sudo yum install cloud-utils-growpart

And then from there you can extend your partition to use all available space with the following command:

  growpart /dev/sda 1

From there, provided your filesystem is xfs, you should be able to mount your disk and resize the filesystem by issuing the following commands:

 mount /dev/sda1 /mnt
 xfs_growfs -d /mnt

Alternatively, if you're using ext4, then the resize2fs command should work for your filesystem resize, using syntax as follows:

  resize2fs /dev/sda1

You should be able to find more information on these tools at their manual pages, or by following the links below:

Manual for xfs_growfs
Manual for resize2fs
Manual for growpart

Lastly, if you do have concerns or a level of discomfort when proceeding through the resizing process, then I would strongly recommend using a backup method on your Linode, just to ensure that you always have a good configuration to restore from, worst case scenario. For a little more information regarding this process, I'm including some documentation below which I hope can help:

Backing Up Your Data

I hope that helps!

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