Linode Image (Snapshot) Failed
I need to take image of my linode instance root disk having space of 195GB but failed and got this error:
""Unable to create image. Size of disk (180718MB) is larger than the per-image limit of 2048MB.""
Does it meant that disk sized greater than 2GB cant be taken as snapshot.!!!?
How is that possible!!! Who will be having disk space as 2GB.
How will that be done? need help.
We are trying to create snapshots and destroy the server so that in future we can have something to rebuild same server.
We enforce a 2GB limit on images after compression. One way to circumvent this is to boot linodes from a block storage volume. These have a max size of 10TB.
We provide a guide for this here
Linode’s Block Storage service allows you to attach additional storage volumes to your Linode. In addition to storing files and media, you can also use a Block Storage Volume as a boot disk. This can provide a low-cost way to maintain an image that can be quickly attached to a new Linode and booted up when needed.
Note this will be subject to block storage's $0.10/GiB per month pricing.
@acarey : The thing is that the "quick deployment" scenario is broken due to this limitation…
"As an admin, I what to be able to quickly setup a template image on a new linode for XY reason"
Given I deploy Ubuntu 16.04 (2500Mo)
And I set a restricted user
And I set setup ufw (optional)
And I set a couple of rules
When I create a template image of a "secure install"
Then I should be able to sqve that image without any issue.
Right now, it's not doable because Ubuntu is already 2.5GB.
And we are not speaking of "storage" here…
@juliencoupez two things…
One option is that you can build the linode from a stackscript. This will make the initial boot take a little longer depending on how much configuration you do on top of the base image.
I supply a stackscript here that does some very similar things to what you are doing. It builds a secure linode, installs some keys, hardens ssh, etc. There are also some popular community stackscripts people use for this purpose floating in the public stackscripts space. I like to use stackscripts in conjunction the Linode CLI( https://github.com/linode/linode-cli). Its a pretty straight forward way to boot a linode with a known good config.
If images are your thing you can also can request an image size limit increase through a support ticket. Just tell them your problem, specifically how much you are exceeding the limit by, and if we can reasonably increase the limit I'm sure you'll find someone that is happy to help.
Please come back if you have any other questions or just to let me know how things worked out.
We are currently trying to migrate away from Digital Ocean and this is a show stopper. With Digital Ocean if we delete a droplet the backups that we created are kept so we can re-launch them in the future if needed. With Linode if a node is deleted then we lose all backups. We need to be able to take regular snapshots and re-deploy. We really want to get away from Digital Ocean but this will be a show stopper.
Is there any plans to make backups persistent (so they stay around after we delete a node) or to allow images to be larger then 2GB?
Is there any plans to make backups persistent (so they stay around after we delete a node)…
When a Linode is deleted, an image is retained for an indefinite period of time. Though there are a few variables at play in determining how long it's kept.
…or to allow images to be larger than 2GB?
I don't have an ETA as to when the default size will be increased, though it is in the planning stages. In the short term I've increased your image MB limit to accommodate your needs.