[LU-1997] 'exclude' mount option does not work in lustre b2_1 Created: 20/Sep/12 Updated: 04/Mar/16 Resolved: 04/Mar/16 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Diego Moreno (Inactive) | Assignee: | Bob Glossman (Inactive) |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Environment: |
rhel6.3 |
||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 8542 | ||||||||
| Description |
|
When mounting a lustre client, if we use the 'exclude' option to ignore inactive OSTs this option is not well taken into account. From the mount.lustre manpage: exclude=ostlist Start a client or MDT with a (colon-separated) list of known inactive OSTs. We run the mount command: [root@berlin105 ~]# mount -t lustre -o user_xattr,exclude=b8-OST0007 60.64.2.84@o2ib0,160.64.2.84@o2ib1:/b8 /b8 In the dmesg we can see the option is seen by lustre: But the osc is always up and we can still write or read: Whether the OST is disabled in the MDT or not the problem is always present and we are always accessing this OST from the client. If we try to deactivate the OST with 'lctl --device b8-OST0007-osc-ffff8808773f9c00 deactivate' then the OST is well disabled but never when using exclude option. |
| Comments |
| Comment by Peter Jones [ 22/Sep/12 ] |
|
Bob Could you please look into this one? Thanks Peter |
| Comment by Bob Glossman (Inactive) [ 24/Sep/12 ] |
|
This failure exists not just in 2.1 but in current master too. From an example debug log with +info and +config tracing a mount cmd with '-o exclude=lustre-OST0001', it looks like the OST is getting set to inactive initially just like it should: 00000100:00080000:0.0:1348503210.959470:0:27538:0:(pinger.c:425:ptlrpc_pinger_add_import()) adding pingable import 6f04d5c6-cdc4-18e4-1e30-9fc484f77a7f->lustre-OST0001_UUID but the effect of this is eliminated a short time later by a lov_set_osc_active(): 00000100:00080000:0.0:1348503210.960090:0:27013:0:(import.c:851:ptlrpc_connect_interpret()) connected to replayable target: lustre-OST0001_UUID I'm not sure why the inactive state doesn't persist. |
| Comment by John Fuchs-Chesney (Inactive) [ 04/Mar/16 ] |
|
We are marking this as resolved, since b2_1 is no longer active. ~ jfc. |