Team I''m missing something? First off I normally play around with OpenSolaris & it''s been a while since I played with Solaris 10. I''m doing all this via VirtualBox (Vista host) and I''ve set-up the network (I believe) as I can ping, ssh and telnet from Vista into the S10 virtual machine 192.168.56.101. I''ve set smbshare on. But there seems to be non the the CIFS commands you get in OpenSolaris and when I point a file browser (or whatever it''s called in Windows) at \\192.168.56.101 I can''t access it. I would also expect a file name in .zfs/share like it says in the man pages, but there is non. What have I missed? RTFMs more than welcome :-) Details..... bash-3.00# zfs get sharesmb sam_pool/backup NAME PROPERTY VALUE SOURCE sam_pool/backup sharesmb on local bash-3.00# ls -al /sam_pool/backup/.zfs total 3 dr-xr-xr-x 3 root root 3 Aug 11 14:26 . drwxr-xr-x 2 root root 8 Aug 18 09:52 .. dr-xr-xr-x 2 root root 2 Aug 11 14:26 snapshot bash-3.00# ifconfig -a lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 e1000g0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2 inet 192.168.56.101 netmask ffffff00 broadcast 192.168.56.255 ether 8:0:27:84:cb:f5 bash-3.00# cat /etc/release Solaris 10 10/09 s10x_u8wos_08a X86 Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 16 September 2009 ==www.eagle.co.nz This email is confidential and may be legally privileged. If received in error please destroy and immediately notify us.
On Sun, Nov 22, 2009 at 4:18 PM, Trevor Pretty <trevor_pretty at eagle.co.nz>wrote:> Team > > I''m missing something? First off I normally play around with OpenSolaris & > it''s been a while since I played with Solaris 10. > > I''m doing all this via VirtualBox (Vista host) and I''ve set-up the network > (I believe) as I can ping, ssh and telnet from Vista into the S10 virtual > machine 192.168.56.101. > > I''ve set smbshare on. But there seems to be non the the CIFS commands you > get in OpenSolaris and when I point a file browser (or whatever it''s called > in Windows) at \\192.168.56.101 I can''t access it. > > I would also expect a file name in .zfs/share like it says in the man > pages, but there is non. > > What have I missed? RTFMs more than welcome :-) > > > Details..... > > bash-3.00# zfs get sharesmb sam_pool/backup > NAME PROPERTY VALUE SOURCE > sam_pool/backup sharesmb on local > > > bash-3.00# ls -al /sam_pool/backup/.zfs > total 3 > dr-xr-xr-x 3 root root 3 Aug 11 14:26 . > drwxr-xr-x 2 root root 8 Aug 18 09:52 .. > dr-xr-xr-x 2 root root 2 Aug 11 14:26 snapshot > > > bash-3.00# ifconfig -a > lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 > index 1 > inet 127.0.0.1 netmask ff000000 > e1000g0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 > index 2 > inet 192.168.56.101 netmask ffffff00 broadcast 192.168.56.255 > ether 8:0:27:84:cb:f5 > > > bash-3.00# cat /etc/release > Solaris 10 10/09 s10x_u8wos_08a X86 > Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. > Use is subject to license terms. > Assembled 16 September 2009 > >I thought I had heard forever ago that the native cifs implementation wouldn''t ever be put back to solaris10 due to the fact it makes significant changes to the kernel. Maybe I''m crazy though. I would think an ls would tell you if it was or not. Do you see this output when you run a ''/bin/ls -dV''? root# /bin/ls -dV / drwxr-xr-x 26 root root 35 Nov 15 10:58 / owner@:--------------:-------:deny owner@:rwxp---A-W-Co-:-------:allow group@:-w-p----------:-------:deny group@:r-x-----------:-------:allow everyone@:-w-p---A-W-Co-:-------:deny everyone@:r-x---a-R-c--s:-------:allow -- --Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20091122/06deb07c/attachment.html>
Tim Cook wrote: On Sun, Nov 22, 2009 at 4:18 PM, Trevor Pretty <trevor_pretty@eagle.co.nz> wrote: Team I''m missing something? First off I normally play around with OpenSolaris & it''s been a while since I played with Solaris 10. I''m doing all this via VirtualBox (Vista host) and I''ve set-up the network (I believe) as I can ping, ssh and telnet from Vista into the S10 virtual machine 192.168.56.101. I''ve set smbshare on. But there seems to be non the the CIFS commands you get in OpenSolaris and when I point a file browser (or whatever it''s called in Windows) at \\192.168.56.101 I can''t access it. I would also expect a file name in .zfs/share like it says in the man pages, but there is non. What have I missed? RTFMs more than welcome :-) Details..... bash-3.00# zfs get sharesmb sam_pool/backup NAME PROPERTY VALUE SOURCE sam_pool/backup sharesmb on local bash-3.00# ls -al /sam_pool/backup/.zfs total 3 dr-xr-xr-x 3 root root 3 Aug 11 14:26 . drwxr-xr-x 2 root root 8 Aug 18 09:52 .. dr-xr-xr-x 2 root root 2 Aug 11 14:26 snapshot bash-3.00# ifconfig -a lo0: flags=2001000849 mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 e1000g0: flags=1004843 mtu 1500 index 2 inet 192.168.56.101 netmask ffffff00 broadcast 192.168.56.255 ether 8:0:27:84:cb:f5 bash-3.00# cat /etc/release Solaris 10 10/09 s10x_u8wos_08a X86 Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 16 September 2009 I thought I had heard forever ago that the native cifs implementation wouldn''t ever be put back to solaris10 due to the fact it makes significant changes to the kernel. Maybe I''m crazy though. I would think an ls would tell you if it was or not. Do you see this output when you run a ''/bin/ls -dV''? root# /bin/ls -dV / drwxr-xr-x 26 root root 35 Nov 15 10:58 / owner@:--------------:-------:deny owner@:rwxp---A-W-Co-:-------:allow group@:-w-p----------:-------:deny group@:r-x-----------:-------:allow everyone@:-w-p---A-W-Co-:-------:deny everyone@:r-x---a-R-c--s:-------:allow -- --Tim Yep! bash-3.00# /bin/ls -dV / drwxr-xr-x 46 root root 63 Nov 23 11:41 / owner@:--------------:------:deny owner@:rwxp---A-W-Co-:------:allow group@:-w-p----------:------:deny group@:r-x-----------:------:allow everyone@:-w-p---A-W-Co-:------:deny everyone@:r-x---a-R-c--s:------:allow bash-3.00# I think the server is in but not the client but I can''t find sharemgr either. www.eagle.co.nz This email is confidential and may be legally privileged. If received in error please destroy and immediately notify us. _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
OK I''ve also a S700 simulator as a VM and it seems to have done what I would expect. 7000# zfs get sharesmb pool-0/local/trevors_stuff/tlp NAME PROPERTY VALUE SOURCE pool-0/local/trevors_stuff/tlp sharesmb name=trevors_stuff_tlp inherited from pool-0/local/trevors_stuff 7000# cd /var/ak/shares/web/export/tlp/.zfs 7000# ls shares/ trevors_stuff_tlp It also has sharemgr which seems to be missing in S10. Trevor Pretty wrote:> Team > > I''m missing something? First off I normally play around with > OpenSolaris & it''s been a while since I played with Solaris 10. > > I''m doing all this via VirtualBox (Vista host) and I''ve set-up the > network (I believe) as I can ping, ssh and telnet from Vista into the > S10 virtual machine 192.168.56.101. > > I''ve set smbshare on. But there seems to be non the the CIFS commands > you get in OpenSolaris and when I point a file browser (or whatever it''s > called in Windows) at \\192.168.56.101 I can''t access it. > > I would also expect a file name in .zfs/share like it says in the man > pages, but there is non. > > What have I missed? RTFMs more than welcome :-) > > > Details..... > > bash-3.00# zfs get sharesmb sam_pool/backup > NAME PROPERTY VALUE SOURCE > sam_pool/backup sharesmb on local > > > bash-3.00# ls -al /sam_pool/backup/.zfs > total 3 > dr-xr-xr-x 3 root root 3 Aug 11 14:26 . > drwxr-xr-x 2 root root 8 Aug 18 09:52 .. > dr-xr-xr-x 2 root root 2 Aug 11 14:26 snapshot > > > bash-3.00# ifconfig -a > lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu > 8232 index 1 > inet 127.0.0.1 netmask ff000000 > e1000g0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu > 1500 index 2 > inet 192.168.56.101 netmask ffffff00 broadcast 192.168.56.255 > ether 8:0:27:84:cb:f5 > > > bash-3.00# cat /etc/release > Solaris 10 10/09 s10x_u8wos_08a X86 > Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. > Use is subject to license terms. > Assembled 16 September 2009 > > > > >==www.eagle.co.nz This email is confidential and may be legally privileged. If received in error please destroy and immediately notify us.
Hi Trevor, The native CIFS/SMB stuff was never backported to S10, so you would have to use the Samba on your S10 vm Cheers, Peter Trevor Pretty wrote:> Team > > I''m missing something? First off I normally play around with > OpenSolaris & it''s been a while since I played with Solaris 10. > > I''m doing all this via VirtualBox (Vista host) and I''ve set-up the > network (I believe) as I can ping, ssh and telnet from Vista into the > S10 virtual machine 192.168.56.101. > > I''ve set smbshare on. But there seems to be non the the CIFS commands > you get in OpenSolaris and when I point a file browser (or whatever > it''s called in Windows) at \\192.168.56.101 I can''t access it. > > I would also expect a file name in .zfs/share like it says in the man > pages, but there is non. > > What have I missed? RTFMs more than welcome :-) > > > Details..... > > bash-3.00# zfs get sharesmb sam_pool/backup > NAME PROPERTY VALUE SOURCE > sam_pool/backup sharesmb on local > > > bash-3.00# ls -al /sam_pool/backup/.zfs > total 3 > dr-xr-xr-x 3 root root 3 Aug 11 14:26 . > drwxr-xr-x 2 root root 8 Aug 18 09:52 .. > dr-xr-xr-x 2 root root 2 Aug 11 14:26 snapshot > > > bash-3.00# ifconfig -a > lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu > 8232 index 1 > inet 127.0.0.1 netmask ff000000 > e1000g0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu > 1500 index 2 > inet 192.168.56.101 netmask ffffff00 broadcast 192.168.56.255 > ether 8:0:27:84:cb:f5 > > > bash-3.00# cat /etc/release > Solaris 10 10/09 s10x_u8wos_08a X86 > Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. > Use is subject to license terms. > Assembled 16 September 2009 > > > > > ==> www.eagle.co.nz > This email is confidential and may be legally privileged. > If received in error please destroy and immediately notify us. > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Trevor Pretty wrote:> > > Tim Cook wrote: >> >> >> On Sun, Nov 22, 2009 at 4:18 PM, Trevor Pretty >> <trevor_pretty at eagle.co.nz <mailto:trevor_pretty at eagle.co.nz>> wrote: >> >> Team >> >> I''m missing something? First off I normally play around with >> OpenSolaris & it''s been a while since I played with Solaris 10. >> >> I''m doing all this via VirtualBox (Vista host) and I''ve set-up >> the network (I believe) as I can ping, ssh and telnet from Vista >> into the S10 virtual machine 192.168.56.101. >> >> I''ve set smbshare on. But there seems to be non the the CIFS >> commands you get in OpenSolaris and when I point a file browser >> (or whatever it''s called in Windows) at \\192.168.56.101 I can''t >> access it. >> >> I would also expect a file name in .zfs/share like it says in the >> man pages, but there is non. >> >> What have I missed? RTFMs more than welcome :-) >> >> >> Details..... >> >> bash-3.00# zfs get sharesmb sam_pool/backup >> NAME PROPERTY VALUE SOURCE >> sam_pool/backup sharesmb on local >> >> >> bash-3.00# ls -al /sam_pool/backup/.zfs >> total 3 >> dr-xr-xr-x 3 root root 3 Aug 11 14:26 . >> drwxr-xr-x 2 root root 8 Aug 18 09:52 .. >> dr-xr-xr-x 2 root root 2 Aug 11 14:26 snapshot >> >> >> bash-3.00# ifconfig -a >> lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> >> mtu 8232 index 1 >> inet 127.0.0.1 netmask ff000000 >> e1000g0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> >> mtu 1500 index 2 >> inet 192.168.56.101 netmask ffffff00 broadcast 192.168.56.255 >> ether 8:0:27:84:cb:f5 >> >> >> bash-3.00# cat /etc/release >> Solaris 10 10/09 s10x_u8wos_08a X86 >> Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. >> Use is subject to license terms. >> Assembled 16 September 2009 >> >> >> I thought I had heard forever ago that the native cifs implementation >> wouldn''t ever be put back to solaris10 due to the fact it makes >> significant changes to the kernel. Maybe I''m crazy though. >> >> I would think an ls would tell you if it was or not. Do you see this >> output when you run a ''/bin/ls -dV''? >> >> root# /bin/ls -dV / >> drwxr-xr-x 26 root root 35 Nov 15 10:58 / >> owner@:--------------:-------:deny >> owner@:rwxp---A-W-Co-:-------:allow >> group@:-w-p----------:-------:deny >> group@:r-x-----------:-------:allow >> everyone@:-w-p---A-W-Co-:-------:deny >> everyone@:r-x---a-R-c--s:-------:allow >> >> >> >> >> -- >> --Tim > Yep! > > bash-3.00# /bin/ls -dV / > drwxr-xr-x 46 root root 63 Nov 23 11:41 / > owner@:--------------:------:deny > owner@:rwxp---A-W-Co-:------:allow > group@:-w-p----------:------:deny > group@:r-x-----------:------:allow > everyone@:-w-p---A-W-Co-:------:deny > everyone@:r-x---a-R-c--s:------:allow > bash-3.00#Nope this is just zfs acls, doesn''t have anything to do with the CIFS server /peter> > I think the server is in but not the client but I can''t find sharemgr > either. > > > > > */ /* > > www.eagle.co.nz <http://www.eagle.co.nz/> > > This email is confidential and may be legally privileged. If received > in error please destroy and immediately notify us. > > ------------------------------------------------------------------------ > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >
Trevor Pretty wrote:> > OK I''ve also a S700 simulator as a VM and it seems to have done what I > would expect. > > 7000# zfs get sharesmb pool-0/local/trevors_stuff/tlp > NAME PROPERTY VALUE SOURCE > pool-0/local/trevors_stuff/tlp sharesmb name=trevors_stuff_tlp > inherited from pool-0/local/trevors_stuff > > 7000# cd /var/ak/shares/web/export/tlp/.zfs > 7000# ls shares/ > trevors_stuff_tlp > > It also has sharemgr which seems to be missing in S10.Jepp, it would as it''s OpenSolaris based :) /peter> > > Trevor Pretty wrote: >> Team >> >> I''m missing something? First off I normally play around with >> OpenSolaris & it''s been a while since I played with Solaris 10. >> >> I''m doing all this via VirtualBox (Vista host) and I''ve set-up the >> network (I believe) as I can ping, ssh and telnet from Vista into the >> S10 virtual machine 192.168.56.101. >> >> I''ve set smbshare on. But there seems to be non the the CIFS commands >> you get in OpenSolaris and when I point a file browser (or whatever >> it''s called in Windows) at \\192.168.56.101 I can''t access it. >> >> I would also expect a file name in .zfs/share like it says in the man >> pages, but there is non. >> >> What have I missed? RTFMs more than welcome :-) >> >> >> Details..... >> >> bash-3.00# zfs get sharesmb sam_pool/backup >> NAME PROPERTY VALUE SOURCE >> sam_pool/backup sharesmb on local >> >> >> bash-3.00# ls -al /sam_pool/backup/.zfs >> total 3 >> dr-xr-xr-x 3 root root 3 Aug 11 14:26 . >> drwxr-xr-x 2 root root 8 Aug 18 09:52 .. >> dr-xr-xr-x 2 root root 2 Aug 11 14:26 snapshot >> >> >> bash-3.00# ifconfig -a >> lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu >> 8232 index 1 >> inet 127.0.0.1 netmask ff000000 >> e1000g0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu >> 1500 index 2 >> inet 192.168.56.101 netmask ffffff00 broadcast 192.168.56.255 >> ether 8:0:27:84:cb:f5 >> >> >> bash-3.00# cat /etc/release >> Solaris 10 10/09 s10x_u8wos_08a X86 >> Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. >> Use is subject to license terms. >> Assembled 16 September 2009 >> >> >> >> >> > > ==> www.eagle.co.nz > This email is confidential and may be legally privileged. > If received in error please destroy and immediately notify us. > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Thanks old friend I was surprised to read in the S10 zfs man page that there was the option sharesmb=on. I though I had missed the CIFs server making S10 whilst I was not looking, but I was quickly coming to the conclusion that the CIFs stuff was just not there, despite being tantalised by the man pages :-). I wish the man page only listed options that actually work! Would have saved me a couple of hours of buggering around. Trevor Peter Karlsson wrote: Hi Trevor, The native CIFS/SMB stuff was never backported to S10, so you would have to use the Samba on your S10 vm Cheers, Peter www.eagle.co.nz This email is confidential and may be legally privileged. If received in error please destroy and immediately notify us. _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
On 11/22/09 16:48, Tim Cook wrote:> > > On Sun, Nov 22, 2009 at 4:18 PM, Trevor Pretty > <trevor_pretty at eagle.co.nz <mailto:trevor_pretty at eagle.co.nz>> wrote: > > Team > > I''m missing something? First off I normally play around with > OpenSolaris & it''s been a while since I played with Solaris 10. > > I''m doing all this via VirtualBox (Vista host) and I''ve set-up the > network (I believe) as I can ping, ssh and telnet from Vista into > the S10 virtual machine 192.168.56.101. > > I''ve set smbshare on. But there seems to be non the the CIFS > commands you get in OpenSolaris and when I point a file browser (or > whatever it''s called in Windows) at \\192.168.56.101 I can''t access it. > > I would also expect a file name in .zfs/share like it says in the > man pages, but there is non. > > What have I missed? RTFMs more than welcome :-) > > > Details..... > > bash-3.00# zfs get sharesmb sam_pool/backup > NAME PROPERTY VALUE SOURCE > sam_pool/backup sharesmb on local > > > bash-3.00# ls -al /sam_pool/backup/.zfs > total 3 > dr-xr-xr-x 3 root root 3 Aug 11 14:26 . > drwxr-xr-x 2 root root 8 Aug 18 09:52 .. > dr-xr-xr-x 2 root root 2 Aug 11 14:26 snapshot > > > bash-3.00# ifconfig -a > lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> > mtu 8232 index 1 > inet 127.0.0.1 netmask ff000000 > e1000g0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu > 1500 index 2 > inet 192.168.56.101 netmask ffffff00 broadcast 192.168.56.255 > ether 8:0:27:84:cb:f5 > > > bash-3.00# cat /etc/release > Solaris 10 10/09 s10x_u8wos_08a X86 > Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. > Use is subject to license terms. > Assembled 16 September 2009 > > > I thought I had heard forever ago that the native cifs implementation > wouldn''t ever be put back to solaris10 due to the fact it makes > significant changes to the kernel. Maybe I''m crazy though. >...> > -- > --TimYes, support for a native CIFS server involved significant change to the file system interfaces in the kernel (vfs/vnode layer). Backporting these changes would break unbundled file systems. Rich
> <div id="jive-html-wrapper-div"> > > <font face="Helvetica, Arial, sans-serif"><br> > Thanks old friend<br> > <br> > I was surprised to read in the S10 zfs man page that > there was the > option </font><font face="Helvetica, Arial, > sans-serif">sharesmb=on. > I though I had missed the CIFs server making S10 > whilst I was not > looking, but I was quickly coming to the conclusion > that the CIFs stuff > was just not there, despite being tantalised by the > man pages :-). <br> > <br> > I wish the man page </font><font face="Helvetica, > Arial, sans-serif">only > listed options that actually work! Would > have saved me a couple of > hours of buggering around.<br> > <br> > Trevor<br> > </font><br> > Peter Karlsson wrote: > <blockquote cite="mid:4B09E7A5.20901 at sun.com" > type="cite"> > <pre wrap="">Hi Trevor, > he native CIFS/SMB stuff was never backported to S10, > so you would have > to use the Samba on your S10 vm > > Cheers, > Peter > > </pre> > blockquote> > > <FONT size=-5><B><I><FONT size=2><FONT color=#0000ff> > <P><B><I><FONT > color=#008080></P></FONT></B></I></FONT></FONT></B></I > ></FONT><FONT size=-5> > <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN > lang=EN-US > style="mso-ansi-language: EN-US"><A > href="http://www.eagle.co.nz/"><FONT > face=Arial > size=2>www.eagle.co.nz</FONT></A> <O:P></O:P></SP > AN></P> > <P></FONT><FONT face=Arial size=-6>This email is > confidential and may be legally > privileged. If received in error please destroy and > immediately notify > us.</FONT></P> > > </div>_______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discu > ssHi Trevor, The challenge with the CIFS features is that they exist in the Solaris 10 release, but they are not enabled. Keeping the code bases similar in both releases avoids more hair pulling on the development side, but makes the docs more complex. We decided to keep the CIFS features visible in the man pages because they are visible in the Solaris 10 ZFS command output. I agree though that it should be clearer that these features are not available in the Solaris 10 releases. These words are included in the ZFS Admin Guide. I will get some similar words added to the Solaris 10 zfs.1m man page. Always feel free to ask if you have any doubts. Regards, Cindy -- This message posted from opensolaris.org