[LU-4843] 2.6: DNE stripe directory - 2.5.0 clients Created: 31/Mar/14 Updated: 02/Jul/14 Resolved: 02/Jul/14 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.6.0 |
| Fix Version/s: | Lustre 2.6.0 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Patrick Farrell (Inactive) | Assignee: | Di Wang |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | dne2 | ||
| Severity: | 3 |
| Rank (Obsolete): | 13345 |
| Description |
|
The DNE2 solution architecture states that 2.4 clients should return -ENOTSUPP when trying to access a master/DNE Phase 2 striped directory. I did a quick test of this, and did not receive this error. Instead, the client LBUGged. Perhaps this only applies to later versions of 2.4 - I tested 2.4.0. "striped_directory" is on 2 master MDSes, with two MDTs each. It was created like this, from a master client: Here's what happened on my 2.4.0 client: [root@centclient18 striped_directory]# mkdir test Message from syslogd@centclient18 at Mar 31 04:51:11 ... Message from syslogd@centclient18 at Mar 31 04:51:11 ... |
| Comments |
| Comment by Patrick Farrell (Inactive) [ 31/Mar/14 ] |
|
Sorry, I accidentally created this ticket before I finished tagging it correctly. My bad. |
| Comment by Jodi Levi (Inactive) [ 01/Apr/14 ] |
|
Di, |
| Comment by Di Wang [ 02/Apr/14 ] |
|
Ah, I need add the check for striped dir on 2.6 server. |
| Comment by Patrick Farrell (Inactive) [ 02/Apr/14 ] |
|
Di - One other comment. The lfs setdirstripe command recognizes when the hash type specified with -t isn't valid, but I can't find the valid hash types in the documentation anywhere. I had to read the code in order to identify them. It would be nice if the error message included the valid arguments. (Or if not that, then definitely the man page.) Since you're doing various patches in the DNE 2 area, could you add that information to lfs as part of one of them? If not, I could generate and push a patch - It just seems easier to put in to another patch than to push it by itself. |
| Comment by Di Wang [ 15/Apr/14 ] |
| Comment by Peter Jones [ 23/May/14 ] |
|
Landed for 2.6 |
| Comment by Patrick Farrell (Inactive) [ 21/Jun/14 ] |
|
Di, I was busy with other things when the patch landed and never tried it, but I just accidentally tried 2.5.1 clients with 2.6 servers (running master from Thursday) and striped directories, and hit this assertion again. Here's the back trace: I also took a dump with debug=-1 on the client if it's of interest. |
| Comment by Di Wang [ 21/Jun/14 ] |
|
Ah, in the patch 9956, I use OBD_CONNECT_DISP_STRIPE to check whether the client understand the striped directory, and I had thought this flag is only landed for 2.6 client. Unfortunately, this is included in 2.5 client (2.5.2). I need find a new flag. hmm |
| Comment by Di Wang [ 21/Jun/14 ] |
| Comment by Jodi Levi (Inactive) [ 02/Jul/14 ] |
|
Patches landed to Master. |