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
# 15  
Old 09-29-2017
Please show use the output of the following when the error occurs :

Code:
# Your mount try on intabck box
fuser /bkup
mount
bdf
netstat -rn
traceroute 10.1.2.82
dmesg | tail -5

Regards
Peasant.
# 16  
Old 09-29-2017
When you use the showmount command you are implicitly stating that you use NFSv3, so just to clarify: you do use NFSv3, yes?

For the outside chance you don't: you need to have the "NFS domain" on server and client set to the same value. You do that in /etc/idmapd.conf. My suggestion is to use the same value as for the DNS domain, but it can have any value in fact.

Also check if the non-working systems have the right (=corresponding) services started, because NFSv3 and NFSv4 use completely different daemons.

I hope this helps.

bakunin
# 17  
Old 10-01-2017
Your problem is here
Code:
intabck:/>rpcinfo -p 10.1.2.82
rpcinfo: can't contact portmapper: RPC: Rpcbind failure - RPC: Failed (unspecified error)

Is port 111 (rpcbind) defined in /etc/services on intabck for both udp and tcp?
Is a firewall running on the NFS server that restricts port 111 to certain IP addresses?
# 18  
Old 10-02-2017
Hi all,

Hi,

The MTU from Suse server is :
Code:
linux-4zr9:~ # netstat -i
Kernel Interface table
Iface   MTU Met    RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0   1500   0 110413187   2431 327835      0   126598      0      0      0 BMR
U
lo    16436   0      118      0      0      0      118      0      0      0 LRU
linux-4zr9:~ #

Mount try from intabck :
Code:
intabck:/etc>mount 10.1.2.82:/public /bkup
NFS server 10.1.2.82 not responding still trying
NFS server 10.1.2.82 not responding still trying

Fuser :
Code:
intabck:/etc>fuser /bkup
/bkup:

