Unable to mount shared folder from Linux server


 
Thread Tools Search this Thread
Operating Systems HP-UX Unable to mount shared folder from Linux server
# 1  
Old 09-25-2017
Unable to mount shared folder from Linux server

Hi all,

I have 3 servers, rx2600, rx2600, and rx2660.

I have another x86 server running on Suse, and create a shared folder named /public

From 1 of the rx2600 server I can mount that shared folder :
Code:
intaqa:/>mount 10.1.2.82:/public /bkup
intaqa:/>cd /bkup

But from 2 others server I am unable to mount that shared folder :
Code:
intabck:/>mount 10.1.2.82:/public /bkup
NFS server 10.1.2.82 not responding still trying

In my Linux server the /etc/exports contains this line only :
Code:
/public 10.1.2.0/20(rw,sync,no_root_squash,no_all_squash)

intabck:/>ipfstat -io
empty list for ipfilter(out)
empty list for ipfilter(in)
intabck:/>

The ip address of others server :

rx2600 : 10.1.2.6 (intaqa) ----> this one can mount

rx2660 : 10.1.2.8 (intabck)

rx2800 : 10.1.2.4 (intadb)

rx2800 : 10.1.2.103 (intaaapp2)

and all can ping to 10.1.2.82
Code:
intabck:/>rpcinfo -p 10.1.2.82
rpcinfo: can't contact portmapper: RPC: Rpcbind failure - RPC: Failed (unspecifi
ed error)
intabck:/>showmount -e 10.1.2.82
export list for 10.1.2.82:
/public 10.1.2.8/24
intabck:/>

 

intaqa:/>telnet 10.1.2.82 2049
Trying...
Connected to 10.1.2.82.
Escape character is '^]'.

intaqa:/>rpcinfo -p 10.1.2.82
program vers proto port service
100000 4 tcp 111 rpcbind
100000 3 tcp 111 rpcbind
100000 2 tcp 111 rpcbind
100000 4 udp 111 rpcbind
100000 3 udp 111 rpcbind
100000 2 udp 111 rpcbind
100005 1 udp 58286 mountd
100005 1 tcp 49516 mountd
100005 2 udp 58566 mountd
100005 2 tcp 51156 mountd
100005 3 udp 39827 mountd
100005 3 tcp 56390 mountd
100024 1 udp 53581 status
100024 1 tcp 42035 status
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 2 tcp 2049
100227 3 tcp 2049
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100227 2 udp 2049
100227 3 udp 2049
100021 1 udp 41197 nlockmgr
100021 3 udp 41197 nlockmgr
100021 4 udp 41197 nlockmgr
100021 1 tcp 52940 nlockmgr
100021 3 tcp 52940 nlockmgr
100021 4 tcp 52940 nlockmgr
intaqa:/>showmount -e 10.1.2.82
export list for 10.1.2.82:
/public 10.1.2.8/24
intaqa:/>

 

intaapp2:/>telnet 10.1.2.82 2049
Trying...
Connected to 10.1.2.82.
Escape character is '^]'.

intaapp2:/>rpcinfo -p 10.1.2.82
rpcinfo: can't contact portmapper: RPC: Rpcbind failure - RPC: Failed (unspecifi
ed error)
intaapp2:/>showmount -e 10.1.2.82
export list for 10.1.2.82:
/public 10.1.2.8/24
intaapp2:/>

What should I check and change setting to solve this problem.

Thanks

Last edited by vbe; 09-25-2017 at 03:12 AM.. Reason: code tags
# 2  
Old 09-25-2017
looks like your NFS client are not running on both servers giving you trouble...
Why with the given info is uneasy to reply, I would start by looking at the system logs like rc.log ( to see if configured or not and if, errors? ), as it may be ( long time sine last time I touched an HP...) by default they are not..
It not configured the best is to use sam unless you know the way trough command line...
# 3  
Old 09-25-2017
Hi,

I have tried to stop and start nfs client and server :
Code:
intabck:/>/sbin/init.d/nfs.server stop
killing nfsd
killing rpc.mountd
intabck:/>/sbin/init.d/nfs.client stop
killing rpc.lockd
killing rpc.statd
killing biod
killing automountd
intabck:/>/sbin/init.d/nfs.core stop
stopping rpcbind
intabck:/>/sbin/init.d/nfs.core start
    starting NFS CORE networking

    starting up the rpcbind
        /usr/sbin/rpcbind
