I'm working on a file system where I don't have root permissions and all of the above have failed to allow me to delete a file with the same errors:
$ >file1
$ -bash: file1: Disk quota exceeded
$ dd count=1 if=/dev/random of=file1
$ dd: opening `file1': Disk quota exceeded
$ rm file1
$ rm: cannot remove 'file1': Disk quota exceeded
$ cat /dev/null > file1
$ -bash: file1: Disk quota exceeded
Also tried this on a buch of files:
$ mv file1 f
$ mv: cannot move `file1` to `f`: Disk quota exceeded
edit have now also tried:
$ cp /dev/null file1
$ cp: cannot create regular file 'file1': Disk quota exceeded
to no avail (same error msg received)
there are a lot of other files I that just give me a permission denied error but I think for some of those it's because I don't have root permissions. Anyways, there are plenty of files for which I do have write permissions so I really just need a way to force those files to be erased. Is there any workaround I can use?
Output of df -s for this filesystem:
Filesystem Size Used Avail Use% Mounted on
zfs1.local:/volatile 699G 699G 0 100% /nfs/volatile
mv
) any files? If so, try renaming a bunch of files to single-character names. That might free up enough space in the metadata blocks to let yourm
a file. If you have enough long file names, you should be able to free up a kilobyte or more. Not sure how much you need free to be able to truncate or delete a file, but it should get you somewhere.