Does resizing a disk image using Linode Manager delete data?
Currently on a 512 Linode during development, but will likely be moving to a 1024 Linode when we go live. My question is, can I resize my disk image using the 'Edit Disk Image' page without deleting any of the data currently on the image? I will be increasing the size, but it would be good to know what happens if downsizing too.
Thanks,
Lockie
9 Replies
Cheers.
@locksmack:
Thanks XReaper. So if I increase the image size from ~20gb to ~40gb, I won't lose the data on it?
Cheers.
nope. not at all. have done it many times.
@yaz:
Also, I don't remember if Linode forces you to shut down your server or does it automatically, but to be safe, I'd recommend manually shutting down your server (in addition to backup, etc.) before resizing it.
Linode won't let you resize a running disk image. I don't remember if the resizer will shut the node down for you or if it just errors out and tells you to do it, though.
> Linode must be shut down before resize
I shrunk the main partition
create a new one from the empty space and installed new ubuntu, while making the new drive the boot drive.
mounted old drive to the new OS and copied all configuration and data across
I've yet to kill the old partition for fear there's still data I need there (but is is not mounted), but when I do I can resize my new partition and get all my space back.
Good to know if somebody finds themselves in the same troublesome situation.