I am having a bit of an issue I have an opensolaris box setup as a fileserver. Running through CIFS to provide shares to some windows machines. Now lets call my zpool /tank1, when i create a zfs filesystem called /test it gets shared as /test and i can see it as "test" on my windows machines... Now when i create a child system inside the test system (lets call this /tank1/test/child) the child system gets shared as well on its own as test_child as seen on the windows system. I want to be able to create nested filesystems, and not have the nested systems shared through cifs.... i want to access them through the root system, and only have the root systems shared to the windows machines... I have been trolling through the manuals, and forums, but cant seem to find the ansear. I''m sure im missing something simple, can someone shed some light onto this issue? -- This message posted from opensolaris.org
It doesn''t work with CIFS. There is an open RFE on that for quite some time now. Peter On 22.02.2010, at 08:09, "Tau" <connor.brokl at gmail.com> wrote:> I am having a bit of an issue I have an opensolaris box setup as a > fileserver. Running through CIFS to provide shares to some windows > machines. > > Now lets call my zpool /tank1, when i create a zfs filesystem > called /test it gets shared as /test and i can see it as "test" on > my windows machines... Now when i create a child system inside the > test system (lets call this /tank1/test/child) the child system gets > shared as well on its own as test_child as seen on the windows system. > > I want to be able to create nested filesystems, and not have the > nested systems shared through cifs.... i want to access them > through the root system, and only have the root systems shared to > the windows machines... > > I have been trolling through the manuals, and forums, but cant seem > to find the ansear. > > I''m sure im missing something simple, can someone shed some light > onto this issue? > -- > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
On 2/21/10 11:08 PM -0800 Tau wrote:> I am having a bit of an issue I have an opensolaris box setup as a > fileserver. Running through CIFS to provide shares to some windows > machines. > > Now lets call my zpool /tank1,Let''s not because ''/'' is an illegal character in a zpool name.> when i create a zfs filesystem called > /test it gets shared as /test and i can see it as "test" on my windows > machines... Now when i create a child system inside the test system > (lets call this /tank1/test/child) the child system gets shared as well > on its own as test_child as seen on the windows system. > > I want to be able to create nested filesystems, and not have the nested > systems shared through cifs.... i want to access them through the root > system, and only have the root systems shared to the windows machines...You''re saying system as if it''s a shorthand for filesystem. It isn''t. And technically, for zfs you call them datasets but filesystem is ok. Does simply setting sharesmb=none not work? By default, descendant filesystems inherit the properties of the parent, including share properties. So for each child filesystem you don''t want to share, you would have to override the default inherited sharesmb property. What you should probably do is set an ACL to disallow access to the child filesystems. Because even if there is a sharesmb setting that blocks sharing of a child, what happens then is that the client accessing the parent can still write into the directory which holds the mount point for the child, with the write going to the parent, and on the fileserver you can''t see data that the client has written there because it is masked by the mounted child filesystem. This creates all sorts of problems. -frank
It will not let me set sharesmb=none.
Also I dont see how ACL''s would do what im after here... I want to
create a nested dataset inside another one so that I can create snapshots, and
export that dataset when needed. Though I do not want the nested dataset to
have its own share... (if that makes sence)
Scenario;
tank1/websites/website1
/website2
/website3
Now when i create website1-3 datasets inside of the websites dataset it shares
them as well. So from my windows/nix boxes i see;
websites
websites_website1
websites_website2
websites_website3
now i JUST want to see "websites" then be able to access the
website1-3 datasets from navigating through the websites share.
The way it is sharing right now im going to end up with 100''s of shares
were i only really need to have 6 or 8, and the rest accessible through the root
datasets.
I hope this is a better explanation.
--
This message posted from opensolaris.org
As I explained earlier, this is not possible with CIFS. This is the RFE entry:
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6582165
And the explanation is here:
http://mail.opensolaris.org/pipermail/cifs-discuss/2009-March/001397.html
Peter
-----Original Message-----
From: zfs-discuss-bounces at opensolaris.org [mailto:zfs-discuss-bounces at
opensolaris.org] On Behalf Of Tau
Sent: 22. February 2010 22:40
To: zfs-discuss at opensolaris.org
Subject: Re: [zfs-discuss] Sharing Issues
It will not let me set sharesmb=none.
Also I dont see how ACL''s would do what im after here... I want to
create a nested dataset inside another one so that I can create snapshots, and
export that dataset when needed. Though I do not want the nested dataset to
have its own share... (if that makes sence)
Scenario;
tank1/websites/website1
/website2
/website3
Now when i create website1-3 datasets inside of the websites dataset it shares
them as well. So from my windows/nix boxes i see;
websites
websites_website1
websites_website2
websites_website3
now i JUST want to see "websites" then be able to access the
website1-3 datasets from navigating through the websites share.
The way it is sharing right now im going to end up with 100''s of shares
were i only really need to have 6 or 8, and the rest accessible through the root
datasets.
I hope this is a better explanation.
--
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss at opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
On Mon, Feb 22, 2010 at 1:46 PM, Peter Radig <peter at radig.de> wrote:> As I explained earlier, this is not possible with CIFS. This is the RFE entry: http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6582165It''s worth noting that you CAN do it with samba, but you lose the cool features and performance of the opensolaris cifs server. -B -- Brandon High : bhigh at freaks.com If violence doesn''t solve your problem, you''re not using enough of it.