Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Apr 13, 2011 6:51 pm 
Offline
Senior Newbie

Joined: Mon Dec 27, 2010 12:19 pm
Posts: 16
I have a new slice which I would like to clone. It takes us about a full day to update, add to and configure for our application. I would like to be able to take an image of the slice in this application ready configuration, before we begin the customer specific work. The intention is to then use this image to load many future slices eliminating this days labor redundantly.

The slice I have currently in this state is using 1.8GB. I shutdown and reduced the active image slice size to 3GB, created an additional ext of 3GB intending to clone to it, but this slice does not show up on destination dropdown. I have been questioning support all day and they gave up and suggested I ask the user community.

I guess it is your turn:)
Gary


Top
   
 Post subject:
PostPosted: Wed Apr 13, 2011 7:09 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
'Clone' copies a disk image(s) to another Linode instance. To make a copy of a disk image on the same Linode instance, remove the extra disk image that you made. Shut down your Linode. In the Linode Manager, choose 'Edit' for the image you want to duplicate. On the edit page, choose 'Duplicate Image'. You don't get a choice for the name of the duplicate image, but you can rename it afterwards.You can 'clone' this image to other Linode instances later as you need.

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Wed Apr 13, 2011 7:09 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:18 am
Posts: 681
Slices? Let me guess - recently with slicehost? :-)

The "Clone" operation in the Linode Manager is intended to clone between two Linodes, which is why the source Linode won't show up as a possible destination.

You can, however, duplicate individual disk images within a single Linode. Just select edit on the disk image, and then select the duplicate image button. You don't have to pre-create a target image. As long as you have enough unallocated space the duplicate image is created automatically. You'll have to do this for each image in turn though, and just as with the clone operation won't want to do this while your image is in use.

I seem to recall the older Linode Manager letting you duplicate multiple images at once, which would clearly be beneficial in this case, though it's been a while so I may be mis-remembering.

Or, given that it sounds like you'll be having a number of Linodes over time, just add a second Linode to clone to, separating your development Linode from your clone master. You can even just do this for a day (and get pro-rated charges back as a credit to your account) just to have access to a second Linode to simplify moving the images.

Another option would be to purchase the backup option for your master Linode (perhaps a good idea in and of itself), since you can use backups to restore to other Linodes as well as take snapshots even while the primary is running. Using the most recent backup, or a manual snapshot, would always let you use the most recent master image when generating a new Linode. I use this approach with several of my Linodes so I can spin up a "dev" Linode based on a production server for a short period for me to test out larger changes before making them in production. It's easy to make the new dev Linode match the production server from its backup without having to take the production server down.

-- David


Top
   
PostPosted: Thu Apr 14, 2011 8:22 am 
Offline
Senior Newbie

Joined: Mon Dec 27, 2010 12:19 pm
Posts: 16
This process only took a couple of minutes and if copying this image to a new linode works as expected it is sure going to save me a bunch of time, and most importantly remove the issue of typo's and/or omissions on the application configuration and give me a known environment to begin the customer specific config steps.

I am a little concerned the Linode Support could not answer what looks to be a simple solution on how to operate their own application. The good news is that this functionality exists.

Thanks again.

Gary


Top
   
PostPosted: Thu Apr 14, 2011 1:18 pm 
Offline
Senior Member
User avatar

Joined: Tue Nov 24, 2009 1:59 pm
Posts: 362
grickert wrote:
I am a little concerned the Linode Support could not answer what looks to be a simple solution on how to operate their own application. The good news is that this functionality exists.

Wait, what?
Did you open a support ticket with that question and did not get a reply, for real?

Forum here is community support. It's not monitored 24/7 by Linode employees the way support tickets are. And considering you got two answers from forum members 20 minutes after you asked, is it really so surprising that even if a Linode emploee saw the question, he didn't answer repeating the same thing for the third time?

_________________
rsk, providing useless advice on the Internet since 2005.


Top
   
 Post subject: Did get a reply but...
PostPosted: Thu Apr 14, 2011 1:30 pm 
Offline
Senior Newbie

Joined: Mon Dec 27, 2010 12:19 pm
Posts: 16
I did receive a reply:

Sorry we weren't able to assist you more with this issue. I might recommend contacting our active users community for further assistance. More information about the Linode Community is available here:

after asking the same question I posted here about 3 different ways.


Top
   
PostPosted: Thu Apr 14, 2011 3:15 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
rsk wrote:
Did you open a support ticket with that question and did not get a reply, for real?


reread his OP. it's not at all clear what he wants. The 2 responders decoded it.


Top
   
 Post subject:
PostPosted: Thu Apr 14, 2011 3:31 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
Clarity

Rarer then leftover chocolate cake in a fat girls refrigerator.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group