Hi all

I'm reposting this since I don't know if the first one made it to the list.

I created a sparse 1TB file box recently using dd from /dev/zero, in
order to get a rough idea of write performance, and when I deleted it
the space was not freed.

This is on a raidz1, 4x1TB SATA drives.

Snapshots are not enabled:
   bunker:~# zfs list -t all
   NAME    USED  AVAIL  REFER  MOUNTPOINT
   tank0  1.99T   707G  1.99T  /mnt/tank0

   bunker:~# zfs list -t snapshot
   no datasets available

And there should be almost exactly 1TB used, not 1.99TB:

   bunker:/mnt/tank0# zfs list
   NAME    USED  AVAIL  REFER  MOUNTPOINT
   tank0  1.99T   707G  1.99T  /mnt/tank0

(I put 1TB of "real" data on it, then created this 1TB file, so I know
this for sure)

I removed the file using a simple rm /mnt/tank0/temp/mytempfile.bin.
It's definitely gone. But the space hasn't been freed.

I have been pointed in the direction of this bug
http://bugs.opensolaris.org/view_bug.do?bug_id=6792701

which appears to be in ZFS version 14, and my FreeNAS distro is at
version 13. Could this be the issue? If so, what is the correct course
of action? Ditch FreeNAS and move to a distro with a more recent ZFS
version? If I do this, is it safe to upgrade my ZFS version knowing
that there is something up with the filesystem?

I would really appreciate some help with this. The FreeNAS forums and
documentation haven't really been much help, and I created this file
on a live filesystem with data on it, so I'm 1TB down and not sure
what I can do.

Thanks in advance.
Tom
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to