Implement OI Scrub for ZFS
(LU-7585)
|
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.11.0 |
| Type: | Technical task | Priority: | Minor |
| Reporter: | nasf (Inactive) | Assignee: | nasf (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
Lustre uses ZAP to implement index object for ZFS backend. When tar the index object via backend ZPL for backup, it is explained as regular file, then when untar it, it is not ZAP formatted again, then the Lustre cannot recognize the 'bad' formatted index object. On the other hand, each backend FS has its own special format for index object. Then we cannot migrate the index files from one backend to another directly. To resolve such issue, the patch will backup the index object with plain format to the local '/index_backup' directory with the name of soruce index's FID string and ".lbx" postfix when The format of the backup is as following: 2) body: after the header, <key, rec> pairs one by one. The backup behavior is controlled via new OSD lproc interface: index_backup. By default, it is off. You can turn it on to enable backup when server umount via writing non-zero value to such lproc interface. |
| Comments |
| Comment by Gerrit Updater [ 15/Nov/17 ] |
|
Fan Yong (fan.yong@intel.com) uploaded a new patch: https://review.whamcloud.com/30106 |
| Comment by nasf (Inactive) [ 15/Nov/17 ] |
|
Another two patches: |
| Comment by Gerrit Updater [ 19/Nov/17 ] |
|
Fan Yong (fan.yong@intel.com) uploaded a new patch: https://review.whamcloud.com/30167 |
| Comment by Gerrit Updater [ 18/Jan/18 ] |
|
Fan Yong (fan.yong@intel.com) uploaded a new patch: https://review.whamcloud.com/30910 |
| Comment by Gerrit Updater [ 18/Jan/18 ] |
|
Fan Yong (fan.yong@intel.com) uploaded a new patch: https://review.whamcloud.com/30911 |
| Comment by Gerrit Updater [ 06/Feb/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30910/ |
| Comment by Gerrit Updater [ 06/Feb/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30911/ |
| Comment by Gerrit Updater [ 06/Feb/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30106/ |
| Comment by Peter Jones [ 06/Feb/18 ] |
|
Landed for 2.11 |