General discussion

Locked

Mount share Linux - Unix

By chandras ·
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

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Mount share Linux - Unix

by tastin In reply to Mount share Linux - Unix

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

Collapse -

Mount share Linux - Unix

by chandras In reply to Mount share Linux - Unix

Poster rated this answer

Collapse -

Mount share Linux - Unix

by g.j.busser In reply to Mount share Linux - Unix

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 <options>" (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.

Collapse -

Mount share Linux - Unix

by chandras In reply to Mount share Linux - Unix

Poster rated this answer

Collapse -

Mount share Linux - Unix

by chandras In reply to Mount share Linux - Unix

This question was closed by the author

Back to Linux Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums