Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How To Delete Files on a ZFS Filesystem that is 100% Full

3164584Jul 17 2017 — edited Jul 17 2017

Hi,

I have a system that has 100% zfs space used up.

I have referred to the document How To Delete Files on a ZFS Filesystem that is 100% Full (Doc ID 1537335.1)

and tried the following methods,

1. Delete files

# cp /dev/null /FILE/TO/DELETE

# cat /dev/null > /FILE/TO/DELETE

# rm /FILE/TO/DELETE

Result: rm testfile.txt not removed: No space left on device.

Can't remove /that/big/file. No space left on the device.

2. zfs destroy rpool/dump

Result: Volume is busy

3. Temporarily decrease refreservation of a ZVol

Result: I am currently looking at this option, but is there any risk or reboot involved?

I would like to seek some advice on the methods performed thus far.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 14 2017
Added on Jul 17 2017
4 comments
2,979 views