Having ZFS and SAMBA on the home machine is great. It was simple to set up a share and offer it out to my house mates for them to backup their dissertation work on. With ZFS compressing the files, some of my file systems are getting a 1.6x ratio (60% disk space for free compared with a non-compressing file system)
The interesting bit comes with file permissions and Windows file attributes which aren’t quite the same, in fact, not at all. The attributes get mapped onto the unix file permissions in an interesting way, and you’ll need to keep that in mind when ls -l ing around a shared directory.
Meanwhile, there was a directory named “—-FILES—-” on the share. Trying to use
cd "----FILES----"
doesn’t quite work! Despite quoting the directory name, cd still tries to take some of those dashes as a switch. I’m not sure if theres a way around this using the relative path, but there is a different workaround: simply use the absolute path, instead of a relative one to get you there, eg:
cd /mydir/----FILES..../
To make a directory with leading dashes, you’ll need to specify the full pathname, or use something like this to make the process less painful:
mkdir `pwd`/--mydir--
./ works too :-p
lamsey@zebedee:~$ mkdir ./—test—
lamsey@zebedee:~$ cd ./—test—/
lamsey@zebedee:—test—$
Have you not tried the CIFS implementation in Nevada yet then? makes cifs shares quite easy!
zfs set sharesmb=on tank/fs/myshare
Liam, 10 points to you!
James, had a go at LU a little while back, but the new installation bombs out before booting, and haven’t had time for a brand new install. Post 1st May (dissertation hand in) ill be upgrading, looking forward to ZFS CIFS fun!
I have the same issue with lack of time, Post dissertation/exams I’m going to do lots of things, but one of them is go outside for a while! (daylight - I think thats the stuff that reflects of the LCDs on my desk)