[Samba] Samba Serving NFS Mounted Directories
nick at brealey.org
Sat Jan 23 06:19:04 MST 2010
The Sun 7310 is a storage appliance. It is not running Solaris 10 but
runs an OS based on Open Solaris with CIFS and Windows style
authentication integrated in the kernel. Installing Samba is not an option.
You really should be using the integrated CIFs server.
It is probably simpler to set up than Samba but is probably not as
flexible (has fewer configuration options).
There is a simulator you can play with to learn how to set it up. Sun
offer courses on setting it up. Sun offer a service to set it up for
you. The manual is available on the Internet or from the storage device.
There is a forum where these devices are discussed. You almost
certainly got a support contract when you bough the device.
If you cannot use its CIFS server (ie if you are using a NT 4 style
domain or a Samba PDC) perhaps using iSCSI to the Linux box and sharing
with Samba is the next best option.
Jon Forrest wrote:
> I have a Sun 7310 storage server. This is
> running Solaris 10 but it's self-contained
> and I can't login to it or run Samba on it.
> I manage it with a web interface.
> I have a CentOS 5.3 machine that mounts
> a bunch of file systems via NFS from the
> Sun server. This works fine. I installed
> Samba 3.4.5 on the CentOS machine and
> configured it to share some of the directories
> that are actually NFS mounts from the Sun
> server. I'm able to map these directories
> from both Windows XP and Windows 7.
> I'm seeing several problems:
> 1) Accessing the mapped directories from
> Windows when running Microsoft Office apps is
> extremely slow. I don't have any exact numbers
> but let's say the speed is unusable. Ironically,
> other programs, such as 'vim' and 'notepad'
> don't have this speed problem when accessing
> the same shares.
> 2) Again, using Microsoft Office apps, Windows XP
> machines see files as read-only. Windows 7 works
> fine on the same files.
> The Sun has a non-Samba CIFS implementation
> but it's non-intuitive to set up so I haven't
> tried it. I'm wondering if what I describe
> should work.
> Here's the smb.conf configuration for the share:
> valid users = bgroup
> path = /home/bgroup
> public = no
> writeable = yes
> browseable = no
> create mask = 012
> create mode = 0660
> directory mode = 0770
> Any comments or suggestions?
More information about the samba