Hi all, This is a little off topic, but not too much so, I think. There are times where it would be useful to be able to access a user's PC windows (95 or NT) drive from our unix boxes. We use sun workstations as our unix platform here. I've asked before if it's possible to mount PC drives onto a sunos and/or solaris workstation, and was informed that sunos doesn't support smb at in the kernel and this is required for mounting filesystems.I was told, however, that Linux supports this functionality. So, would it be possible to set up a linux workstation which can mount PC shared drives using smbfs, and export these to the sun workstations using nfs? It's inefficient, I know, but in terms of implementation it doesn't seem too difficult. Any thoughts/comments? Regards, Sean. ----- Sean Murphy, Phone: +353-1-7045080 Teltec Ireland, Fax: +353-1-7045092 DCU, Dublin 9, email: s.murphy@teltec.dcu.ie Ireland.
> I've asked before if it's possible to mount PC drives onto a sunos > and/or solaris workstation, and was informed that sunos doesn't > support smb at in the kernel and this is required for mounting > filesystems.I was told, however, that Linux supports this > functionality. So, would it be possible to set up a linux > workstation which can mount PC shared drives using smbfs, and export > these to the sun workstations using nfs? It's inefficient, I know, > but in terms of implementation it doesn't seem too difficult.Yes, it should work. However there are a couple of other options to check out: Solaris 2.6 should come with Syntax's TotalNET. I do believe this software will work as both an SMB server and client with a limited number of clients (1 I believe). However, since you only occasionally need to mount someone's PC, I don't think this would pose a problem. Also, check out 'rumba'. It's sort of a cross between amd and libsmb. That is, it looks like an NFS server to you but instead of serving files off of a local machine, it translates NFS requests to SMB requests. I believe it defaults to supporting Linux and Solaris (though the porting process is pretty much limited to using the native commands to mount on that system). The last time I looked at it, it didn't look like it was all that supported, but it might be sufficient for your use. mrc -- Mike Castle System Administrator, Applied Computing Systems, Inc. castle@acsys.com 505-672-4003
At 03:15 21-02-98 +1100, Sean Murphy wrote:>Hi all, > >This is a little off topic, but not too much so, I think....sounds "on" to me <grin>>functionality. So, would it be possible to set up a linux >workstation which can mount PC shared drives using smbfs, and export >these to the sun workstations using nfs? It's inefficient, I know, >but in terms of implementation it doesn't seem too difficult.Your question got me curious, as I actually do the opposite. But all our servers are linux boxen and can mount smbfs directly with smbmount. However, since I was doing that anyway, on one server, it didn't take much to create an exports entry for that share and try to mount it from one of our other servers using NFS. I'm sorry to state that it doesn't work. On condor I have \\hawk\C$ mounted on condor:/hawk/C using smbfs. I then created the entry in exports as follows /hawk raven(rw,insecure,no_root_squash) which is about as "open" as it gets. I then built the following entry in ravens fstab file ... condor:/hawk /hawk nfs defaults 1 1 Of course, I also mkdir'd the mount-point /hawk ... Now, running mount -a worked fine. Which it should have, but an ls -al /hawk/C resulted in a blank directory where there should have been 2.5 GB of WinNT files. The answer is that it doesn't work. Even if Samba can share out NFS mounted drives, NFS can not export Samba mounted drives. ___________________________________________________ Roeland M.J. Meyer, ISOC (InterNIC RM993) e-mail: mailto:rmeyer@mhsc.com Personalweb pages: http://www.mhsc.com/~rmeyer Company web-site: http://www.mhsc.com/ ___________________________________________ Watch for the SecureMail system at MHSC.NET