LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 03-08-2015, 10:15 AM   #1
pratik.kava1189
LQ Newbie
 
Registered: Mar 2015
Posts: 1

Rep: Reputation: Disabled
/usr partition got fill


Hi Forks,

I have centOS installed on VM & cpanel is installed,
Now i can see that /usr partition got full.

i.e. Output of df -h
root@linux [/]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 18G 661M 16G 4% /
/dev/hda8 59G 4.3G 52G 8% /home
/dev/hda7 996M 431M 514M 46% /tmp
/dev/hda5 7.8G 7.2G 220M 98% /usr <-- FULL
/dev/hda3 7.8G 1.5G 5.9G 21% /var
/dev/hda1 190M 21M 160M 12% /boot
tmpfs 1005M 0 1005M 0% /dev/shm

But if i check under /usr it's shows only 4.9G,

root@linux [/]# du -sch /usr/
4.8G /usr/
4.8G total

wheres other size utilized?, Please let me know if any other detail is require.

Thanks
 
Old 03-09-2015, 11:58 AM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
du doesn't include metadata used to store pointers to data blocks. And depending on the filesystem type, that can be larger/smaller (ext4 is relatively small unless it is converted from ext2/3, btrfs even smaller).

There is also the possibility that the space is being constrained by the space reserved for root (5). This amount can be reduced, as no user can write to /usr (unless it happens to include /usr/tmp which is usually a symbolic link to /tmp). For /usr, this reserve can be set to 0.

For most systems / and /usr are the same filesystem, and are 10G to 20G depending on the intended usage. The more packages installed (such as for a workstation) the more space needed. In the combined / and /usr, usually /tmp is mounted as a tmpfs filesystem (which resides in memory and gets flushed on every boot).

Last edited by jpollard; 03-09-2015 at 11:59 AM.
 
  


Reply



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
expanding a partition to fill a drive [debian] AnalBeard Linux - Software 2 08-20-2010 02:34 PM
installed 13.1, /usr mounted on own partition.error message "/usr/<> file not found" jmd9qs Slackware 25 06-20-2010 01:16 AM
openSUSE 11.2 kernel upgrade causes bootchart to fill root partition aztrix SUSE / openSUSE 0 11-22-2009 09:47 AM
Resize fat32 filesystem to fill partition using parted jjhunt Linux - Hardware 4 02-14-2008 08:51 AM
how to fill-in : /usr/src shankariyer Linux - Software 2 03-05-2003 01:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:20 PM.

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
Open Source Consulting | Domain Registration