[LU-10039] ioctl error after downgrade Created: 27/Sep/17 Updated: 28/Sep/17 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.10.0, Lustre 2.10.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Andreas Dilger | Assignee: | Zhenyu Xu |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
Took following steps to reproduce the issue and the issue was not reproduced. When I checked the states of nodes, MDT and one client were unmounted, OSTs and 2nd client were mounted. Results: |
| Comments |
| Comment by Andreas Dilger [ 27/Sep/17 ] |
|
After discussion with Saurabh, it seems that the user tools (in particular lfs) were not downgraded with the kernel modules. This is generating errors when using lfs setstripe in sanity test_27A, which is setting the default layout on the root directory: error on ioctl 0x4008669a for '/mnt/lustre' (3): Invalid argument error: setstripe: create stripe file '/mnt/lustre' failed error on ioctl 0x4008669a for '/mnt/lustre' (3): Invalid argument error: setstripe: create stripe file '/mnt/lustre' failed The ioctl is LL_IOC_LOV_SETSTRIPE (0x4000 >> (_IOC_DIRSHIFT = 14) = _IOC_WRITE, 0x08 = sizeof(long), 0x66 = 'f', 0x9a = 154). However, it isn't clear why the kernel is complaining about the struct lov_mds_md that is being sent. Is this a bad magic, or something else? Since we aren't using composite layouts for these files, it should be compatible with existing tools. |
| Comment by Saurabh Tandan (Inactive) [ 28/Sep/17 ] |
|
Re-ran the sanity using exact same steps as above and sanity run did not ended abruptly this time. Before running sanity I ran individual tests i.e. test_27A and test_65i which failed in previous run, but they passed when ran alone in second run. Results for second run are as follows: |