Ask Your Question

after deleting 100+GB of data on a ZFS fs, df -h still shows 100+GB used

asked 2013-10-02 00:11:39 -0500

gigatexal gravatar image

updated 2013-10-02 02:51:40 -0500

none gravatar image

I'm on a virtualized (esxi 5.1u1) host running fedora 19 (updated as of last night) and ZFS .62 built using the instructions given on the zfsonlinux website for fedora. Everything works great. Great speeds. I had written about 100GB of zeros using this:

dd if=/dev/zeros bs=1M count=102400 of=/media/zeros.out

So when I go to delete it

rm -rf /media/zeros.out

and then go to

df -h

It shows this:

Filesystem                   Size  Used Avail Use% Mounted on
/dev/mapper/fedora_zfs-root   27G  1.9G   24G   8% /
devtmpfs                      24G     0   24G   0% /dev
tmpfs                         24G     0   24G   0% /dev/shm
tmpfs                         24G  644K   24G   1% /run
tmpfs                         24G     0   24G   0% /sys/fs/cgroup
tmpfs                         24G  4.0K   24G   1% /tmp
/dev/sda1                    477M   81M  367M  19% /boot
media                         43T  100G   43T   1% /media

<-- I can't delete stuff??!?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-10-02 00:58:26 -0500

updated 2013-10-02 11:19:20 -0500

Jann5s gravatar image

df doesn't support zfs - or btrfs, really. Use zfs specific commands, like zpool and zfs.

edit flag offensive delete link more

Question Tools


Asked: 2013-10-02 00:11:39 -0500

Seen: 271 times

Last updated: Oct 02 '13