To configure disk partitions using device UUIDs
Purpose
If you deploy an NSP VM in a VMware environment, you must mount each non-LVM partition using the block-device UUID, and not the block-device name.
Perform this procedure to change the block-device identifier for each non-LVM partition from the device name to the device UUID.
Steps
1 |
Log in as the root user on the station that hosts the partition. |
2 |
Open a console window. |
3 |
Enter the following: # grep /dev/sd /etc/fstab ↵ The devices and associated partitions are listed; a line like the following is displayed for each partition: /dev/device path fs_type noatime 1 2 where device is the block-device name path is the mount point, for example, /opt fs_type is the file system type, for example, ext4 or xfs |
4 |
Perform the following steps for each listed partition:
|
5 |
Open the /etc/fstab file using a plain-text editor such as vi. |
6 |
Use the recorded device_UUID values to modify the fstab entries. The fstab entry example in Step 3 changes from: /dev/device path fs_type noatime 1 2 to: UUID=device_UUID path fs_type noatime 1 2 |
7 |
Close the /etc/fstab file. |
8 |
Close the console window. End of steps |