Operating System - Linux
1748261 Members
3612 Online
108760 Solutions
New Discussion юеВ

nfs package failover success but client get statfs error message

 
public
Regular Advisor

nfs package failover success but client get statfs error message

Hi,

I get a problem on linux mcsg nfs toolkit package, I create a NFS package success and export two file systems

[root@filesrv2 ~]# showmount -e
Export list for filesrv2:
/tank *
/user *

On client, mount those two NFS filesystem as following

[root@tapesrv1 /]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
56443212 7698544 45877468 15% /
/dev/cciss/c0d0p1 98747 22323 71325 24% /boot
none 16455476 0 16455476 0% /dev/shm
/dev/mapper/VolGroup00-LogVol03
30254032 238512 28478704 1% /tmp
/dev/mapper/VolGroup00-LogVol04
20642428 77800 19516052 1% /scratch
10.10.12.8:/user 2580277440 109152 2449097728 1% /user
10.10.12.8:/tank 8256977920 11836320 8169308576 1% /tank

mount command report

10.10.12.8:/user on /user type nfs (rw,hard,addr=10.10.12.8)
10.10.12.8:/tank on /tank type nfs (rw,hard,addr=10.10.12.8)

But when I try to failover nfs package to another node, the nfs client dmesg get nfs_statfs: statfs error = 116 message and the df command output as following

[root@tapesrv1 /]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
56443212 7697796 45878216 15% /
/dev/cciss/c0d0p1 98747 22323 71325 24% /boot
none 16455476 0 16455476 0% /dev/shm
/dev/mapper/VolGroup00-LogVol03
30254032 238512 28478704 1% /tmp
/dev/mapper/VolGroup00-LogVol04
20642428 77800 19516052 1% /scratch
10.10.12.8:/user 8256977920 11836320 8169308576 1% /user
10.10.12.8:/tank - - - - /tank

Do you see ? the /user still there but the content become /tank directory's content and /tank fail to reconnect, does anyone get such problem before ?
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: nfs package failover success but client get statfs error message

Shalom,

the nfs stats data is going to be skewed because its collected on two servers.

Is the mount going to the floating IP address?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
public
Regular Advisor

Re: nfs package failover success but client get statfs error message

Hi,

Sure, 10.10.12.8 is floating IP address, I get following finding on NFS toolkit V3 release note known issue

JAGaf57739: HA NFS and ├в Stale NFS Handle├в

The workround are followings

1. Create the logical volumes with persistent minor numbers.
2. Export the filesystem with an assigned filesystem identification

I don't know if this can resolve my problem .... try tomorrow.