> 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"
In case someone hits the same problem, the solution is to change a line
in the /etc/scsi_id.config file from "options=-b"
to "options=-g" and it will then start working.
(Sent it to the list so people can do a search if they find the same
problem).
Gabriel
___________________________________________________________
Yahoo! Mail is the world's favourite email. Don't settle for less, sign
up for
your free account today
uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html