Linode Forum Index Linode Forum
Linode Community Forums
 


the birthday extra space thing

Click here to go to the original topic

 
       Linode Forum Index -> Sales Questions and Answers
Author Message
revesone



Joined: 22 Jun 2011
Posts: 6

Posted: Wed Jun 22, 2011 7:16 am    Post subject: the birthday extra space thing  

im just asking because i have a live site right now and don't want to interrupt service...

the extra 25% disk space Linode has offered as it's 8th bday gift.(thank you!) is showing on my control panel as available.

they mention in a very non-nonchalant manner to simply resize the disk to take advantage of the new space. which is awesome.

my question is.. will this take my site offline? will this erase my files or re-partition my drive? is there any risk in doing this?

thank you!
Back to top  
Marius



Joined: 29 Mar 2008
Posts: 17

Posted: Wed Jun 22, 2011 7:24 am    Post subject:  

Hi,

You don't need to reformat or anything, but you will need ot shut down your linode while re-sizing the disks, be it up or down in size.

Your data won't be affected by this though.
Back to top  
chesty



Joined: 19 Feb 2008
Posts: 52

Posted: Wed Jun 22, 2011 7:29 am    Post subject:  

You have to shutdown, then resize. while the resize is in progress you can click boot, and it will queue the job and start the boot as soon as the resize finishes. All going well, you'll be back up in a few minutes and all your data will be in tact.

There is a risk of data loss, though, so check your backups are working, and backup just before the resize to play it safe.
Back to top  
revesone



Joined: 22 Jun 2011
Posts: 6

Posted: Wed Jun 22, 2011 7:57 am    Post subject:  

perfect answers.

thank you both.

and thanks again Linode.
Back to top  
drpks



Joined: 20 Dec 2010
Posts: 55

Posted: Wed Jun 22, 2011 5:19 pm    Post subject:  

FYI, it took 43s to resize my Linode 512 without any problem :)
Back to top  
bbergman



Joined: 06 Jun 2011
Posts: 34

Posted: Thu Jun 23, 2011 12:10 am    Post subject:  

drpks wrote: FYI, it took 43s to resize my Linode 512 without any problem :)

My 1024 took 2m 48s from shutdown to startup, including the resize.

Linode was very generous in giving us all that extra disk space. Thanks guys!!

Bruce
Back to top  
ruchirablog



Joined: 25 Sep 2010
Posts: 55
Location: Sri Lanka

Posted: Thu Jun 23, 2011 3:10 am    Post subject:  

well im not going to giveaway my 240 day uptime for extra disk! :P
Back to top  
OverlordQ



Joined: 04 Jun 2004
Posts: 312

Posted: Thu Jun 23, 2011 10:08 am    Post subject:  

ruchirablog wrote: well im not going to giveaway my 240 day uptime for extra disk! :P

Yay for useless metrics.
Back to top  
revesone



Joined: 22 Jun 2011
Posts: 6

Posted: Fri Jun 24, 2011 12:27 am    Post subject:  

well i went ahead and shut down. took 12 seconds.
resized the disk from 32gb to 40gb. then queued up a 'boot' job.

14 minutes later and it's still resizing!

does the amount of files on the disk beforehand affect the time this process takes?

i am hosting upward of 100,000 files..

or has the process hung or something?

getting a bit worried now. site is offline and im concerned for the files..
Back to top  
revesone



Joined: 22 Jun 2011
Posts: 6

Posted: Fri Jun 24, 2011 12:28 am    Post subject:  

16 mins.. and the process is stuck at 25% with 'boot' in 'waiting' status...
Back to top  
revesone



Joined: 22 Jun 2011
Posts: 6

Posted: Fri Jun 24, 2011 12:33 am    Post subject:  

phew!

back up.
total time of exactly 20 mins.

just in time too..

from this
/dev/xvda 32114736 30207384 586148 99% /

to this
/dev/xvda 40270848 30202088 8826200 78% /


once again. thanks Linode!
Back to top  
obs



Joined: 07 Mar 2010
Posts: 1403
Location: Earth

Posted: Fri Jun 24, 2011 8:56 am    Post subject:  

Fyi yes the number of files does matter (or if memory serves the number of inodes)
Back to top  
Guspaz



Joined: 26 May 2009
Posts: 1150
Location: Montreal, QC

Posted: Mon Jun 27, 2011 1:19 pm    Post subject:  

It's generally a very bad thing to fill a filesystem that much, for performance reasons.
Back to top  
caker



Joined: 15 Apr 2003
Posts: 2907
Location: Galloway, NJ

Posted: Mon Jun 27, 2011 1:23 pm    Post subject:  

confucius say: man who run in front of car get tired.
Back to top  
AceStar



Joined: 28 Apr 2010
Posts: 38

Posted: Mon Jul 04, 2011 2:00 am    Post subject:  

IIRC linux filesystems tend to allocate "reserved" blocks, typically 5% of disk space is reserved and cannot be allocated except by certain privileged processes.

So if you check disk space and find only 1% remaining, it may actually be more like 6%, is that right??

Lemme know if I'm way wrong on this. If so, it'd mean that there really shouldn't be all that much performance hit if you reach 99% full, shouldn't there?
Back to top  
 
       Linode Forum Index -> Sales Questions and Answers
Page 1 of 1