\
Go Back   RightScale Forums > Linux/Unix

Reply
 
Thread Tools Display Modes
  #1  
Old 03-15-2012, 06:48 PM
mprinvale mprinvale is offline
Junior Member
Fog
 
Join Date: Dec 2011
Posts: 4
Default Increase root partition to prevent alert in array

We have an alert "rs low space in root partition" and it keeps getting triggered during load tests.

Code:
# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             9.9G  9.4G     0 100% /
/dev/sdb              414G  199M  393G   1% /mnt
none                  3.8G     0  3.8G   0% /dev/shm
We have plenty of space but I'm not sure how to allocate more space to the sda1 during boot up. Any help would be great.

Thanks
Reply With Quote
  #2  
Old 03-16-2012, 04:22 PM
Ryan - RightScale Ryan - RightScale is offline
RightScale Representative
Cumulonimbus
 
Join Date: Mar 2009
Posts: 197
Send a message via Skype™ to Ryan - RightScale
Default

/dev/sda is the root volume of the instance and it is limited to 10GB only for S3 backed instances. The only way to expand the volume would be to create a new base image with a root volume that is EBS backed.
Reply With Quote
  #3  
Old 03-18-2012, 08:23 PM
Chris Fordham - RightScale
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by mprinvale View Post
We have an alert "rs low space in root partition" and it keeps getting triggered during load tests.

Code:
# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             9.9G  9.4G     0 100% /
/dev/sdb              414G  199M  393G   1% /mnt
none                  3.8G     0  3.8G   0% /dev/shm
We have plenty of space but I'm not sure how to allocate more space to the sda1 during boot up. Any help would be great.

Thanks
When issuing he df -m or just df commands, you will see the ~500GB available in the root filesystem as the -h will round the value down to 0GB.
A number of ServerTemplates are published with an alert for low disk space to be 1GB or less - this is fine for some servers but may indicate a gradual fill for others.
The simple solution if 500GB is nothing to worry about, is to modify the alert on your template and server to be less sensitive, e.g. 100MB.

Generally, it is not recommended using a larger image/root filesystem unless the extra data is not media i.e. non-ephemeral data should be stored and backed up on EBS volumes/snapshots or a remote file store such as S3.
It is rare that system files e.g. extra software installed will fill a 10GB image.
Reply With Quote
  #4  
Old 03-22-2012, 02:15 PM
mprinvale mprinvale is offline
Junior Member
Fog
 
Join Date: Dec 2011
Posts: 4
Default

Thanks for the replies and help!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:44 PM.