Hi all,

I've got an interesting (I think) thing happening with my storage pool
(tank, 8x1.5TB RAID-Z2)...namely that I seem to gain free-space
without deleting files. I noticed this happening awhile ago, so I set
up a cron script that ran every night and does:

pfexec ls -alR /tank > /export/home/movax/fslog/`date +%F`.contents
pfexec /usr/sbin/zfs list > /export/home/movax/fslog/`date +%F`.zfs

so I could see if files are disappearing. Well, between 10/14 and
10/15, I went from:
tank                         8.02T  1.64G  44.1M  /tank

to:
tank                         8.01T  14.1G  44.1M  /tank

The only file changes that showed up in a diff are two file
modification date display changes (Apr 17 23:13 to Apr 17  2010,
whatever no big deal), both to Thumbs.db. So, there doesn't *seem* to
be any data loss (this is my personal fileserver, all other users have
read-only access)...and I don't recall a ZFS garbage-collect or
similar mechanism.

Here are the options set on tank:
NAME  PROPERTY               VALUE                  SOURCE
tank  type                   filesystem             -
tank  creation               Tue Feb 24  4:20 2009  -
tank  used                   8.01T                  -
tank  available              14.1G                  -
tank  referenced             44.1M                  -
tank  compressratio          1.00x                  -
tank  mounted                yes                    -
tank  quota                  none                   default
tank  reservation            none                   default
tank  recordsize             128K                   default
tank  mountpoint             /tank                  default
tank  sharenfs               off                    default
tank  checksum               on                     default
tank  compression            off                    default
tank  atime                  on                     default
tank  devices                on                     default
tank  exec                   on                     default
tank  setuid                 on                     default
tank  readonly               off                    default
tank  zoned                  off                    default
tank  snapdir                hidden                 local
tank  aclmode                groupmask              default
tank  aclinherit             restricted             local
tank  canmount               on                     default
tank  shareiscsi             off                    default
tank  xattr                  on                     default
tank  copies                 1                      default
tank  version                4                      -
tank  utf8only               off                    -
tank  normalization          none                   -
tank  casesensitivity        sensitive              -
tank  vscan                  off                    default
tank  nbmand                 off                    default
tank  sharesmb               off                    local
tank  refquota               none                   default
tank  refreservation         none                   default
tank  primarycache           all                    default
tank  secondarycache         all                    default
tank  usedbysnapshots        87.5K                  -
tank  usedbydataset          44.1M                  -
tank  usedbychildren         8.01T                  -
tank  usedbyrefreservation   0                      -
tank  logbias                latency                default
tank  dedup                  off                    local
tank  mlslabel               none                   default
tank  com.sun:auto-snapshot  true                   local

I don't utilize snapshots (this machine just stores media)...so what
could be up?

-- 
--khd
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to