(I am using a UFS file system on a Solaris server. I have root privileges on the machine, but not on the machine that contains the disc in question.)
I am receiving a "Disc quota exceeded" error when I try to do anything (write to a file, delete a file, etc.). The system has been poorly managed, and a lot of old backup files are just hanging out; I can clean them up, but I am having trouble even creating some breathing room.
Both my disc space and inode count are full:
#> df -hk Filesystem 1K-blocks Used Available Use% Mounted on server.com:/storage 52231997 52231997 0 100% /opt/files #> df -i Filesystem INodes IUsed IFree IUse% Mounted on server.com:/storage 169224 169224 0 100% /opt/files
All of the solutions I have found involve writing
"" to a file to zero out its size, then deleting the file. However, neither of these solutions works:
#> ls -l September22014.tgz -rw-r--r-- 1 userA groupA 283443184 Sep 2 2014 September22014.tgz #> cp /dev/null September22014.tgz cp: cannot create regular file `September22014.tgz': Disc quota exceeded #> echo "" > September22014.tgz bash: September22014.tgz: Disc quota exceeded #> > September22014.tgz bash: September22014.tgz: Disc quota exceeded