http://wiki.lustre.org/index.php?title=Working_with_File_System_Labels&feed=atom&action=historyWorking with File System Labels - Revision history2024-03-28T09:42:19ZRevision history for this page on the wikiMediaWiki 1.39.3http://wiki.lustre.org/index.php?title=Working_with_File_System_Labels&diff=1821&oldid=prevKenRawlings: Initial creation as part of accelerated wiki migration2016-08-10T15:27:15Z<p>Initial creation as part of accelerated wiki migration</p>
<p><b>New page</b></p><div>{| class='wikitable'<br />
|- <br />
!Note: This page originated on the old Lustre wiki. It was identified as likely having value and was migrated to the new wiki. It is in the process of being reviewed/updated and may currently have content that is out of date.<br />
|}<br />
<br />
<small>''(Updated: Sep 2009)''</small><br />
<br />
The file system name is limited to 8 characters so that file system and<br />
target information can be encoded in the disk label. This allows system administrators to "mount by label", reducing the risk of SCSI disk reordering or getting the /dev/device wrong for a shared target. <br />
<br />
Linux disk labels are limited to 16 characters. To identify the target within the file system, 8 characters are reserved, leaving 8 characters for the file system name:<br />
<br />
<fsname>-MDT0000 or <fsname>-OST0a19<br />
<br />
To mount by label, use this command:<br />
<br />
$ mount -t lustre -L <file system label> <mount point><br />
<br />
Here is an example of mounting by label:<br />
<br />
$ mount -t lustre -L testfs-MDT0000 /mnt/mdt<br />
<br />
'''''Caution:''''' Mounting by label should ''NOT'' be used in a multi-path environment.<br />
<br />
Although the file system name is internally limited to 8 characters, you can mount<br />
the clients at any mount point, so file system users are not limited to using short names.<br />
Here is an example:<br />
<br />
mount -t lustre uml1@tcp0:/shortfs /mnt/<long-file_system-name></div>KenRawlings