Mount :
Code:
intabck:/etc>mount
/ on /dev/vg00/lvol7 ioerror=nodisable,log,dev=40000007 on Thu Sep 21 22:17:08 2
017
/stand on /dev/vg00/lvol1 ioerror=mwdisable,log,nodatainlog,tranflush,dev=400000
01 on Thu Sep 21 22:17:09 2017
/var on /dev/vg00/lvol12 ioerror=mwdisable,delaylog,nodatainlog,dev=4000000c on
Thu Sep 21 22:17:23 2017
/usr on /dev/vg00/lvol11 ioerror=mwdisable,delaylog,nodatainlog,dev=4000000b on
Thu Sep 21 22:17:23 2017
/usr/sap/trans on /dev/vg00/lvol13 ioerror=mwdisable,largefiles,delaylog,nodatai
nlog,dev=4000000e on Thu Sep 21 22:17:23 2017
/usr/sap/INQ on /dev/vg00/lvol17 ioerror=mwdisable,nolargefiles,delaylog,nodatai
nlog,dev=4000001e on Thu Sep 21 22:17:23 2017
/usr/sap/DEV on /dev/vg00/lvol18 ioerror=mwdisable,nolargefiles,delaylog,nodatai
nlog,dev=4000001f on Thu Sep 21 22:17:23 2017
/tmp on /dev/vg00/lvol10 ioerror=mwdisable,delaylog,nodatainlog,dev=4000000a on
Thu Sep 21 22:17:24 2017
/sapmnt/INQ on /dev/vg00/lvol15 ioerror=mwdisable,nolargefiles,delaylog,nodatain
log,dev=4000001b on Thu Sep 21 22:17:24 2017
/sapmnt/DEV on /dev/vg00/lvol16 ioerror=mwdisable,nolargefiles,delaylog,nodatain
log,dev=4000001d on Thu Sep 21 22:17:24 2017
/oracle on /dev/vg00/lvora ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev
=4000000d on Thu Sep 21 22:17:24 2017
/oracle/INQ/sapreorg on /dev/vg00/lvreorg ioerror=mwdisable,nolargefiles,delaylo
g,nodatainlog,dev=40000019 on Thu Sep 21 22:17:25 2017
/oracle/INQ/sapdata8 on /dev/vgsap/lvdata8 ioerror=mwdisable,nolargefiles,delayl
og,nodatainlog,dev=4001000e on Thu Sep 21 22:17:25 2017
/oracle/INQ/sapdata7 on /dev/vgsap/lvdata7 ioerror=mwdisable,nolargefiles,delayl
og,nodatainlog,dev=4001000d on Thu Sep 21 22:17:25 2017
/oracle/INQ/sapdata6 on /dev/vgsap/lvdata6 ioerror=mwdisable,nolargefiles,delayl
og,nodatainlog,dev=4001000c on Thu Sep 21 22:17:25 2017
/oracle/INQ/sapdata5 on /dev/vgsap/lvdata5 ioerror=mwdisable,nolargefiles,delayl
og,nodatainlog,dev=4001000b on Thu Sep 21 22:17:25 2017
/oracle/INQ/sapdata4 on /dev/vgsap/lvdata4 ioerror=mwdisable,nolargefiles,delayl
og,nodatainlog,dev=4001000a on Thu Sep 21 22:17:26 2017
/oracle/INQ/sapdata3 on /dev/vgsap/lvdata3 ioerror=mwdisable,nolargefiles,delayl
og,nodatainlog,dev=40010009 on Thu Sep 21 22:17:26 2017
/oracle/INQ/sapdata2 on /dev/vgsap/lvdata2 ioerror=mwdisable,nolargefiles,delayl
og,nodatainlog,dev=40010008 on Thu Sep 21 22:17:26 2017
/oracle/INQ/sapdata1 on /dev/vgsap/lvdata1 ioerror=mwdisable,nolargefiles,delayl
og,nodatainlog,dev=40010007 on Thu Sep 21 22:17:26 2017
/oracle/INQ/saparch on /dev/vg00/lvarch ioerror=mwdisable,nolargefiles,delaylog,
nodatainlog,dev=4000000f on Thu Sep 21 22:17:27 2017
/oracle/INQ/origlogB on /dev/vg00/lvolb ioerror=mwdisable,nolargefiles,delaylog,
nodatainlog,dev=40000010 on Thu Sep 21 22:17:27 2017
/oracle/INQ/origlogA on /dev/vg00/lvola ioerror=mwdisable,nolargefiles,delaylog,
nodatainlog,dev=40000011 on Thu Sep 21 22:17:27 2017
/oracle/INQ/mirrlogB on /dev/vg00/lvmirb ioerror=mwdisable,nolargefiles,delaylog
,nodatainlog,dev=40000012 on Thu Sep 21 22:17:27 2017
/oracle/INQ/mirrlogA on /dev/vg00/lvmira ioerror=mwdisable,nolargefiles,delaylog
,nodatainlog,dev=40000013 on Thu Sep 21 22:17:27 2017
/oracle/DEV/sapreorg on /dev/vg00/lvdreor ioerror=mwdisable,nolargefiles,delaylo
g,nodatainlog,dev=4000001a on Thu Sep 21 22:17:27 2017
/oracle/DEV/sapdata6 on /dev/vgsap/lvol25 ioerror=mwdisable,nolargefiles,delaylo
g,nodatainlog,dev=40010006 on Thu Sep 21 22:17:28 2017
/oracle/DEV/sapdata5 on /dev/vgsap/lvol24 ioerror=mwdisable,nolargefiles,delaylo
g,nodatainlog,dev=40010005 on Thu Sep 21 22:17:28 2017
/oracle/DEV/sapdata4 on /dev/vgsap/lvol23 ioerror=mwdisable,nolargefiles,delaylo
g,nodatainlog,dev=40010004 on Thu Sep 21 22:17:28 2017
/oracle/DEV/sapdata3 on /dev/vgsap/lvol22 ioerror=mwdisable,nolargefiles,delaylo
g,nodatainlog,dev=40010003 on Thu Sep 21 22:17:28 2017
/oracle/DEV/sapdata2 on /dev/vgsap/lvol21 ioerror=mwdisable,nolargefiles,delaylo
g,nodatainlog,dev=40010002 on Thu Sep 21 22:17:28 2017
/oracle/DEV/sapdata1 on /dev/vgsap/lvol20 ioerror=mwdisable,nolargefiles,delaylo
g,nodatainlog,dev=40010001 on Thu Sep 21 22:17:28 2017
/oracle/DEV/saparch on /dev/vg00/lvdar ioerror=mwdisable,nolargefiles,delaylog,n
odatainlog,dev=40000014 on Thu Sep 21 22:17:29 2017
/oracle/DEV/origlogB on /dev/vg00/lvdolb ioerror=mwdisable,nolargefiles,delaylog
,nodatainlog,dev=40000015 on Thu Sep 21 22:17:29 2017
/oracle/DEV/origlogA on /dev/vg00/lvdola ioerror=mwdisable,nolargefiles,delaylog
,nodatainlog,dev=40000016 on Thu Sep 21 22:17:29 2017
/oracle/DEV/mirrlogB on /dev/vg00/lvdmib ioerror=mwdisable,nolargefiles,delaylog
,nodatainlog,dev=40000018 on Thu Sep 21 22:17:29 2017
/oracle/DEV/mirrlogA on /dev/vg00/lvdmia ioerror=mwdisable,nolargefiles,delaylog
,nodatainlog,dev=40000017 on Thu Sep 21 22:17:29 2017
/opt on /dev/vg00/lvol9 ioerror=mwdisable,delaylog,nodatainlog,dev=40000009 on T
hu Sep 21 22:17:29 2017
/home on /dev/vg00/lvol8 ioerror=mwdisable,delaylog,nodatainlog,dev=40000008 on
Thu Sep 21 22:17:30 2017
/net on -hosts ignore,indirect,nosuid,soft,nobrowse,dev=a on Mon Sep 25 14:00:22
 2017

