We have copied off all the files from an OST (lfs find identifies no files
on the OST) but the OST still has some left over files
when I get the FID of this file using zfsobj2fid it appears to get a
which then returns
bad FID format '[0x200000a48:0x1e86e:0x1]', should be [seq:oid:ver] (e.g.
fid2path: error on FID [0x200000a48:0x1e86e:0x1]: Invalid argument
when I check it with lfs fid2path
Checking a few OST's this isn't isolated. I've seen a few different
Extra, quite a file files under the O/0/ directory didn't have trusted.fid
set... which seemed strange.
So a few questions.
How did this file get orphaned?
How did the FID type get corrupt?
I had to modify zfsobj2fid to work with a mounted snapshot of the ZFS
# diff ../zfsobj2fid /sbin/zfsobj2fid
< p = subprocess.Popen(["zdb", "-O", "-vvv", sys.argv, sys.argv],
> p = subprocess.Popen(["zdb", "-e", "-vvv", sys.argv, sys.argv],
Dr Stuart Midgley
lustre-discuss mailing list