Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Jun 22, 2011 8:16 am 
Offline
Senior Newbie

Joined: Wed Jun 22, 2011 8:11 am
Posts: 6
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!


Top
   
 Post subject:
PostPosted: Wed Jun 22, 2011 8:24 am 
Offline
Senior Newbie

Joined: Sat Mar 29, 2008 10:52 pm
Posts: 18
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.


Top
   
 Post subject:
PostPosted: Wed Jun 22, 2011 8:29 am 
Offline
Senior Member

Joined: Tue Feb 19, 2008 10:55 am
Posts: 164
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.


Top
   
 Post subject:
PostPosted: Wed Jun 22, 2011 8:57 am 
Offline
Senior Newbie

Joined: Wed Jun 22, 2011 8:11 am
Posts: 6
perfect answers.

thank you both.

and thanks again Linode.


Top
   
 Post subject:
PostPosted: Wed Jun 22, 2011 6:19 pm 
Offline
Senior Member

Joined: Mon Dec 20, 2010 11:37 pm
Posts: 76
FYI, it took 43s to resize my Linode 512 without any problem :)


Top
   
 Post subject:
PostPosted: Thu Jun 23, 2011 1:10 am 
Offline
Junior Member

Joined: Mon Jun 06, 2011 1:33 am
Posts: 40
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


Top
   
 Post subject:
PostPosted: Thu Jun 23, 2011 4:10 am 
Offline
Senior Member

Joined: Sat Sep 25, 2010 2:25 am
Posts: 75
Website: http://www.ruchirablog.com
Location: Sri Lanka
well im not going to giveaway my 240 day uptime for extra disk! :P


Top
   
 Post subject:
PostPosted: Thu Jun 23, 2011 11:08 am 
Offline
Senior Member

Joined: Sat Jun 05, 2004 12:49 am
Posts: 333
ruchirablog wrote:
well im not going to giveaway my 240 day uptime for extra disk! :P


Yay for useless metrics.


Top
   
 Post subject:
PostPosted: Fri Jun 24, 2011 1:27 am 
Offline
Senior Newbie

Joined: Wed Jun 22, 2011 8:11 am
Posts: 6
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..


Top
   
 Post subject:
PostPosted: Fri Jun 24, 2011 1:28 am 
Offline
Senior Newbie

Joined: Wed Jun 22, 2011 8:11 am
Posts: 6
16 mins.. and the process is stuck at 25% with 'boot' in 'waiting' status...


Top
   
 Post subject:
PostPosted: Fri Jun 24, 2011 1:33 am 
Offline
Senior Newbie

Joined: Wed Jun 22, 2011 8:11 am
Posts: 6
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!


Top
   
 Post subject:
PostPosted: Fri Jun 24, 2011 9:56 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Fyi yes the number of files does matter (or if memory serves the number of inodes)

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Mon Jun 27, 2011 2:19 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
It's generally a very bad thing to fill a filesystem that much, for performance reasons.


Top
   
 Post subject:
PostPosted: Mon Jun 27, 2011 2:23 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
confucius say: man who run in front of car get tired.


Top
   
 Post subject:
PostPosted: Mon Jul 04, 2011 3:00 am 
Offline
Junior Member

Joined: Wed Apr 28, 2010 10:33 pm
Posts: 41
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?


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


Who is online

Users browsing this forum: No registered users and 1 guest


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