Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat May 12, 2012 2:36 pm 
Offline
Senior Member
User avatar

Joined: Thu Nov 24, 2011 12:46 pm
Posts: 138
Location: Mesa AZ
Debian 6 Stable
Linode 1024

When I setup this Linode, I used 1/2 of the 40gb to build the Distro which is Debian. I wasn't sure if I was going to use multiple ones (adding an IP) or what at the time.

Now I am fairly settled and would like to add the 20gb I didn't use to the system I am using now.

I'm assuming I can do this two ways...

1) add the 20gb as another disk
2) add the 20gb by extending the existing disk.

I am leaning towards #2... but am curious what others are doing in this case.

I see Resizing a Disk Image at this link:
http://library.linode.com/disk-images-config-profiles#sph_resizing-a-disk-image

I am assuming that if I resize the disk, when the server is rebooted, the disk will just show the extra space? or do I have to do something else?

_________________
Kevin a.k.a. Dweeber


Last edited by Dweeber on Sat May 12, 2012 10:24 pm, edited 1 time in total.

Top
   
 Post subject: Re: Resize or add disk?
PostPosted: Sat May 12, 2012 3:32 pm 
Offline
Senior Member

Joined: Fri Dec 07, 2007 1:37 am
Posts: 385
Location: NC, USA
Dweeber wrote:
1) add the 20gb as another disk
2) add the 20gb by extending the existing disk.

I am leaning towards #2... but am curious what others are doing in this case.
Keeping your data on a separate disk image from the OS install can make life much easier for OS upgrades, backups, migrations, etc. It is a little more work to set up but IMHO it saves a lot of trouble later.
Quote:
I am assuming that if I resize the disk, when the server is rebooted, the disk will just show the extra space? or do I have to do something else?
If you used one of the supported filesystem types (you'd know if you didn't) then the resize through the control panel should just work without any other steps. Make a backup first though if you have any important data on the partition - nothing in this world works 100%.


Top
   
 Post subject:
PostPosted: Sat May 12, 2012 4:01 pm 
Offline
Senior Member
User avatar

Joined: Thu Nov 24, 2011 12:46 pm
Posts: 138
Location: Mesa AZ
Thanks for the response. This is a pretty standard setup with no changes to the the filesystems format.

Backups are my middle name... learned my lessons years ago...

_________________
Kevin a.k.a. Dweeber


Top
   
 Post subject:
PostPosted: Sat May 12, 2012 10:24 pm 
Offline
Senior Member
User avatar

Joined: Thu Nov 24, 2011 12:46 pm
Posts: 138
Location: Mesa AZ
I decided to just resize the disk instead of adding another disk.

I was successful doing this, but had a hitch when I first tried.

I had run a snapshot backup before the process...

I shutdown the linode, and then edited the disk size to max and issued the command.

It Failed... with the error: lv_resize: Image is currently snapshotted

I found that the snapshot was still being spooled to storage. I tried again about 5 mins later and it was successful.

_________________
Kevin a.k.a. Dweeber


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


Who is online

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