Separate filesystems for CIFS?

Hi all,

I just wonder:

Do I need to have one filesystem like pool/backups, pool/archives, pool/home and so on, for each share I would like to use? Or can I do that a in a different way?

I am currently reading along to find out about LDAP authentication and so on, but if I need separate filesystems, well, 'twould be easier if I knew

Thanks in advance.

PS: I would not complain, if somebody had information about "How do I migrate a Linux samba-server with OpenLDAP/smbpasswd Authentication to an OpenSolaris CIFS server" either :wink:

you can (and mostly do) share directories... so there is no need for a seperate filesystem for cifs shares. they can be filesystems but as you always share the directory, there is no need for that.

Hm, but how?

With "zfs set sharesmb=on pool/directory" it won't work. So....?

The sharesmb property definitively apply to filesystems, not directories. It might be possible to use the traditional way (sharemgr command - /etc/dfs/dfstab) to share plain directories instead of filesystems but I never tried it. On the other hand, ZFS filesystems are almost as lightwheight as regular directories though so enabling the property and having it inherited by underlying datasets might be what you are looking for.

using samba with oldschool smb.conf?

from a opensolaris mailing list:

I thought so. (about the directory sharing) Sorry for the wrong words, of course I meant to share those subfilesystem thingies :slight_smile:

Duke, I don't understand what you wrote. Yes, I am using (on the old machine) a vanilla linux-samba with smb.conf.

The new one should be a kernel CIFS with an LDAP authentication. But I am a bit stuck finding documentation. Odd, as this should be a primary goal of the cifs-server!