The solution was pretty easy. Autosnapshot is just a bunch of cron jobs, /lib/svc/method/zfs-auto-snapshot
When I edit that file, there’s a variable, SEP=":" and the comment says it’s explicitly editable due to “:” being invalid CIFS character. From: [email protected] [mailto:[email protected]] On Behalf Of Edward Ned Harvey Sent: Monday, May 18, 2009 11:04 PM To: 'Zhu, Lejun'; [email protected] Subject: Re: [osol-discuss] Some trouble with Samba & Snapshots Yup, you’re right. Colon is not a valid character for CIFS. So now I know the cause. I only have to figure out the solution. :-) Thank you. From: Zhu, Lejun [mailto:[email protected]] Sent: Monday, May 18, 2009 10:40 PM To: Edward Ned Harvey; [email protected] Subject: RE: [osol-discuss] Some trouble with Samba & Snapshots It's probably the ":" in the path, the same when you "mkdir test\:1" in a folder shared by Samba and browse it. I guess it's because Windows can't recognize this char. _____ From: [email protected] [mailto:[email protected]] On Behalf Of Edward Ned Harvey Sent: 2009年5月19日 10:33 To: [email protected] Subject: [osol-discuss] Some trouble with Samba & Snapshots Anyone seen anything like this? I create a snapshot. I look at it via “ls” [r...@filer ~]# ls /share/.zfs/snapshot/ zfs-auto-snap:frequent-2009-05-18-22:17:48 But when I browse there via Samba/CIFS, \\filer\share\.zfs\snapshot <file:///\\filer\share\.zfs\snapshot> I only see: Z0QQ4P~U I would certainly like to see the same name I had via ls … “zfs-auto-snap: frequent-2009-05-18-22:17:48” This is a meaningful and useful name. I’m running Solaris 10u6 (aka Solaris 10/08)
_______________________________________________ opensolaris-discuss mailing list [email protected]
