Differences
This shows you the differences between two versions of the page.
linux_wiki:configure_systems_to_mount_file_systems_at_boot_by_universally_unique_id_uuid_or_label [2016/02/29 21:32] billdozor created |
linux_wiki:configure_systems_to_mount_file_systems_at_boot_by_universally_unique_id_uuid_or_label [2019/05/25 23:50] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Configure Systems To Mount File Systems At Boot By Universally Unique Id Uuid Or Label ====== | ||
- | |||
- | **General Information** | ||
- | |||
- | About this page/ | ||
- | |||
- | ---- | ||
- | |||
- | Display Labels and UUIDs for devices | ||
- | <code bash> | ||
- | blkid | ||
- | </ | ||
- | |||
- | Create label on a XFS filesystem | ||
- | <code bash> | ||
- | xfs_admin -L storage1 /dev/sdb1 | ||
- | </ | ||
- | |||
- | Display label on a XFS filesystem | ||
- | <code bash> | ||
- | xfs_admin -l /dev/sdb1 | ||
- | </ | ||
- | |||
- | Create label on an ext2/3/4 filesystem | ||
- | <code bash> | ||
- | tune2fs -L storage2 /dev/sdb2 | ||
- | </ | ||
- | |||
- | Display label on ext2/3/4 filesystem | ||
- | <code bash> | ||
- | tune2fs -l /dev/sdb2 | ||
- | </ | ||
- | |||
- | Mount /dev/sdb1 via UUID and /dev/sdb2 via label | ||
- | <code bash> | ||
- | vim /etc/fstab | ||
- | |||
- | UUID=76548596-804f-49a4-bd6c-6df1a98e117f | ||
- | LABEL=storage2 | ||
- | </ | ||
- | |||
- | ---- | ||