Hi,

Please use the fsid option in /etc/exports ( man exports and: https://www.ibm.com/support/knowledgecenter/en/STXKQY_5.0.3/com.ibm.spectrum.scale.v5r03.doc/bl1adm_nfslin.htm)
Also check https://www.ibm.com/support/knowledgecenter/en/STXKQY_5.0.3/com.ibm.spectrum.scale.v5r03.doc/bl1adv_cnfs.htm in case you want HA with kernel NFS.



Regards,

Tomer Perry
Scalable I/O Development (Spectrum Scale)
email: tomp@il.ibm.com
1 Azrieli Center, Tel Aviv 67021, Israel
Global Tel:    +1 720 3422758
Israel Tel:      +972 3 9188625
Mobile:         +972 52 2554625




From:        Lukas Hejtmanek <xhejtman@ics.muni.cz>
To:        gpfsug-discuss@spectrumscale.org
Date:        26/04/2019 15:37
Subject:        [gpfsug-discuss] gpfs and device number
Sent by:        gpfsug-discuss-bounces@spectrumscale.org




Hello,

I noticed that from time to time, device id of a gpfs volume is not same
across whole gpfs cluster.

[root@kat1 ~]# stat /gpfs/vol1/
 File: ‘/gpfs/vol1/’
 Size: 262144                     Blocks: 512        IO Block: 262144 directory
Device: 28h/40d                 Inode: 3

[root@kat2 ~]# stat /gpfs/vol1/
 File: ‘/gpfs/vol1/’
 Size: 262144                     Blocks: 512        IO Block: 262144 directory
Device: 2bh/43d                 Inode: 3

[root@kat3 ~]#  stat /gpfs/vol1/
 File: ‘/gpfs/vol1/’
 Size: 262144                     Blocks: 512        IO Block: 262144 directory
Device: 2ah/42d                 Inode: 3

this is really bad for kernel NFS as it uses device id for file handles thus
NFS failover leads to nfs stale handle error.

Is there a way to force a device number?

--
Lukáš Hejtmánek

Linux Administrator only because
 Full Time Multitasking Ninja
 is not an official job title
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss