Mounting NAS Drive on solaris

Hi,

Im running 32-bit solaris on sparc. We have a NAS(Network attached drive), with its IP address, username and password.

I'd like to be able to mount it on the solaris machine, and unmount it.
The best possibility would be able to mount it simulataneously on 2 or more systems.

Please let me know how this can be done.

Thanks

0ktal

Hi,

Firstly configure NFS server to access the shared resources of your NAS and make those shares configure in /etc/dfs/dfstab on NFS server.

Now mount those NFS shares to client machine with command:-

mount -F nfs <NFS Server name>:/<Shared Resource name> <Mount Point>

Okay

Hey. Thanks!!

I can see that we already have NFS:

$ ps -ef |grep nfs
daemon 194 1 0 Jun 05 ? 0:00 /usr/lib/nfs/statd
root 193 1 0 Jun 05 ? 0:00 /usr/lib/nfs/lockd
root 319 1 0 Jun 05 ? 0:00 /usr/lib/nfs/mountd
root 322 1 0 Jun 05 ? 0:00 /usr/lib/nfs/nfsd

and also:

$ more /etc/dfs/dfstab

# Place share(1M) commands here for automatic execution
# on entering init state 3.
#
# Issue the command '/etc/init.d/nfs.server start' to run the NFS
# daemon processes and the share commands, after adding the very
# first entry to this file.
#
# share [-F fstype] [ -o options] [-d "<text>"] <pathname> [resource]
# .e.g,
# share -F nfs -o rw=engineering -d "home dirs" /export/home2
share /oracle

Now please let me know what I need to do. Also do I have to edit /etc/vfstab and /etc/mnttab??

I'll figure out what filesystem it is. So i can put the appropriate parameters..

Thanks
I

Apparently its a ntfs volume. Also, I tried running the mount command as below and this what I get.

# mount -F nfs 172.17.16.143\Storage /nfs_backup
nfs mount: nfs file system; use [host:]path
# mount -f nfs 172.17.16.143:/Storage /nfs_backup
nfs mount: 172.17.16.143: : RPC: Rpcbind failure - RPC: Unable to receive
nfs mount: retrying: /nfs_backup
nfs mount: 172.17.16.143: : RPC: Rpcbind failure - RPC: Unable to receive

nfs mount: 172.17.16.143: : RPC: Rpcbind failure - RPC: Unable to receive

nfs mount: 172.17.16.143: : RPC: Rpcbind failure - RPC: Unable to receive

nfs mount: 172.17.16.143: : RPC: Rpcbind failure - RPC: Unable to receive
^C#
# ls /nfs_backup
#

Please let me know

Thanks

First you need to check if you are able to access the NAS. It you are able to access it then you need to be clear which directory of NAS you want to mount for your access through NFS and then you need to make proper entries in to /etc/dfstab file like

share -F nfs -o rw /oracle ( what ever is your share name)

after this entry on client side you need to mount this volume.

first start your rpc deamon and then check with the rpcbind command and then try to run your mount command.

its up. here you go...

# ps -ef |grep rpc
root 128 1 0 May 20 ? 4:12 /usr/sbin/rpcbind
root 283 151 0 May 20 ? 0:00 rpc.metad
root 22685 22647 0 14:19:00 pts/2 0:00 grep rpc
#

hello guys

im new here :slight_smile:

i need help for my work.

I have a NAS with CIF shared drive that many winxp/osx computers need to access.
But i also have a unix computer that works with a professional printer that needs to access the same shared folder as the winxp/osx guys.

i never, ever learned unix (ok i did some linux :slight_smile: ) but was 3 years ago. So i dont know how to map the CIF drive from the NAS.

The same unix computer already has a cif mapped drive (not from the NAS, from winxp on another computer) but i dont know to mount the one i need.

help?

you need to mount the cifs file system and export the share. what type of NAS are you using. :slight_smile:

From solaris you cannot do that. You will need the NAS to export it using NFS.

Same applies here, it is not mounting a CIFS filesystem, at least not directly. It is exported in some other way.