How to access a nas storage (freeNAS) using Solaris?


 
Thread Tools Search this Thread
Operating Systems Solaris How to access a nas storage (freeNAS) using Solaris?
# 8  
Old 07-01-2011
Quote:
Originally Posted by linshan
hello , Glad to meet you
?

---------- Post updated at 09:10 AM ---------- Previous update was at 09:06 AM ----------

you are welcome chidori, i like to help you! Smilie

can you run this command on your solaris-box plz:
Code:
grep NFS_CLIENT_VERSMAX /etc/default/nfs

and post us the output?

and, sorry for the stupid question, but is the nfs server realy running?
# 9  
Old 07-01-2011
Code:
grep NFS_CLIENT_VERSMAX /etc/default/nfs
#NFS_CLIENT_VERSMAX=4 --> its commented out..

i downloaded FreeNAS and installed it in vmware and i already have another vmware session running with solaris 10.

To my understanding.. we can add or remove data into nas box right?
so to test that i have already created a text file in my nasbox:/mnt/volume1
and in solaris end i tried to mount /export/home/data into nas but its throwing error..

Like said.. i am completely ignorant of solaris side setup. all i did is my few nfs services were disabled and rpc services were also disabled. so i enabled them. and /nfs/server service was not coming up even when i tried to enable it . and then i read from a book that to make it come up you have add an entry in dfstab..


so this what i did..

Code:
# cat /etc/dfs/sharetab
/export/home/data       -       nfs     rw


# cat /etc/dfs/dfstab

#       Place share(1M) commands here for automatic execution
#       on entering init state 3.
#
#       Issue the command 'svcadm enable network/nfs/server' 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 -F nfs -o rw /export/home/data
#

# 10  
Old 07-01-2011
yes, you can add remove data into your freenas box! ;-)
normaly if you use a solaris-box as a client, you have nothing to do/configure to mount a simple nfs share.
you have to modify the dfstab-File only if your Solaris-box has to be configured as a Server and not a Client!

/etc/dfs/dfstab = /etc/exports (in Linux)

normaly you have to do this steps:
- configure the freenas and create a NFS share
- mount it from a solaris-client with mount -T nfs <ip:/share> /mountpoint

one thing that you have to check is that your Server and Client uses the same NFS Version. But normaly if they use a different nfs-version you see the share but cannot mount...

as i can see on your outputs you don't see the nfs share!

another stupid question :-)
can you ping each other??
from the solaris-client --> ping <freenasip>

Last edited by beta17; 07-01-2011 at 11:43 AM..
# 11  
Old 07-01-2011
yes.. thats the first thing i checked.. it is pingable Smilie

---------- Post updated at 09:45 AM ---------- Previous update was at 09:37 AM ----------

Beta.. the service in maintanence would that be a problem??

Code:
# svcs -a | grep rpc
online         18:24:00 svc:/network/rpc/bind:default
online         18:24:05 svc:/network/rpc/bootparams:default
online         18:24:13 svc:/network/rpc/gss:default
online         18:24:14 svc:/network/rpc/meta:default
online         18:24:14 svc:/network/rpc/rstat:default
online         18:24:14 svc:/network/rpc/cde-calendar-manager:default
online         18:24:14 svc:/network/rpc/cde-ttdbserver:tcp
online         18:24:14 svc:/network/rpc/mdcomm:default
online         18:24:14 svc:/network/rpc/metamed:default
online         18:24:14 svc:/network/rpc/metamh:default
online         18:24:14 svc:/network/rpc/ocfserv:default
online         18:24:15 svc:/network/rpc/smserver:default
online         18:24:15 svc:/network/rpc/rex:default
online         18:24:15 svc:/network/rpc/rusers:default
online         18:24:15 svc:/network/rpc/spray:default
online         18:24:15 svc:/network/rpc/wall:default
online         18:24:16 svc:/network/rpc-100235_1/rpc_ticotsord:default
offline        18:23:05 svc:/network/rpc/nisplus:default
maintenance    18:24:01 svc:/network/rpc/keyserv:default

# 12  
Old 07-01-2011
ok, fine :-)

can you type this command on your freenas-box?
Code:
showmount -e

# 13  
Old 07-01-2011
here is the output..

Code:
[root@freenas /]# showmount -e
RPC: Program not registered
showmount: can't do exports rpc

# 14  
Old 07-01-2011
that's is...
there is no nfs server running on you freenas-box! ;-)

show me your /etc/exports file

---------- Post updated at 09:57 AM ---------- Previous update was at 09:56 AM ----------

normaly you have to see somthing linke this
Code:
[root@cru-redhat ~]# showmount -e 1.2.3.4
Export list for 1.2.3.4:
/test (everyone)

Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Solaris 9 Home Directory, Two Machines Sharing a NAS

Good Morning, I have 2 Solaris 9 machines sharing a NAS, and need to have users to be able to log in from the 2nd machine and get to all of their files on the NAS that were created on the 1st machine. So far its working ok, but when users log in to the second machine, their user IDs show... (20 Replies)
Discussion started by: Stellaman1977
20 Replies

2. Solaris

NAS drive (WD My Book Live) via Solaris

Anyone ever done this? Is it even possible to mount the remote NAS drive under Solaris? (7 Replies)
Discussion started by: psychocandy
7 Replies

3. Solaris

SVM metaset on 2 node Solaris cluster storage replicated to non-clustered Solaris node

Hi, Is it possible to have a Solaris cluster of 2 nodes at SITE-A using SVM and creating metaset using say 2 LUNs (on SAN). Then replicating these 2 LUNs to remote site SITE-B via storage based replication and then using these LUNs by importing them as a metaset on a server at SITE-B which is... (0 Replies)
Discussion started by: dn2011
0 Replies

4. Solaris

SAN Storage to solaris 10 server

Hi, I have configured our SAN Storage to be connected to our new SUN T5220. On the SAn it looks all fine on the server I do not see any connection: cfgadm -al Ap_Id Type Receptacle Occupant Condition c1 scsi-bus connected ... (4 Replies)
Discussion started by: manni2
4 Replies

5. Solaris

solaris 10 errors mount external usb Harddisk zfs on a nas without cdrom

Hi, I try to mount an external USB HD on a solaris 10 without any success. Machine hardware: i86pc OS version: 5.10 Processor type: i386 Hardware: i86pc The HD is a zfs, but I installed this with a Ubuntu 8.10. iostat -En displays this: --> so the system... (0 Replies)
Discussion started by: edubidu
0 Replies

6. UNIX for Advanced & Expert Users

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... (9 Replies)
Discussion started by: 0ktalmagik
9 Replies
Login or Register to Ask a Question