[LU-6601] deactivated OSTs do not appear to be inactive according to 'lctl dl' Created: 14/May/15 Updated: 01/Dec/17 Resolved: 22/Apr/16 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.8.0 |
| Fix Version/s: | Lustre 2.9.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Hammond | Assignee: | Yang Sheng |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | easy, lod, osp | ||
| Issue Links: |
|
||||||||||||||||
| Severity: | 3 | ||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||
| Description |
|
Following the instructions in Section 19.1.2 of the ops manual I deactivated an OST. t:~# lctl dl ... 21 UP osp lustre-OST0000-osc-MDT0000 lustre-MDT0000-mdtlov_UUID 5 22 UP osp lustre-OST0001-osc-MDT0000 lustre-MDT0000-mdtlov_UUID 5 t:lustre# lctl --device 21 deactivate t:lustre# lctl dl ... 21 UP osp lustre-OST0000-osc-MDT0000 lustre-MDT0000-mdtlov_UUID 5 22 UP osp lustre-OST0001-osc-MDT0000 lustre-MDT0000-mdtlov_UUID 5 Device 21 should be IN instead of UP. This is controlled by the obd_inactive field of struct obd_device which is only modified in the lov layer. The active proc files do work correctly: t:lustre# cat /proc/fs/lustre/osp/lustre-OST0000-osc-MDT0000/active 0 t:lustre# cat /proc/fs/lustre/osp/lustre-OST0001-osc-MDT0000/active 1 Also note that the examples in the manual need to be updated to reflect the osc to osp switchover. |
| Comments |
| Comment by Ulka Vaze (Inactive) [ 21/May/15 ] |
|
Hi John, What is GBOL ? Can you give me link? Thanks, |
| Comment by Peter Jones [ 21/May/15 ] |
|
Hi Ulka It is an joke reference to a comment at a past LUG. He means the Lustre manual. Peter |
| Comment by Ulka Vaze (Inactive) [ 21/May/15 ] |
|
Thanks for clarification |
| Comment by Ulka Vaze (Inactive) [ 25/May/15 ] |
|
Hi, Thanks, |
| Comment by Gerrit Updater [ 08/Apr/16 ] |
|
Yang Sheng (yang.sheng@intel.com) uploaded a new patch: http://review.whamcloud.com/19402 |
| Comment by Gerrit Updater [ 12/Apr/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/19402/ |
| Comment by Gerrit Updater [ 18/Apr/16 ] |
|
Yang Sheng (yang.sheng@intel.com) uploaded a new patch: http://review.whamcloud.com/19637 |
| Comment by Gerrit Updater [ 22/Apr/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/19637/ |
| Comment by Yang Sheng [ 22/Apr/16 ] |
|
Patch landed, So close this ticket. |