linux_wiki:configure_systems_to_mount_file_systems_at_boot_by_universally_unique_id_uuid_or_label

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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/how-to/script.  
- 
----- 
- 
-Display Labels and UUIDs for devices 
-<code bash> 
-blkid 
-</code> 
- 
-Create label on a XFS filesystem 
-<code bash> 
-xfs_admin -L storage1 /dev/sdb1 
-</code> 
- 
-Display label on a XFS filesystem 
-<code bash> 
-xfs_admin -l /dev/sdb1 
-</code> 
- 
-Create label on an ext2/3/4 filesystem 
-<code bash> 
-tune2fs -L storage2 /dev/sdb2 
-</code> 
- 
-Display label on ext2/3/4 filesystem 
-<code bash> 
-tune2fs -l /dev/sdb2 
-</code> 
- 
-Mount /dev/sdb1 via UUID and /dev/sdb2 via label 
-<code bash> 
-vim /etc/fstab 
- 
-UUID=76548596-804f-49a4-bd6c-6df1a98e117f  /mnt/storage1  xfs  defaults  0 2 
-LABEL=storage2  /mnt/storage2  ext4  defaults  0 2 
-</code> 
- 
----- 
  
  • linux_wiki/configure_systems_to_mount_file_systems_at_boot_by_universally_unique_id_uuid_or_label.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)