udev - by-id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

I am trying to set up a CentOS 4 machine with various iSCSI mounts for
Oracle, but devices keep on moving around, causing the mounts to fail
while called by the sd[a-f] names.

We thought about using labels, but, as some of the partitions do not
use EXT3, that was discarded, so we thought about using udev and by-id.

The problem is that udev does not seem to create the by-id folder or
any files within it, while the by-path all get created. The rules file,
51-by-id.rules contains details for the both of them, but the by-id do
not get detected, at least the logs don't indicate so.

The current contents of the rules file is as follows:

KERNEL="dasd*[!0-9]", PROGRAM="/sbin/dasd_id",
SYMLINK="disk/by-id/ccw-%c"
KERNEL="dasd*[0-9]", PROGRAM="/sbin/dasd_id",
SYMLINK="disk/by-id/ccw-%c-part%n"
SYMLINK="disk/by-id/scsi-%c"
SYMLINK="disk/by-id/scsi-%c-part%n"
KERNEL="sd*", PROGRAM="/sbin/path_id", SYMLINK="disk/by-path/%c"
KERNEL="hd*", PROGRAM="/sbin/path_id", SYMLINK="disk/by-path/%c"
KERNEL="dasd*", PROGRAM="/sbin/path_id", SYMLINK="disk/by-path/%c"
KERNEL="sd*", PROGRAM="/sbin/scsi_id", SYMLINK="disk/by-id/scsi-%c"

Any help will be appreciated.

Thanks

Gabriel


      ___________________________________________________________ 
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html 
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux