[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ZFS sharing over SMB



Hi,

I was wondering if anyone else had encountered the same problem that I
have when sharing ZFS pools over Samba:

I have a ZFS pool with several sub-pools on it, all of which, at the
moment have the same properties, which I include below.

NAME    PROPERTY              VALUE                  SOURCE
shares  type                  filesystem             -
shares  creation              Sat Oct 22 23:44 2011  -
shares  used                  518G                   -
shares  available             1.50T                  -
shares  referenced            50.9K                  -
shares  compressratio         1.00x                  -
shares  mounted               yes                    -
shares  quota                 none                   default
shares  reservation           none                   default
shares  recordsize            128K                   default
shares  mountpoint            /shares                default
shares  sharenfs              off                    default
shares  checksum              on                     default
shares  compression           off                    default
shares  atime                 on                     default
shares  devices               on                     default
shares  exec                  on                     default
shares  setuid                on                     default
shares  readonly              off                    default
shares  jailed                off                    default
shares  snapdir               visible                local
shares  aclmode               groupmask              default
shares  aclinherit            restricted             default
shares  canmount              on                     default
shares  shareiscsi            off                    default
shares  xattr                 off                    temporary
shares  copies                1                      default
shares  version               3                      -
shares  utf8only              off                    -
shares  normalization         none                   -
shares  casesensitivity       sensitive              -
shares  vscan                 off                    default
shares  nbmand                off                    default
shares  sharesmb              off                    default
shares  refquota              none                   default
shares  refreservation        none                   default
shares  primarycache          all                    default
shares  secondarycache        all                    default
shares  usedbysnapshots       0                      -
shares  usedbydataset         50.9K                  -
shares  usedbychildren        518G                   -
shares  usedbyrefreservation  0                      -

I have a script running as a cronjob which does rotating snapshots. On
all of the sub pools, there are daily and weekly snapshots, but on two
of the pools, there are hourly snapshots as well.

When sharing the snapshots over SMB to a windows 7 desktop, there are
certain subfolders in the sub-pools that are heavily snapshotted that
show multiple folders - I haven't tried to count them all, but it seems
that each folder is duplicated about as many times as there are
snapshots. I have no problem accessing these folders, and weirdly this
does not affect the entire sub-pool, just random folders within it.

I'm running Debian kFreebsd 6.0.3, with ZFS verison 8. It is running on
an AMD Fusion board, although I'm not convinced that should make a
difference.

It may be that this is a windows problem, I only ask as I am looking to
deploy this set up, and want to iron out the kinks. Cheers if you can
help, no worries if not.

Thanks
Jon Marshall


Reply to: