LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training 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 09-10-2013, 02:18 PM   #1
iceman81
Member
 
Registered: Jan 2013
Location: New Jersey
Distribution: CentOS, Arch
Posts: 162

Rep: Reputation: Disabled
/home disk quota


I can't seem to find how to check this. i keep getting a warning that my /home has 0bytes left and to clear up some files. i open "disk usage analyzer" and i see basically

name usage size

home 100% 84.9GB
user 100% 84.9GB
.tbird 1.7% 1.5GB
.local 0.2


nothing below thunderbird is higher than 0.2...is there a quota command that i have to set it to higher number? im using maybe 2gb. which the only thing that makes sense is if my default quota is 2gb


edit:

repquota /home
repquota: Mountpoint (or device) /home not found or has no quota enabled.
repquota: Not all specified mountpoints are using quota.

Last edited by iceman81; 09-10-2013 at 02:22 PM.
 
Old 09-10-2013, 02:35 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,454

Rep: Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052
What is the output of:

Code:
du -shx /home/*
and
Code:
df -h
 
Old 09-10-2013, 04:37 PM   #3
iceman81
Member
 
Registered: Jan 2013
Location: New Jersey
Distribution: CentOS, Arch
Posts: 162

Original Poster
Rep: Reputation: Disabled
du -shx /home/*
85G /home/iceman
du: cannot read directory `/home/lost+found': Permission denied
16K /home/lost+found


Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_livedvd-lv_root
50G 9.2G 40G 19% /
tmpfs 3.9G 356K 3.9G 1% /dev/shm
/dev/sdb1 485M 66M 394M 15% /boot
/dev/mapper/vg_livedvd-lv_home
90G 86G 0 100% /hom
 
Old 09-10-2013, 05:45 PM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,454

Rep: Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052
Definitely no quota in effect, that drive is full.

How about
Code:
du -shx /home/iceman/{.*,*} | grep G
 
Old 09-10-2013, 05:49 PM   #5
iceman81
Member
 
Registered: Jan 2013
Location: New Jersey
Distribution: CentOS, Arch
Posts: 162

Original Poster
Rep: Reputation: Disabled
Found this command, and found out .xsession-errors is 85GB!!!! what the hell, i don't think deleting it will solve the problem for long.

[iceman@physical ~]$ find /home -type f -size +10000 -exec ls -lh {} \; | awk '{print $5 ": " $NF}'
85G: /home/iceman/.xsession-errors
15M: Files/Content.IE5/498I191T/wine_gecko-1.4-x86_64[0]
6.0M: Data/Battle.net/Agent/Agent.2045/Agent.exe
5.6M: Data/Battle.net/Agent/Agent.954/Agent.exe
15M: /home/iceman/.wine/drive_c/windows/Installer/577e.msi
25M: /home/iceman/.wine/drive_c/windows/system32/gecko/1.4/wine_gecko/xul.dll
find: `/home/lost+found': Permission denied
[iceman@physical ~]$
 
Old 09-10-2013, 05:52 PM   #6
iceman81
Member
 
Registered: Jan 2013
Location: New Jersey
Distribution: CentOS, Arch
Posts: 162

Original Poster
Rep: Reputation: Disabled
I really doesn't have any info that i care too much about, how can i stop this from happening??

[iceman@physical ~]$ head -30 /home/iceman/.xsession-errors
GNOME_KEYRING_SOCKET=/tmp/keyring-RoHafj/socket
SSH_AUTH_SOCK=/tmp/keyring-RoHafj/socket.ssh
Failed to play sound: File or data not found
** Message: applet now removed from the notification area

HP Linux Imaging and Printing System (ver. 3.13.8)
System Tray Status Service ver. 2.0

Copyright (c) 2001-13 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

warning: Qt/PyQt 4 initialization failed.
error: hp-systray requires Qt4 GUI and DBus support. Exiting.

(polkit-gnome-authentication-agent-1:3209): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'

(polkit-gnome-authentication-agent-1:3209): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
10/09/2013 06:35:35 AM Autoprobing TCP port in (all) network interface
10/09/2013 06:35:35 AM Listening IPv{4,6}://*:5900
10/09/2013 06:35:35 AM Autoprobing selected port 5900
10/09/2013 06:35:35 AM Advertising authentication type: 'VNC Authentication' (2)
10/09/2013 06:35:35 AM Advertising security type: 'VNC Authentication' (2)
(null): Warning no default label for /home/iceman/.gvfs
httpd: apr_sockaddr_info_get() failed for physical.example.com
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Initializing nautilus-gdu extension
Initializing nautilus-open-terminal extension
** Message: applet now embedded in the notification area
[iceman@physical ~]$
 
Old 09-10-2013, 05:53 PM   #7
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,454

Rep: Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052
The head output just looks like normal setup. What about a tail?
 
Old 09-10-2013, 06:01 PM   #8
iceman81
Member
 
Registered: Jan 2013
Location: New Jersey
Distribution: CentOS, Arch
Posts: 162

Original Poster
Rep: Reputation: Disabled
damn i deleted it already. but my disk still says its at 100%
 
Old 09-10-2013, 08:54 PM   #9
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,454

Rep: Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052
The file was still open when you deleted it, which means you only deleted the reference to the file, not the actual file. The space won't be freed until you stop the process that still has the file open, easiest way is to just reboot.
 
2 members found this post helpful.
Old 09-10-2013, 10:23 PM   #10
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos slackware64 tails kali
Posts: 3,372
Blog Entries: 33

Rep: Reputation: 217Reputation: 217Reputation: 217
what suicidaleggroll said, and Empty the rubbish bin/trash.
 
  


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
home directory quota edwardcode Linux - General 3 04-03-2013 10:54 PM
Suse - quota users home folder siskyline Linux - Newbie 6 08-17-2009 09:55 AM
quota implementation in home directory? sunram Solaris / OpenSolaris 1 10-16-2008 05:05 AM
How to assign disk quota(disk space limited) to user and group. hocheetiong Linux - Newbie 1 08-24-2007 04:20 AM
how to set quota at /home davidhk Linux - General 2 06-04-2005 10:10 PM


All times are GMT -5. The time now is 02:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration