LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-14-2012, 03:28 AM   #1
Reignfire
Member
 
Registered: Jun 2012
Posts: 56

Rep: Reputation: Disabled
resize /var


Hi,

Is there an easy way to fix the following:

Code:
root@system:/etc# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             323M  146M  161M  48% /
tmpfs                 127G     0  127G   0% /lib/init/rw
udev                  127G  148K  127G   1% /dev
/dev/sda9             231G  3.5G  216G   2% /home
/dev/sda8             368M   11M  339M   3% /tmp
/dev/sda5             8.3G  525M  7.4G   7% /usr
/dev/sda6             2.8G  220M  2.4G   9% /var
I need my /var to be much bigger, can i resize this in an easy way?
 
Old 08-14-2012, 03:48 AM   #2
Sandeep Kumar
LQ Newbie
 
Registered: Aug 2012
Location: RCF, Kapurthala
Distribution: Fedora
Posts: 3

Rep: Reputation: Disabled
Use Gparted

here
 
Old 08-14-2012, 03:56 AM   #3
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
Make sure you have a backup!

For making this to work your partitions that are layed out after /var have to be moved.
This will take a while!

Strange that you didn't use LVM.
That would really ease things and you would be able to do this without downtime.
 
Old 08-14-2012, 05:55 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
You only have 10% in use so no need to increase

Maybe a good question is why you feel the need to increase the size of /var? On my LAMP server, the size used on the var partition is currently 59MB. But I don't store web pages and mysql databases in there.

Last edited by Wim Sturkenboom; 08-14-2012 at 06:58 AM. Reason: found I used a partition instead of directory, so corrected
 
Old 08-14-2012, 08:17 AM   #5
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,104

Rep: Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267
I suggest you to increase /tmp
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to resize a logical volume mounted as /var (FC9) prabhatsoni Linux - Hardware 10 01-04-2009 04:40 PM
[help] resize partition (/var) dongli Linux - Newbie 4 07-16-2008 04:33 AM
/var full - need to resize RichardAnderson Linux - General 12 11-11-2006 09:49 PM
can anyone please help me with resize /var kafnir Linux - General 1 12-08-2005 10:22 PM
resize /var caladbolg Mandriva 1 09-25-2004 02:38 PM


All times are GMT -5. The time now is 05:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration