Você está na página 1de 1
How can I delete files in my home directory. I get: rm: cannot remove file: Disk quota exceeded On ZFS, the filesystem that carries our homedirs, you may find yourself unable to delete files with full disk quota: bfguser@bwui:-> ep testfilel testfile2 ot le “testfile2" © regular Disk quota exceeded Unfortunately you can not remove a file using the 'rm’ command. E.g. bfguser@bwui:-> rm testfilel nnot remove file ‘testfilet tm Disk quota exceeded Workaround: The trick is to copy /devinull to the file you want to delete’ > 1s -lak fllel fguser bfggroup 16M 2009-03 bfguser@bwui:~> cp /dev/null testfile! bfguser@bwuit~> 1s -lah testfilel 1 bfguser bfggroup 0 2009-03- bfguser@bwu: bfguser@gwui: fbin/is: test: : No such file or directory Explanation: ZFS is a copy-on-write filesystem, so a file deletion transiently takes slightly more space on disk before a file is actually deleted. It has to write the metadata involved with the file deletion before it removes the allocation for the file being deleted. This is how ZFS is able to always be consistent on disk, even in the event of a crash

Você também pode gostar