[LU-1646] mounting lustre oops on older kernels Created: 19/Jul/12 Updated: 12/Nov/12 Resolved: 12/Nov/12 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.1.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | chas@cmf.nrl.navy.mil | Assignee: | Bob Glossman (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
sles10sp4 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 6362 | ||||||||
| Description |
|
in lustre 2.1 and up, the lustre_fill_super() was changed to expect the anonymous pointer to be of the type struct lustre_mount_data2. however, the ifdef for lustre_get_sb() for kernels < 2.6.18 was not updated. the attached patch seems to fix things but you might run into trouble when nfs exporting from these old kernels since lmd_mnt cannot be filled in for these older kernels. |
| Comments |
| Comment by James A Simmons [ 20/Jul/12 ] |
|
Which versions of Lustre are you using or plan to use? Some patches are in the works that affect you. |
| Comment by chas@cmf.nrl.navy.mil [ 20/Jul/12 ] |
|
2.1 for the foreseeable future. |
| Comment by Peter Jones [ 24/Jul/12 ] |
|
Hi Chas SLES10 is not officially supported for 2.1.x (see http://wiki.whamcloud.com/display/PUB/Lustre+Support+Matrix). There is some interest in adding this support. If you would like to get your patch landed into the Lustre tree could you please upload it into gerrit so that it can be tested and reviewed? Details on how to do this are on the Whamcloud wiki Thanks Peter |
| Comment by chas williams - CONTRACTOR [ 10/Aug/12 ] |
|
this was fixed via |
| Comment by Peter Jones [ 11/Aug/12 ] |
|
Bob Could you please look into this change and see whether it would be practical to backport it to b2_1? Thanks Peter |
| Comment by James A Simmons [ 13/Aug/12 ] |
|
More than that patch would need to be back ported. See |
| Comment by Bob Glossman (Inactive) [ 13/Aug/12 ] |
|
The change in http://review.whamcloud.com/#change,1951 can be back ported, but with side effects. |
| Comment by Bob Glossman (Inactive) [ 13/Aug/12 ] |
|
if we proceed with a back port we will also need |
| Comment by Bob Glossman (Inactive) [ 13/Aug/12 ] |
|
chas, |
| Comment by chas williams - CONTRACTOR [ 15/Aug/12 ] |
|
since you cant even mount lustre on really old kernels, i dont think anyone is using the nfs export feature. so this seems fine to me. |
| Comment by Bob Glossman (Inactive) [ 15/Aug/12 ] |
|
back port to b2_1 |
| Comment by James A Simmons [ 31/Aug/12 ] |
|
Also besides patch http://review.whamcloud.com/#change,3661 from |
| Comment by James A Simmons [ 04/Sep/12 ] |
|
Chas can you test both patches. Also if you can please try a NFS export on one of your clients with lustre. |
| Comment by James A Simmons [ 12/Nov/12 ] |
|
The patch from |
| Comment by Peter Jones [ 12/Nov/12 ] |
|
ok thanks James! |