Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Nov 01, 2011 7:35 am 
Offline
Junior Member

Joined: Tue Nov 01, 2011 7:29 am
Posts: 30
Hi,
I setup a new Linode a few days ago and got a site working with a very simple LAMP config.

Since creating the node the storage always says its full with none free.

I understand from another forum post that I only received a prorated amount of about 250MB and it said 250MB used...

...so I waited until today, when I saw the 'Total' jump up to 20480MB, but the 'Used' also jumped to 20480MB, so I still have none free.

Should I expect to see some free ?

Sorry for the beginners question.


Top
   
 Post subject:
PostPosted: Tue Nov 01, 2011 7:39 am 
Offline
Linode Staff

Joined: Fri Feb 18, 2011 10:08 am
Posts: 42
Location: Galloway, NJ
If you're looking at the storage box in your Linode Manager, that's your space allocated to disk images, not your space used inside those images. To see your space used inside the image, log into your Linode and run "df -h"


Top
   
 Post subject:
PostPosted: Tue Nov 01, 2011 7:49 am 
Offline
Junior Member

Joined: Tue Nov 01, 2011 7:29 am
Posts: 30
Many thanks for the reply. df does show most space free.

Sorry to drift the question but the reason I ask is I'm wanting to test the backups and snapshots.

If I wanted to restore a snapshot, which I have taken yesterday, it says I have no space, so I have to remove the main disk image first ?


Top
   
 Post subject:
PostPosted: Tue Nov 01, 2011 7:50 am 
Offline
Linode Staff

Joined: Fri Feb 18, 2011 10:08 am
Posts: 42
Location: Galloway, NJ
You can remove the image or shrink it down in your Linode Manager > Dashboard > Edit link next to the image. On the next page you'll be able to select a new (smaller) size. After you shrink the image, you should be able to restore without deleting. To find out how much space you need, just click the "Restore to" link by the image you wish to restore from in your Backups tab.


Top
   
 Post subject:
PostPosted: Tue Nov 01, 2011 7:53 am 
Offline
Junior Member

Joined: Tue Nov 01, 2011 7:29 am
Posts: 30
Great, And will any resizing of my live image effect/lose any of my current working setup ?


Top
   
 Post subject:
PostPosted: Tue Nov 01, 2011 7:56 am 
Offline
Linode Staff

Joined: Fri Feb 18, 2011 10:08 am
Posts: 42
Location: Galloway, NJ
Nope, but you do have to shut down your Linode prior to shrinking your image


Top
   
 Post subject:
PostPosted: Tue Nov 01, 2011 7:59 am 
Offline
Junior Member

Joined: Tue Nov 01, 2011 7:29 am
Posts: 30
Thanks for the replies.

So far I'm loving the product and support.


Top
   
 Post subject:
PostPosted: Tue Nov 01, 2011 8:02 am 
Offline
Senior Member

Joined: Sat May 03, 2008 4:01 pm
Posts: 569
Website: http://www.mattnordhoff.com/
You could also create a new node in the same data center and restore the backup to that. (Since everything is prorated, if you delete one of the nodes right after that, you'll only be out one day's fee.)

_________________
Matt Nordhoff (aka Peng on IRC)


Top
   
 Post subject:
PostPosted: Fri Nov 04, 2011 5:16 pm 
Offline
Junior Member

Joined: Tue Nov 01, 2011 7:29 am
Posts: 30
Sounds good.

So in case of any system problem we could add a new node, restore a backup, then deleted the old node or investigate later.

This sounds too easy.

What about IP address etc, would this be correct for the new node or transferable ?


Top
   
 Post subject:
PostPosted: Fri Nov 04, 2011 5:23 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:18 am
Posts: 681
Yep, pretty much that easy.

By default the new Linode will have its own IP address, but you can swap IP addresses between two Linodes (in the same DC) from within the manager once you are ready to bring the new node online.

You can also set up a high availability setup where an IP can be shared (though obviously only used by one node at a time), but in the case of a new node for restoration, swapping is probably a better fit.

Of course, space permitting you can also transfer any repaired images back to the original node (even if you first blow away its own images for space) to return to operation on the original node, if you happen to like the host, or whatever. I suppose one small benefit of that would be maintaining the persistence of older backups which would have to restart if you cut over completely to the new node.

-- David


Top
   
 Post subject: Many thanks
PostPosted: Fri Nov 04, 2011 5:27 pm 
Offline
Junior Member

Joined: Tue Nov 01, 2011 7:29 am
Posts: 30
Many thanks


Top
   
 Post subject:
PostPosted: Fri Nov 04, 2011 6:25 pm 
Offline
Junior Member

Joined: Tue Nov 01, 2011 7:29 am
Posts: 30
Sorry one more question...

The restore to a new Node seems to work well.

If I have space on my current node can I restore to the same node then if I get a problem or break something during my tests I can quickly switch to the restored 'Configuration Profile - Restore 7998 - My LAMP Stack Profile' and reboot, and am back to the same setup when it was backed up ?

Or just create the new 'Restored Configuration Profile' when I need it so the image doesn't get too old.


Top
   
 Post subject:
PostPosted: Fri Nov 04, 2011 6:39 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:18 am
Posts: 681
markunit wrote:
If I have space on my current node can I restore to the same node then if I get a problem or break something during my tests I can quickly switch to the restored 'Configuration Profile - Restore 7998 - My LAMP Stack Profile' and reboot, and am back to the same setup when it was backed up ?

Yes. You may also wish to make use of the snapshot feature if you are planning your test changes, so that you can get a backup immediately prior to the point you begin making changes rather than the most recently nightly backup.

(If you can afford any down time, temporarily shutting down and cloning your disk images is probably a faster way to do this too)

Quote:
Or just create the new 'Restored Configuration Profile' when I need it so the image doesn't get too old.

Your call, but you've identified the key difference which is state of the system you'll restore to with a dated backup.

Personally I wouldn't think a backup even mildly old would be much good for more than an emergency (and perhaps read-only setup while you tried to get more recent stuff restored), but that's heavily dependent on your environment, how often it changes, how you may back up more frequently changing elements, etc...

For example, one of my nodes that is largely a static site could easily get by in a pinch with pretty old backups as the basic recovery mechanism, but that's also because I can quickly update the more frequently changing elements out of a central revision control repository.

-- David


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


Who is online

Users browsing this forum: No registered users and 2 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:  
cron
RSS

Powered by phpBB® Forum Software © phpBB Group