[LU-3489] ZFS OSD missing OI iterator for scrub/LFSCK Created: 20/Jun/13  Updated: 15/Sep/15  Resolved: 15/Sep/15

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.4.0, Lustre 2.5.0
Fix Version/s: Lustre 2.6.0, Lustre 2.5.4

Type: Bug Priority: Major
Reporter: Andreas Dilger Assignee: Alex Zhuravlev
Resolution: Fixed Votes: 0
Labels: mq414, prz, zfs

Sub-Tasks:
Key
Summary
Type
Status
Assignee
LU-4202 Test failure sanity-lfsck test_8: Exp... Technical task Resolved Andreas Dilger  
LU-4525 Distinguish FID/object visibility for... Technical task Resolved nasf  
Rank (Obsolete): 8772

 Description   

There is not yet an object table iterator for ZFS OSDs. This is needed in order to implement OI Scrub for ZFS (which would also allow a file-level backup of an ldiskfs-based MDT/OST to be restored into a newly-formatted ZFS filesystem) and verifying the Lustre namespace metadata (e.g. linkEA and FID-in-dirent).

It is also needed for implementing the distributed MDT-OST verification for LFSCK Phase II, and MDT-MDT verification for DNE in LFSCK Phase III.



 Comments   
Comment by Alex Zhuravlev [ 02/Aug/13 ]

the initial patches:
http://review.whamcloud.com/#/c/7149/
http://review.whamcloud.com/#/c/7152/
http://review.whamcloud.com/#/c/7155/

there is no OI scrub functionality in, but the object iterator does enables LFSCK on ZFS.
dmu_prefetch() needs to be exported in DMU to improve performance, Brian has already landed a patch doing so.

Comment by Jodi Levi (Inactive) [ 17/Apr/14 ]

Can this ticket be closed?

Comment by Andreas Dilger [ 18/Apr/14 ]

This depends on LU-4202 to land before it can be closed, since sanity-lfsck is intermittently failing for ZFS backing filesystems.

Comment by Jodi Levi (Inactive) [ 08/May/14 ]

The fix for LU-4202 has landed so closing this ticket. Please reopen if more work is needed

Comment by Jian Yu [ 02/Oct/14 ]

Patch http://review.whamcloud.com/7152 was reverted from Lustre b2_5 branch because it caused regression failure LU-5649.

Comment by Gerrit Updater [ 18/Nov/14 ]

Johann Lombardi (johann.lombardi@intel.com) uploaded a new patch: http://review.whamcloud.com/12771
Subject: LU-3489 TEI-2862 harness: add support for MDT failover
Project: soak-test-harness
Branch: master
Current Patch Set: 1
Commit: bd083f77d5e2e5b02a10bc8299fa2ff1c726eb4a

Comment by Gerrit Updater [ 18/Nov/14 ]

Johann Lombardi (johann.lombardi@intel.com) merged in patch http://review.whamcloud.com/12771/
Subject: LU-3489 TEI-2862 harness: add support for MDT failover
Project: soak-test-harness
Branch: master
Current Patch Set:
Commit: 30151681e78e27bf3120e24b5ee166b163ecf1cb

Comment by Johann Lombardi (Inactive) [ 10/Dec/14 ]

Seems that i have used the wrong ticket, sorry for the noise.

Generated at Sat Feb 10 01:34:21 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.