Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Feb 21, 2011 3:25 am 
Offline
Junior Member

Joined: Sat Jun 20, 2009 5:17 am
Posts: 25
Hi All,

I've done a quick search and could find an answer to my problem:
I'm running out of disk space, fast. It is the OS's partition running out. I would like to take 1Gb from another partition on that disk and adding it to my OS's partition. On Windows one gets Partition Magic that can do this "on the fly" - thus no re-formating ect.

Is there any command line program that I can use on my centos installation on linode?

Best regards,
TX


Top
   
 Post subject:
PostPosted: Mon Feb 21, 2011 7:42 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
The safest way to do this is to shutdown your linode, then edit the disks via the linode manager. You won't have to reformat.

_________________
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 Feb 21, 2011 9:20 am 
Offline
Junior Member

Joined: Sat Jun 20, 2009 5:17 am
Posts: 25
I didn't know it was safe to do it through the Dashboard. So it will only change the size of the partitions and I will not lose any data?


Top
   
 Post subject:
PostPosted: Mon Feb 21, 2011 9:43 am 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
TungstenX wrote:
So it will only change the size of the partitions and I will not lose any data?

True as long as you have an ext2/3 filesystem on the disk image. If you try to shrink the image too much (smaller than the underlying filesystem), the resize will fail gracefully.

If you created raw disk images and used OS tools inside your Linode to create something non-standard, control panel resizing won't work as expected and may well eat your filesystem/partition(s).

Make a backup.

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Mon Feb 21, 2011 10:11 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
pclissold wrote:
If you created raw disk images and used OS tools inside your Linode to create something non-standard, control panel resizing won't work as expected and may well eat your filesystem/partition(s).


Even in that case, the mandatory pre-resize fsck will immediately bomb out with apocalyptic errors when it can't find anything resembling an ext3 filesystem and the resize will fail gracefully. Probably. Most of the time.

Quote:
Make a backup.


Always.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Tue Feb 22, 2011 10:28 am 
Offline
Junior Member

Joined: Sat Jun 20, 2009 5:17 am
Posts: 25
Whoot whoot! It worked. The back-uping took the whole day :( but the changing of the partition sizes took less than 5 min.


Thank you to all that helped me!


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