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
# 8  
Old 09-25-2017
I'm still scratching my head on this one. Hopefully a HP-UX expert will chime in at some point.

Another thought is could the NFS versions on these systems be different???
Often you can specify the version (2, 3 or 4) on the 'mount' command line but I don't know whether that option (eg, '-o vers=3') is available in HP-UX. If the NFS versions are different then that will cause trouble.

Also, perhaps you should be putting '-F nfs' option on your mount command. Again, I'm not sure about HP-UX.

Also, I would think about setting the protection mask on the /public share to 777 until this issue is resolved to ensure security isn't getting in the way.

I'll continue to think about this one.

---------- Post updated at 12:55 PM ---------- Previous update was at 12:35 PM ----------

This page from the HP forum:

how to check NFS version - Hewlett Packard Enterprise Community

states that you can specify the NFS version to use on the mount command with '-o vers=<2, 3 or 4>'

Also it would be worth checking the supported NFS versions on all HP-UX boxes (in case they are different) and the Suse box.
# 9  
Old 09-25-2017
Quote:
Originally Posted by hicksd8
I'm still scratching my head on this one. Hopefully a HP-UX expert will chime in at some point.

Another thought is could the NFS versions on these systems be different???
Often you can specify the version (2, 3 or 4) on the 'mount' command line but I don't know whether that option (eg, '-o vers=3') is available in HP-UX. If the NFS versions are different then that will cause trouble.

Also, perhaps you should be putting '-F nfs' option on your mount command. Again, I'm not sure about HP-UX.

Also, I would think about setting the protection mask on the /public share to 777 until this issue is resolved to ensure security isn't getting in the way.

I'll continue to think about this one.

---------- Post updated at 12:55 PM ---------- Previous update was at 12:35 PM ----------

This page from the HP forum:

how to check NFS version - Hewlett Packard Enterprise Community

states that you can specify the NFS version to use on the mount command with '-o vers=<2, 3 or 4>'

Also it would be worth checking the supported NFS versions on all HP-UX boxes (in case they are different) and the Suse box.
Both server 10.1.2.6 and 10.1.2.8 has a NFS version 2 and 3, and the Linux has NFS version 2,3, and 4

I have tried to run
Code:
mount -o vers=3 10.1.2.82:/public /bkup

Still no success on 10.1.2.8 but success on 10.1.2.6
# 10  
Old 09-26-2017
Can you please post the subnet mask setting for each of your systems.

I just wonder whether the NFS mount request to 10.1.2.82 is actually reaching that box (but perhaps going out onto the internet). You say "all can ping 10.1.2.82". Can you prove that by downing/unplugging that box and check that a subsequent ping fails on all boxes.

You can use 10.x.x.x on your own network but you have to be sure it's configured correctly and all your boxes know that such addresses are on the local subnet.

As I say, I'm beginning to consider whether this is a network config problem and the NFS mount request is never reaching its target.
# 11  
Old 09-27-2017
Hi,

Subnet mask setting for each server :
Code:
intabck:/>ifocnfig lan0
sh: ifocnfig:  not found.
intabck:/>ifconfig lan0
lan0: flags=1843<UP,BROADCAST,RUNNING,MULTICAST,CKO>
        inet 10.1.2.8 netmask fffff000 broadcast 10.1.15.255

Code:
intaqa:/>ifconfig lan0
lan0: flags=843<UP,BROADCAST,RUNNING,MULTICAST>
        inet 10.1.2.6 netmask fffff000 broadcast 10.1.15.255
intaqa:/>

Code:
linux-4zr9:~ # ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 12:50:75:EC:B8:87
          inet addr:10.1.2.82  Bcast:10.1.15.255  Mask:255.255.240.0
          inet6 addr: fe80::1050:75ff:feec:b887/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:61509649 errors:1449 dropped:223434 overruns:0 frame:1449
          TX packets:70176 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4150003355 (3957.7 Mb)  TX bytes:3901140 (3.7 Mb)

linux-4zr9:~ #

Ping from 10.1.2.8, and after a while down the 10.1.2.82
Code:
64 bytes from 10.1.2.82: icmp_seq=76. time=0. ms
64 bytes from 10.1.2.82: icmp_seq=77. time=0. ms
64 bytes from 10.1.2.82: icmp_seq=78. time=0. ms
64 bytes from 10.1.2.82: icmp_seq=79. time=0. ms
64 bytes from 10.1.2.82: icmp_seq=80. time=0. ms
64 bytes from 10.1.2.82: icmp_seq=81. time=0. ms
♥
----10.1.2.82 PING Statistics----
82 packets transmitted, 20 packets received, 75% packet loss
round-trip (ms)  min/avg/max = 0/54/1040

Ping from 10.1.2.6 when 10.1.2.82 down for a while and up the 10.1.2.82 :
Code:
64 bytes from 10.1.2.82: icmp_seq=37. time=61. ms
64 bytes from 10.1.2.82: icmp_seq=38. time=0. ms
64 bytes from 10.1.2.82: icmp_seq=39. time=0. ms
64 bytes from 10.1.2.82: icmp_seq=40. time=0. ms
64 bytes from 10.1.2.82: icmp_seq=41. time=0. ms
♥
----10.1.2.82 PING Statistics----
42 packets transmitted, 7 packets received, 83% packet loss
round-trip (ms)  min/avg/max = 0/459/2081

# 12  
Old 09-28-2017
I can't see anything obviously wrong in that.

Can you retrieve the MTU setting for all boxes?

(Which version of HP-UX are you using? I don't think you've said.)
# 13  
Old 09-28-2017
For 10.1.2.6 and 10.1.2.8 using HP-UX B.11.23 U ia64 (tb)
For 10.1.2.103 using HP-UX intaapp2 B.11.31 U ia64 (tb)

MTU for 10.1.2.8:
Code:
intabck:/>netstat -i
Name      Mtu  Network         Address         Ipkts   Ierrs Opkts   Oerrs Coll
lan1      1500 192.168.2.0     192.168.2.8     0       0     0       0     0
lan0      1500 10.1.0.0        intabck         5039336 0     69686   0     0
lo0       4136 loopback        localhost       306720  0     306720  0     0

For 10.1.2.6 :
Code:
Name      Mtu  Network         Address         Ipkts   Ierrs Opkts   Oerrs Coll
lan1      1500 192.168.2.0     192.168.2.6     809368  0     809449  0     0
lan0      1500 10.1.0.0        intaqa          2527675585 94677797 876270315 0
   0
lo0       4136 loopback        localhost       21359196 0     21359196 0     0

# 14  
Old 09-28-2017
Is the MTU on the Suse box also 1500?
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