intabck:/>/sbin/init.d/nfs.client start
    starting NFS CLIENT networking

    starting up the rpcbind
        rpcbind already started, using pid: 21533
    starting up the BIO daemons
        /usr/sbin/biod 16
    starting up the Status Monitor daemon
        /usr/sbin/rpc.statd
    starting up the Lock Manager daemon
        /usr/sbin/rpc.lockd
    Starting up the AutoFS daemon
        /usr/sbin/automountd
        Running the AutoFS command interface
        /usr/sbin/automount
    mounting remote NFS file systems ...
    mounting CacheFS file systems ...
intabck:/>/sbin/init.d/nfs.server start
    starting NFS SERVER networking

    starting up the rpcbind daemon
        rpcbind already started, using pid: 21533
    starting up the mount daemon
        /usr/sbin/rpc.mountd
    starting up the NFS daemons
        /usr/sbin/nfsd 30
    starting up the Status Monitor daemon
        rpc.statd already started, using pid: 21731
    starting up the Lock Manager daemon
        rpc.lockd already started, using pid: 21737

But still unable to mount :
Code:
intabck:/>mount 10.1.2.82:/public /bkup
NFS server 10.1.2.82 not responding still trying

# 4  
Old 09-25-2017
Having read your post a number of times I'm still very confused!!!

The /public NFS handle is published by 10.1.2.82, yes??

When you enquire the mounts available on 10.1.2.82 it says:
Quote:
intabck:/>showmount -e 10.1.2.82
export list for 10.1.2.82:
/public 10.1.2.8/24
intabck:/>
and from a different client:
Quote:
intaapp2:/>showmount -e 10.1.2.82
export list for 10.1.2.82:
/public 10.1.2.8/24
intaapp2:/>
So both are being told for /public go to 10.1.2.8/24

Can you please clarify what I'm missing. I just don't get that.
# 5  
Old 09-25-2017
Quote:
Originally Posted by hicksd8
Having read your post a number of times I'm still very confused!!!

The /public NFS handle is published by 10.1.2.82, yes??

When you enquire the mounts available on 10.1.2.82 it says:
and from a different client:
So both are being told for /public go to 10.1.2.8/24

Can you please clarify what I'm missing. I just don't get that.
Yes the /public NFS is published by 10.1.2.82.
But I do not know why when it told for /public go to 10.1.2.8/24
As I know I can mount from server 10.1.2.6 but unable to mount it from 10.1.2.8, or 10.1.2.4, or 10.1.2.103

I have changed the exports file on the NFS server 10.1.2.82 and when I run the showmount command from client, it looks like this:
Code:
intabck:/var/adm>showmount -e 10.1.2.82
export list for 10.1.2.82:
/public 10.1.2.0/24

Maybe you have any suggestion to fix this problem?
Thanks

Last edited by rexmale; 09-25-2017 at 04:52 AM..
# 6  
Old 09-25-2017
So if you issue command:

Code:
 
 # showmount -e 10.1.2.82

from 10.1.2.6 (the client that can successfully mount), does it give the correct answer?

---------- Post updated at 08:51 AM ---------- Previous update was at 08:45 AM ----------

I'm not a HP-UX expert (although I've used it a lot in the past) so I'm answering in generic terms only here.

I know that you are only referencing ip addresses here and not node names but, anyway, can you check all your /etc/hosts files and ensure that the ip addresses against all node names are correct (especially the one's on each node referring to itself).

I'll continue to scratch my head here.
# 7  
Old 09-25-2017
Quote:
Originally Posted by hicksd8
So if you issue command:

Code:
 
 # showmount -e 10.1.2.82

from 10.1.2.6 (the client that can successfully mount), does it give the correct answer?

---------- Post updated at 08:51 AM ---------- Previous update was at 08:45 AM ----------

I'm not a HP-UX expert (although I've used it a lot in the past) so I'm answering in generic terms only here.

