Discussion Locked

Mount share Linux - Unix

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Can someone tell please tell me how do I mount a Unix(Solaris) share point to Linux.
umount "server":/remote_path /new_local_path comes up with msg. `failed reason given by server permission denied'. How can I get Linux to see the share. I can accees the same share in NT using Samba for Unix.
Maybe someone can tell me how I can use Linux to see the samba share Unix. Im running RedHat 7

Thanks

5 replies

by tastin

You can use Samba to do this if you want to, but nfs might be a more normal unit to linux sharing method. If you were to use an nfs server on the solaris server to share that mount point, then you could simply mount the drive on the linux server.

If you have samba running now, and the linux box has permission to mount shares on the solaris box, then a command like this ought to work:
smbmount "//servername/sharename" /localmountpoint -I 10.0.0.1

You will be prompted for a user name and a password. You can specify those on the command line too. -U username%password will do that for you. I occasionally mount windows shares on linux this way as well. Replace the names and ip addresses with your own of course. You will need to be root to do this, or you will have to set smbmnt suid root. Hope this helps.

Jeff Hogg

by g.j.busser

Hi,

I agree with Jeff that nfs would be a more regular way to mount a Solaris share. The command to mount it as an nfs-share is "mount -t nfs server:/path/to/share /local/path", optionally followed by "-o " (with which you can set the effective user/group at the server, for instance)

His smbmount suggestions is also valid, as long as the Solaris box is ALSO running samba, and exporting the specified share.

In that case you can use "smbclient -L 'server'" to see what shares/printers the server is exporting.

This discussion is closed to new replies.