bdf :
Code:
intabck:/etc>bdf
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol7    2097152  616568 1480584   29% /
/dev/vg00/lvol1    2097152  223656 1858944   11% /stand
/dev/vg00/lvol12   20971520 5238456 15638224   25% /var
/dev/vg00/lvol11   15728640 6282888 9371984   40% /usr
/dev/vg00/lvol13   4194304 2281447 1793353   56% /usr/sap/trans
/dev/vg00/lvol17    655360   16629  598818    3% /usr/sap/INQ
/dev/vg00/lvol18    655360   16629  598818    3% /usr/sap/DEV
/dev/vg00/lvol10   2097152 1967112  129088   94% /tmp
/dev/vg00/lvol15   2097152   16982 1950167    1% /sapmnt/INQ
/dev/vg00/lvol16    655360   16629  598818    3% /sapmnt/DEV
/dev/vg00/lvora    20971520 10356584 9951586   51% /oracle
/dev/vg00/lvreorg  2097152   16982 1950167    1% /oracle/INQ/sapreorg
/dev/vgsap/lvdata8 204800000   66665 191937509    0% /oracle/INQ/sapdata8
/dev/vgsap/lvdata7 92160000   39060 86363389    0% /oracle/INQ/sapdata7
/dev/vgsap/lvdata6 81920000   36547 76765745    0% /oracle/INQ/sapdata6
/dev/vgsap/lvdata5 81920000   36547 76765745    0% /oracle/INQ/sapdata5
/dev/vgsap/lvdata4 81920000   36547 76765745    0% /oracle/INQ/sapdata4
/dev/vgsap/lvdata3 81920000   36547 76765745    0% /oracle/INQ/sapdata3
/dev/vgsap/lvdata2 112640000   44080 105558682    0% /oracle/INQ/sapdata2
/dev/vgsap/lvdata1 92160000   39060 86363389    0% /oracle/INQ/sapdata1
/dev/vg00/lvarch   2097152    1622 1964567    0% /oracle/INQ/saparch
/dev/vg00/lvolb    1048576   16725  967368    2% /oracle/INQ/origlogB
/dev/vg00/lvola    1048576   16725  967368    2% /oracle/INQ/origlogA
/dev/vg00/lvmirb   1048576   16725  967368    2% /oracle/INQ/mirrlogB
/dev/vg00/lvmira   1048576   16725  967368    2% /oracle/INQ/mirrlogA
/dev/vg00/lvdreor  2097152   16982 1950167    1% /oracle/DEV/sapreorg
/dev/vgsap/lvol25  8208384   18484 7678039    0% /oracle/DEV/sapdata6
/dev/vgsap/lvol24  7176192   18227 6710600    0% /oracle/DEV/sapdata5
/dev/vgsap/lvol23  7176192   18227 6710600    0% /oracle/DEV/sapdata4
/dev/vgsap/lvol22  7176192   18227 6710600    0% /oracle/DEV/sapdata3
/dev/vgsap/lvol21  9224192   18733 8630125    0% /oracle/DEV/sapdata2
/dev/vgsap/lvol20  7176192   18227 6710600    0% /oracle/DEV/sapdata1
/dev/vg00/lvdar    1048576   16725  967368    2% /oracle/DEV/saparch
/dev/vg00/lvdolb   1048576   16725  967368    2% /oracle/DEV/origlogB
/dev/vg00/lvdola   1048576   16725  967368    2% /oracle/DEV/origlogA
/dev/vg00/lvdmib   1048576   16725  967368    2% /oracle/DEV/mirrlogB
/dev/vg00/lvdmia   1048576   16725  967368    2% /oracle/DEV/mirrlogA
/dev/vg00/lvol9    10485760 4434000 6004536   42% /opt
/dev/vg00/lvol8    2097152   37056 2044056    2% /home
intabck:/etc>

