Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Lustre 2.14.0
-
None
-
3
-
9223372036854775807
Description
file was created on one node and on that node was created rule to add file to cache.
lctl pcc add /mnt/lustre /mnt/pccro --param "fname={*.doc} roid=7 ropcc=1"
pdsh -w trevis-59vm1[0,1,2] lfs pcc state /mnt/lustre/myfile.doc trevis-59vm12: file: /mnt/lustre/myfile.doc, type: readwrite, PCC file: /0007/0000/0402/0000/0002/0000/0x200000402:0x7:0x0, user number: 0, flags: 0 trevis-59vm10: file: /mnt/lustre/myfile.doc, type: none trevis-59vm11: file: /mnt/lustre/myfile.doc, type: none
on attempt to read file from other nodes I seeing this error. and file type is marked as readwrite. Epected output is readonly.
pdsh -w trevis-59vm1[0,1,2] cat /mnt/lustre/myfile.doc trevis-59vm11: cat: /mnt/lustre/myfile.doc: No data available trevis-59vm12: filedata trevis-59vm10: cat: /mnt/lustre/myfile.doc: No data available
Last time when I was checked this it works successfully file showed status
# pdsh -w trevis-59vm1[0,1,2] /usr/sbin/lctl pcc list /mnt/lustre | dshbak
----------------
trevis-59vm10
----------------
pcc:
-
pccpath: /mnt/pccro
hsmtool: posix
rwid: 0
roid: 7
flags: 2e
autocache: fname={*.doc}
----------------
trevis-59vm11
----------------
pcc:
-
pccpath: /mnt/pccro
hsmtool: posix
rwid: 0
roid: 7
flags: 2e
autocache: fname={*.doc}
----------------
trevis-59vm12
----------------
pcc:
-
pccpath: /mnt/pccro
hsmtool: posix
rwid: 0
roid: 7
flags: 2e
autocache: fname={*.doc}