[LU-5830] use lustre_rmmod in lnet start/stop script Created: 31/Oct/14 Updated: 06/May/17 Resolved: 17/Nov/14 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.7.0, Lustre 2.5.4 |
| Fix Version/s: | Lustre 2.7.0, Lustre 2.5.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Bruno Faccini (Inactive) | Assignee: | Bruno Faccini (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Severity: | 3 | ||||||||||||||||
| Rank (Obsolete): | 16352 | ||||||||||||||||
| Description |
|
When trying to enable and use lnet start/stop script to shutdown a stand-alone Lustre Server it fails with errors during modules unload. This comes from a wrong list/order of modules to be unloaded. It would be safer to use lustre_rmmod to do so instead. |
| Comments |
| Comment by Jian Yu [ 05/Nov/14 ] |
|
Here is the back-ported patch for Lustre b2_5 branch: http://review.whamcloud.com/12587 |
| Comment by Peter Jones [ 17/Nov/14 ] |
|
Landed for 2.7 |
| Comment by Andreas Dilger [ 01/Dec/14 ] |
|
Bruno, I noticed that this patch was very similar to http://review.whamcloud.com/5478 " Is there still value in the changes to lustre_rmmod that http://review.whamcloud.com/5478 made, or should it be abandoned? |
| Comment by Bruno Faccini (Inactive) [ 01/Dec/14 ] |
|
Andreas, you are right they are very similar, and particularly both tickets reason since they both bring out the same flaw in lnet shutdown script. The main difference comes from the need to strictly follow the 3 steps procedure that you have described, which I have never found to be necessary, but may be I am wrong? |
| Comment by Andreas Dilger [ 02/Dec/14 ] |
|
Bruno, have you ever done testing with LNet routing to see if that could cause problems that aren't seen in our regular testing? I can't imagine that this three-step shutdown process was created unless there was a reason to do so. |
| Comment by Gerrit Updater [ 15/Jan/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12587/ |