I currently have the following relevant options in /usr/local/etc/smbd.conf:
This works, it populates the Previous Versions tab. Everything works as expected with Windows 8 clients.
However, on two separate Windows 7 SP1 clients, the Name field becomes @GMT-YYYY.MM.dd-HH.mm.ss matching the snapshot name/time, with 'Date Modified' equal to what shows up in the 'last modified' columns when you execute ls -l in the .zfs directory; Which seems to be a rather arbitary date.
If I comment the "shadow: localtime = yes" line, the Windows 7 client will list the proper name (name of the share), but with the incorrect "Date modified" column.
Anyone have any ideas how to make the folder versions display correctly on Windows 7?
Bonus problem:
I use zfSnap to make snapshots. That means it'll append --<expirity> to the snapshot name. I currently use 3w expirity on the 6h snapshots (00:00, 06:00, 12:00, 18:00), and 2m on the weekly snapshots.
Since I've put --3w into the shadow: format definition, it doesn't list the 2m ones.
Is it possible to list all of them?
Edit:
Code:
# Stuff for ZFS Snapshots
unix extensions = no
follow symlinks = yes
wide links = yes
vfs objects = shadow_copy2
shadow: snapdir=.zfs/snapshot
shadow: sort = desc
shadow: localtime = yes
shadow: format = %Y-%m-%d_%H.%M.%S--3w
However, on two separate Windows 7 SP1 clients, the Name field becomes @GMT-YYYY.MM.dd-HH.mm.ss matching the snapshot name/time, with 'Date Modified' equal to what shows up in the 'last modified' columns when you execute ls -l in the .zfs directory; Which seems to be a rather arbitary date.
If I comment the "shadow: localtime = yes" line, the Windows 7 client will list the proper name (name of the share), but with the incorrect "Date modified" column.
Anyone have any ideas how to make the folder versions display correctly on Windows 7?
Bonus problem:
I use zfSnap to make snapshots. That means it'll append --<expirity> to the snapshot name. I currently use 3w expirity on the 6h snapshots (00:00, 06:00, 12:00, 18:00), and 2m on the weekly snapshots.
Since I've put --3w into the shadow: format definition, it doesn't list the 2m ones.
Is it possible to list all of them?
Edit:
$ uname -a
FreeBSD (...) 9.0-RELEASE-p5 FreeBSD 9.0-RELEASE-p5 #1: Sat Dec 29 03:27:31 CET 2012 root@(...):/usr/obj/usr/src/sys/GENERIC amd64
$ smbd --version
Version 3.6.7