[LU-591] 1.8->2.0 Lustre filesystem upgrade tool Created: 12/Aug/11 Updated: 09/Apr/13 Resolved: 09/Apr/13 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.1.0 |
| Fix Version/s: | Lustre 2.4.0 |
| Type: | New Feature | Priority: | Minor |
| Reporter: | Vitaly Fertman | Assignee: | nasf (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Rank (Obsolete): | 7537 | ||||||||
| Comments |
| Comment by Vitaly Fertman [ 12/Aug/11 ] |
|
remote: http://review.whamcloud.com/1230 the code is not 100% ready, it is still under testing. |
| Comment by Andreas Dilger [ 12/Aug/11 ] |
|
I'm generally not in favour of the last patch (http://review.whamcloud.com/1232, automatically enabling the INCOMPAT_DIR_DATA feature at first mount) since this can cause interoperability issues, and may cause problems for downgrade to 1.8 if there are problems in that code. In upstream ext4 none of the new features are enabled automatically by the kernel, but rather depend on explicit user action (tune2fs). In this case, it makes sense that the enabling of this feature should be done either by tune2fs or some other explicit action that runs the filesystem upgrade tool. As for the "compatible with 1 version", we are working to maintain protocol compatibility with 1.8.x clients and upgrade from 1.8.x -> 2.1, because almost nobody is running 2.0.0. I checked and it appears that there is "data_in_dirent" support going back to 1.8.2 (https://bugzilla.lustre.org/show_bug.cgi?id=21188 was also fixed in 1.8.2 after the initial patch landing), so this should be OK but I'd like feedback from Johann and Oleg as well. |
| Comment by Vitaly Fertman [ 06/Sep/11 ] |
|
HLD |
| Comment by Vitaly Fertman [ 20/Oct/11 ] |
|
code is rebased against b2_1 and moved to: |
| Comment by Alex Zhuravlev [ 07/Jan/13 ] |
|
1230 seem to be introduced a bug: rc = mdo_xattr_get(env, mdd_obj, ldata->ml_buf, XATTR_NAME_LINK, capa); if (rc == -ERANGE) { /* Buf was too small, figure out what we need. */ mdd_buf_put(ldata->ml_buf); rc = mdo_xattr_get(env, mdd_obj, ldata->ml_buf, XATTR_NAME_LINK, capa); in the latter mdo_xattr_get(), &LU_BUF_NULL should be used instead of ldata->ml_buf. |
| Comment by Patrick Farrell (Inactive) [ 03/Apr/13 ] |
|
In light of the changes to lfsck in phase 1.5(https://jira.hpdd.intel.com/browse/LU-1866), is this tool still needed? Thanks. |
| Comment by Andreas Dilger [ 09/Apr/13 ] |
|
Patrick,
|