[LU-1203] When upgrading from Lustre 1.8 to 2.1, if the parameter root_squash is set, Lustre throws an error and denies mounting the filesystem. It's necessary to completely delete the parameter Created: 12/Mar/12 Updated: 16/Apr/13 Resolved: 27/Sep/12 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.1.0, Lustre 2.2.0, Lustre 2.3.0, Lustre 2.1.2 |
| Fix Version/s: | Lustre 2.3.0, Lustre 2.4.0, Lustre 2.1.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Antonio Sanz | Assignee: | Jian Yu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | migration, root_squash,, writeconf | ||
| Environment: |
Scientific Linux 5.5 (servers), Scientific Linux 5.5 & 6.2 (clients) |
||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 4459 | ||||||||
| Description |
|
When upgrading from Lustre 1.8 to 2.1, if the parameter rootsquash is set, Lustre throws an error and denies mounting the filesystem. This is the error from the MDS logs: Mar 7 20:03:35 mds01 kernel: LustreError: 6610:0:(obd_config.c:1140:class_process_proc_param()) home-MDT0000: unknown param rootsquash=99:99 We were able to overcome this using tunefs.lustre with the option --writeconf added. This should be managed automatically (ideally, migrating the configuration) or at least, documented. |
| Comments |
| Comment by Andreas Dilger [ 12/Mar/12 ] |
|
I agree that this should be handled internally to the MDT code in mdt_process_config() by renaming the parameter. The new parameter is called "mdt.root_squash" (note underscore). This was done similarly for the quota configuration in |
| Comment by Peter Jones [ 19/Apr/12 ] |
|
YuJian Could you please look into this one? Thanks Peter |
| Comment by Jian Yu [ 04/May/12 ] |
|
The old "mdt.nosquash_nid" parameter also needs to be renamed to "mdt.nosquash_nids". |
| Comment by Jian Yu [ 08/May/12 ] |
|
Patch for master branch: http://review.whamcloud.com/2680 |
| Comment by Jian Yu [ 28/Jun/12 ] |
The above patch was landed on master branch. Here is the patch for b2_1 branch: http://review.whamcloud.com/3237. |
| Comment by Jian Yu [ 14/Jul/12 ] |
|
The patches have been landed on master and b2_1 branches. The remaining work on this ticket is to improve the patch on master branch to handle more parameters as per the suggestion from Andreas on http://review.whamcloud.com/3237 :
|
| Comment by Jian Yu [ 31/Aug/12 ] |
Patch for master branch: http://review.whamcloud.com/3836 |
| Comment by Jian Yu [ 06/Sep/12 ] |
|
Patch for b2_1 branch: http://review.whamcloud.com/3900 The one for master branch has been landed and also cherry-picked on b2_3 branch. |
| Comment by Jodi Levi (Inactive) [ 27/Sep/12 ] |
|
Please reopen ticket if there is additional work needed. |