[LU-2022] MGS fails to mount due to "has no index assigned (probably formatted with old mkfs" error Created: 24/Sep/12 Updated: 08/Jul/13 Resolved: 17/Oct/12 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.4.0 |
| Fix Version/s: | Lustre 2.4.0 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | James A Simmons | Assignee: | Keith Mannthey (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Severity: | 3 | ||||||||||||
| Rank (Obsolete): | 4132 | ||||||||||||
| Description |
|
In 2.4 the MGS is not formated with a index. In fact you can't specify a index but mount.lustre will not mount any device without a index. |
| Comments |
| Comment by James A Simmons [ 24/Sep/12 ] |
| Comment by Peter Jones [ 24/Sep/12 ] |
|
Thanks for the patch James. Keith can you please take care of this one? |
| Comment by Keith Mannthey (Inactive) [ 01/Oct/12 ] |
|
The above patch was merged. |
| Comment by Sarah Liu [ 16/Oct/12 ] |
|
Still hit this failures in interop testing between master and b2_2/b1_8 https://maloo.whamcloud.com/test_sessions/98a446b8-170a-11e2-962d-52540035b04c 13:52:33:Starting mds: -o user_xattr,acl /dev/lvm-MDS/P1 /mnt/mds 13:52:33:CMD: client-29vm3 mkdir -p /mnt/mds; mount -t lustre -o user_xattr,acl /dev/lvm-MDS/P1 /mnt/mds 13:52:33:client-29vm3: mount.lustre: /dev/mapper/lvm--MDS-P1 has no index assigned (probably formatted with old mkfs) |
| Comment by James A Simmons [ 16/Oct/12 ] |
|
The patch only fixed the case of where the MGS and MDS were not on the same box. What you are seeing is from the lack of a index for the MDT when run from older lustre versions on the clients. We could fix this either but updating the test framework on earlier lustre to detect the lustre version on the MDS and supply a --index=0 or we could patch mkfs.lustre to automatically supply a index of zero for a MDT if no index was supplied. |
| Comment by James A Simmons [ 16/Oct/12 ] |
|
BTW I think the lack of index for MDT with older test frameworks should be a separate ticket from this. |
| Comment by Sarah Liu [ 17/Oct/12 ] |
|
I will file a separated ticket for the interop issue and close this one. Thanks. |