Wednesday, September 19, 2007

Displaying Volume Information under Linux

Newer Linux distros mount your volumes by UUID rather than using the device node, but what happens when you replace a disk, and you get the dreaded "Cannot find target volume" message.

Then you need to update your /etc/fstab with the new volume id. To get this info use the vol_Id command.

eg. vol_id /dev/sdc1 | grep UUID=