[LU-3167] The MDT volume label tokenizer is not consistent Created: 14/Apr/13 Updated: 09/Jan/20 Resolved: 09/Jan/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.3.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Zhiqi Tao (Inactive) | Assignee: | WC Triage |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
2.6.32-279.5.1.el6_lustre.gb16fe80.x86_64 |
||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 7726 | ||||||||
| Description |
|
When specifying --index in the mkfs.lustre command, an indexed volume label is automatically assigned, for example "regal:MDT0000". The colon sign, ":", is the tokenizer. [root@regal-mds00 ~]# mkfs.lustre --mdt --mgsnode=10.10.187.20@o2ib --mgsnode=10.10.187.30@o2ib --failnode=10.10.187.30@o2ib --fsname=regal --index=0 --verbose --reformat /dev/mapper/mpathb Permanent disk data: device size = 2855900MB Allocating group tables: done Writing CONFIGS/mountdata [root@regal-mds00 ~]# blkid /dev/mapper/mpathb However, the tokenizer of the MDT volume label is changed to dash "-" after the first mount. [root@regal-mds00 ~]# mount -t lustre /dev/mapper/mpathb /mnt/mdt0 [root@regal-mds00 ~]# blkid /dev/mapper/mpathb It would be nice if the tokenizer could be consistent. The volume label is often used when mounting multipath devices. |
| Comments |
| Comment by Andreas Dilger [ 14/Apr/13 ] |
|
This is related to Zhiqi, the long-term label will be of the form {fsname}-MDTnnnn, and given that the initial formatting of the filesystem will require the actual device name, it doesn't seem unreasonable that the first mount should use the device name as well... |