[CentOS] udev works ok in CentOS 6.x??

Fri Mar 30 07:00:38 UTC 2012
Peter Peltonen <peter.peltonen at gmail.com>

Hi,

On Wed, Mar 28, 2012 at 6:26 PM, carlopmart <carlopmart at gmail.com> wrote:
> That's what I like to see, but it doesn't works for me ....
> /dev/disk/by-uuid only has uuid for sda and not for sdb and sdc...
>
> Do I need to configure something under udev or scsi_id to rescan scsi
> disks at host startup or something similar???

I had a similar problem with a new usb disk under centos5: the disk
(sdb) was not listed under /dev/disk/by-uuid. I had to create the
symlink there manually:

[root at xen by-uuid]# udevinfo -q all -n sdb
P: /block/sdb
N: sdb
S: disk/by-id/usb-WD_Ext_HDD_1021_574343305330343332373736

[root at xen by-uuid]# ln -s ../../sdb1
usb-WD_Ext_HDD_1021_574343305330343332373736

After that everything worked fine. I have no idea if what I did was
somehow wrong and what will happen after next reboot, but the server
has been running just fine for months after that operation.

Regards,
Peter