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
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... ) Also check https://www.ibm.com/support/knowledgecenter/en/STXKQY_5.0.3/com.ibm.spectrum... 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 https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listi...
Hi, I use fsid=0 (having one export). It seems there is some incompatibility between gpfs and redhat 3.10.0-957. We have gpfs 5.0.2-1, I can see that 5.0.2-2 is tested. So maybe it is fixed in later gpfs versions. On Sat, Apr 27, 2019 at 10:37:48PM +0300, Tomer Perry wrote:
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... ) Also check https://www.ibm.com/support/knowledgecenter/en/STXKQY_5.0.3/com.ibm.spectrum... 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 https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listi...
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- Lukáš Hejtmánek Linux Administrator only because Full Time Multitasking Ninja is not an official job title
participants (2)
-
Lukas Hejtmanek -
Tomer Perry