I know that you are only referencing ip addresses here and not node names but, anyway, can you check all your /etc/hosts files and ensure that the ip addresses against all node names are correct (especially the one's on each node referring to itself).

I'll continue to scratch my head here.
Hi,

This is the result from 10.1.2.6:
Code:
intaqa:/>showmount -e 10.1.2.82
export list for 10.1.2.82:
/public 10.1.2.0/24

This the hosts file from 10.1.2.6
Code:
10.1.2.6        intaqa
10.1.2.4      intadb
10.1.2.22     intaqas
10.1.2.103    intaapp2
10.1.2.24     intaapp1
10.1.2.8      intabck
127.0.0.1       localhost       loopback
intaqa:/>

and this one from 10.1.2.8
Code:
10.1.2.4        intadb
10.1.2.103      intaapp2
10.1.2.6        intaqa
10.1.2.8        intabck
127.0.0.1       localhost       loopback
10.1.2.82       intalinux # fileshare

and this one from NFS server 10.1.2.82:
Code:
127.0.0.1       localhost

# special IPv6 addresses
::1             localhost ipv6-localhost ipv6-loopback

fe00::0         ipv6-localnet

ff00::0         ipv6-mcastprefix
ff02::1         ipv6-allnodes
ff02::2         ipv6-allrouters
ff02::3         ipv6-allhosts
127.0.0.2       linux-4zr9.site linux-4zr9
10.1.2.82       osuse osuse

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Setting UID and GID for shared folder using NFS method in Linux system

Hi everyone, have a good day to you. I am trying to use NFS to share a folder between 2 linux systems. Let's say the server which is sharing the folder is server A and the client which need to access this shared folder is server B. In server B, i am having a Joe user which UID and GID is 500.... (1 Reply)
Discussion started by: michael_hoang
1 Replies

2. AIX

Connect from AIX 5.x to windows Server 2000 Shared Folder

Hi, I followed this procedure in order to mount in AIX a shared folder in windows server 2000. https://www-304.ibm.com/support/docview.wss?uid=isg3T1012550 Ive tested the shared folder from other windows Server, and its fine. What Ive do in AIX is: Logon as root Under /Home/spss/ I... (2 Replies)
Discussion started by: trevian3969
2 Replies

3. Shell Programming and Scripting

Copy folder and files from unix server to linux server

We would be migrating unix solaries to Linux redhat. Basically source is unix and target is linux. i would like to copy entire file system unix/source/* to target linux/souce/* but target linux has only folder setup so what ever files copied need to be placed in the linux server with same... (8 Replies)
Discussion started by: balajikalai
8 Replies

4. UNIX and Linux Applications

Need to copy the latest file from Unix server to Shared folder

Hi All, One job in unix server will generate .csv files daily. I need to copy the latest of these .csv file from the unix server to the shared drive/folder in windows through unix script. My shared folder will look something like W:\some folder(for example). Could any one of you please help... (3 Replies)
Discussion started by: jaya@123
3 Replies

5. Solaris

Unable to mount USB Pen drive on my Server

Hello Gurus!! Very recently i tried to mount a USB pen drive onto my solaris 10 (X4170 model) server. As i understand, in ideal scenarios it should get mounted automatically, but it did not happen. Neither anything is shown in "iostat -En" output or "rmformat -l" about the pen drive. I also... (10 Replies)
Discussion started by: EmbedUX
10 Replies

6. Red Hat

unable to mount windows share on linux 5.1

Hi, I am using redhat linux 5.1 - 64bit, using command mount -t cifs //192.192.192.192/SW/Ex /192.192.192.192 -o username=test I am getting below error. mount: block device //192.192.192.192/SW/Ex is write-protected, mounting read-only mount: cannot mount block device... (3 Replies)
Discussion started by: manoj.solaris
3 Replies

7. Red Hat

Unable to remove shared memory in Redhat Linux

unable to remove shared memory using ipcrm -m in linux $ ipcs -m ------ Shared Memory Segments -------- key shmid owner perms bytes nattch status 0x00000000 32768 root 644 80 2 0x00000000 65537 root ... (4 Replies)
Discussion started by: LinuxLearner
4 Replies

8. UNIX for Dummies Questions & Answers

Unable to remove folder in linux

Hi I am using red hat linux, In my folder a strange folder is created i.e. " -a " , folder name is preceded with hyphen. Now if i try to remove with rm -rf -1 , i am unable to do it. Can anyone please let me know how to do it, & what this kind of folder means Thanks Sarbjit (3 Replies)
Discussion started by: sarbjit
3 Replies

9. Linux

Unable to access fedora 10 shared folder from windows

Linux OS : Fedora 10 (No graphical mode) Windows OS : XP and Windows Server NT I am able to access from my windows to linux using following step //fedora10 ip username of admin and password I am able to view the admin and shared printer of fedora 10. When i try to enter in the admin... (0 Replies)
Discussion started by: nightmare49
0 Replies

10. UNIX for Dummies Questions & Answers

Command to list samba shared folder in linux

Hi All, Is there any command to list samba shared folders in red hat linux 7.2 Thanks in advance Bache Gowda (0 Replies)
Discussion started by: bache_gowda
0 Replies
Login or Register to Ask a Question