netstat -rn :
Code:
intabck:/etc>netstat -rn
Routing tables
Destination           Gateway            Flags   Refs Interface  Pmtu
127.0.0.1             127.0.0.1          UH        0  lo0        4136
10.1.2.8              10.1.2.8           UH        0  lan0       4136
192.168.2.8           192.168.2.8        UH        0  lan1       4136
192.168.2.0           192.168.2.8        U         2  lan1       1500
10.1.0.0              10.1.2.8           U         2  lan0       1500
127.0.0.0             127.0.0.1          U         0  lo0           0

traceroute 10.1.2.82 :
Code:
intabck:/etc>traceroute 10.1.2.82
traceroute to 10.1.2.82 (10.1.2.82), 30 hops max, 40 byte packets
 1  intalinux (10.1.2.82)  1.140 ms  0.225 ms  0.195 ms
intabck:/etc>

dmesg | tail -5 :
Code:
intabck:/etc>dmesg | tail -5
NFS server 10.1.2.82 not responding still trying
NFS server 10.1.2.82 not responding still trying
NFS server 10.1.2.82 not responding still trying
NFS server 10.1.2.82 not responding still trying
NFS server 10.1.2.82 not responding still trying
intabck:/etc>

And yes I do use NFSv3

/etc/services on intabck :
Code:
supdup        95/tcp                 #
hostnames    101/tcp  hostname       # NIC Host Name Server
tsap         102/tcp iso_tsap iso-tsap # ISO TSAP (part of ISODE)
pop          109/tcp postoffice pop2 # Post Office Protocol - Version 2
pop3         110/tcp  pop-3          # Post Office Protocol - Version 3
portmap      111/tcp  sunrpc         # SUN Remote Procedure Call
portmap      111/udp  sunrpc         #
auth         113/tcp  authentication # Authentication Service

# 19  
Old 10-02-2017
Silly questions it may seem but I had a lot of HP years ago ( and strange issues)...
- Do all the HP boxes have their peer HP defined in /etc/hosts?
- what do you have in /etc/nsswitch.conf and /etc/resolv.conf ?
# 20  
Old 10-02-2017
I'm obviously still confused about this one but still convinced this is a network issue.

In your last post you said.................

Quote:
intabck:/etc>netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
10.1.2.8 10.1.2.8 UH 0 lan0 4136
192.168.2.8 192.168.2.8 UH 0 lan1 4136
192.168.2.0 192.168.2.8 U 2 lan1 1500
10.1.0.0 10.1.2.8 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
Surely that means that if 'intabck' is trying to reach any address starting 10.1. it will route to gateway 10.1.2.8 which I guess is your internet gateway, and NOT treat it as if 10.1.2.82 is on the local subnet. Yes?

---------- Post updated at 08:37 AM ---------- Previous update was at 08:33 AM ----------

I said many posts back that the 'showmount' command telling you that /public NFS handle was on 10.1.2.8 was not right.

Last edited by hicksd8; 10-02-2017 at 05:51 AM..
# 21  
Old 10-02-2017
Quote:
Originally Posted by vbe
Silly questions it may seem but I had a lot of HP years ago ( and strange issues)...
- Do all the HP boxes have their peer HP defined in /etc/hosts?
- what do you have in /etc/nsswitch.conf and /etc/resolv.conf ?
Note all the HP boxes have their peer HP defined in /etc/hosts.

Code:
intabck:/etc>more /etc/nsswitch.conf
/etc/nsswitch.conf: No such file or directory
intabck:/etc>more /etc/resolv.conf
/etc/resolv.conf: No such file or directory
intabck:/etc>

Code:
intaqa:/>more /etc/nsswitch.conf
/etc/nsswitch.conf: No such file or directory
intaqa:/>more /etc/resolv.conf
/etc/resolv.conf: No such file or directory
intaqa:/>

---------- Post updated at 02:51 PM ---------- Previous update was at 02:50 PM ----------

Quote:
Originally Posted by hicksd8
I'm obviously still confused about this one but still convinced this is a network issue.

In your last post you said.................

Surely that means that if 'intabck' is trying to reach any address starting 10.1. it will route to gateway 10.1.2.8 which I guess is your internet gateway, and NOT treat it as if 10.1.2.82 is on the local subnet. Yes?

Please can any ip/networking expert/moderator reading this tell me whether I'm right or wrong because I'm doubting myself here which is very rare.

---------- Post updated at 08:37 AM ---------- Previous update was at 08:33 AM ----------

I said many posts back that the 'showmount' command telling you that /public NFS handle was on 10.1.2.8 was not right.
10.1.2.8 is not a gateway, it is its own ip

The /public is on the Suse server with ip 10.1.2.82 and on the local subnet.
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