LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /home disk quota (https://www.linuxquestions.org/questions/linux-newbie-8/home-disk-quota-4175476640/)

iceman81 09-10-2013 02:18 PM

/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.

suicidaleggroll 09-10-2013 02:35 PM

What is the output of:

Code:

du -shx /home/*
and
Code:

df -h

iceman81 09-10-2013 04:37 PM

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

suicidaleggroll 09-10-2013 05:45 PM

Definitely no quota in effect, that drive is full.

How about
Code:

du -shx /home/iceman/{.*,*} | grep G

iceman81 09-10-2013 05:49 PM

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 ~]$

iceman81 09-10-2013 05:52 PM

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 ~]$

suicidaleggroll 09-10-2013 05:53 PM

The head output just looks like normal setup. What about a tail?

iceman81 09-10-2013 06:01 PM

damn i deleted it already. but my disk still says its at 100%

suicidaleggroll 09-10-2013 08:54 PM

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.

GlennsPref 09-10-2013 10:23 PM

what suicidaleggroll said, and Empty the rubbish bin/trash.


All times are GMT -5. The time now is 08:39 PM.