mount filesystem linux

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

mount filesystem linux

Roshan
RHEL 6
Solaris 11

Hi Erman,

could you please help me mount the solaris shared filesystem on our linux server?

Below are tests performed.

Solaris:

root@dware1:/# svcs -a|grep nfs
disabled       Oct_05   svc:/network/nfs/client:default
disabled       Oct_05   svc:/network/nfs/rquota:default
disabled        9:45:29 svc:/network/nfs/server:default
online         Oct_05   svc:/network/nfs/fedfs-client:default
online         Oct_05   svc:/network/nfs/cleanup-upgrade:default
online         Oct_05   svc:/network/nfs/cleanup:default
online         19:23:30 svc:/network/nfs/cbd:default
online         19:23:30 svc:/network/nfs/mapid:default
online         19:23:30 svc:/network/nfs/status:default
online         19:23:31 svc:/network/nfs/nlockmgr:default

root@dware1:/# svcs -a|grep bind
online         19:23:29 svc:/network/rpc/bind:default

root@dware1:/# dfshares
nfs dfshares:dware1: RPC: Program not registered


root@dware1:/# cat /etc/vfstab
#device         device          mount           FS      fsck    mount   mount
#to mount       to fsck         point           type    pass    at boot options
#
# START Informational entries for filesystems mounted by the kernel
#/devices       -               /devices        devfs   -       no      -
#/proc          -               /proc           proc    -       no      -
#ctfs           -               /system/contract ctfs   -       no      -
#objfs          -               /system/object  objfs   -       no      -
#sharefs        -               /etc/dfs/sharetab       sharefs -       no                                                                                                                   -
#fd             -               /dev/fd         fd      -       no      -
#swap           -               /tmp            tmpfs   -       yes     -
# END Informational entries for filesystems mounted by the kernel

/dev/zvol/dsk/rpool/swap        -               -               swap    -                                                                                                                    no      -
/dev/zvol/dsk/swappool/swap     -               -               swap    -                                                                                                                    no      -
/dev/asm/gg-266                 -               /ogg    acfs    -       no                                                                                                                   -
5.1.1.1:/export/backup-dware/backup - /backup nfs   - yes   rw,bg,hard,nointr,rs                                                                                                             ize=1048576,wsize=1048576,proto=tcp,vers=4

On Linux:
[root@RH-DATWHSE-DEV roshanbi]# mount <ip>:/ogg /ogg
mount.nfs: Connection refused

Ping to solaris server is working fine.

Kindly advise.

Regards,

Roshan



Reply | Threaded
Open this post in threaded view
|

Re: mount filesystem linux

ErmanArslansOracleBlog
Administrator
Did you enable NFS services on Solaris?
Which document/procedure do you follow to do this task?

Here it says -> disabled        9:45:29 svc:/network/nfs/server:default

Please take a lok at the following articles;

https://docs.oracle.com/cd/E23824_01/html/821-1454/rfsadmin-68.html
https://www.thegeekdiary.com/solaris-beginners-guide-to-nfs/
Reply | Threaded
Open this post in threaded view
|

Re: mount filesystem linux

Roshan
It is still disabled

root@dware1:/# svcadm enable network/nfs/server
root@dware1:/# svcs -a|grep nfs
disabled       Oct_05   svc:/network/nfs/client:default
disabled       Oct_05   svc:/network/nfs/rquota:default
disabled       13:32:08 svc:/network/nfs/server:default
online         Oct_05   svc:/network/nfs/fedfs-client:default
online         Oct_05   svc:/network/nfs/cleanup-upgrade:default
online         Oct_05   svc:/network/nfs/cleanup:default
online         19:23:30 svc:/network/nfs/cbd:default
online         19:23:30 svc:/network/nfs/mapid:default
online         19:23:30 svc:/network/nfs/status:default
online         19:23:31 svc:/network/nfs/nlockmgr:default
root@dware1:/# svcs network/nfs/server
STATE          STIME    FMRI
disabled       13:32:08 svc:/network/nfs/server:default
root@dware1:/# svcadm enable network/nfs/server          <<<<-----------
root@dware1:/# svcs network/nfs/server
STATE          STIME    FMRI
disabled       13:32:43 svc:/network/nfs/server:default
Reply | Threaded
Open this post in threaded view
|

Re: mount filesystem linux

Roshan
share -F nfs -o rw /ogg

We had to run this command again.

It's ok now.
Reply | Threaded
Open this post in threaded view
|

Re: mount filesystem linux

ErmanArslansOracleBlog
Administrator
Good.