[Linux-cluster] DLM Problem

isplist at logicore.net isplist at logicore.net
Fri Feb 1 01:29:49 UTC 2008


> i think that's the file he sent you ;) (starting with "# /etc/udev..")

<cough><embarrassed>

>thinking about it, i think i should add to say that you need to edit
>that file for your needs (adjust the scsi id). i didn't use udev yet,
>the only place where i scsi_id etc together with dm-multipath.

I've not looked into this yet so don't know what to edit or add. 

On one node, the drive is /dev/sda, but on some nodes, it'll be sdx because 
some of the machines already have SCSI drives in them. Not hard to see, just 
have to keep it in mind since I'm assuming each machine needs this file.

I see a catch all ( sd*[!0-9] ) but don't know where I need to put say 
/dev/sda.

# /etc/udev/rules.d/69-xraid.rules
# 2008-01-18
# Brian Kroth
# Setup devices nodes for the two storage arrays based upon their unique
# scsi_id

ACTION!="add", GOTO="xraid_end"

KERNEL=="sd*[!0-9]", ENV{ID_SERIAL}=="3600039300001e6db01000000d52b0606",
SYMLINK+="xraid-c1-a1"
KERNEL=="sd*[!0-9]", ENV{ID_SERIAL}=="3600039300001e6db020000006a95fef7",
SYMLINK+="xraid-c1-a2"

KERNEL=="sd*[0-9]", ENV{ID_SERIAL}=="3600039300001e6db01000000d52b0606",
SYMLINK+="xraid-c1-a1-p%n"
KERNEL=="sd*[0-9]", ENV{ID_SERIAL}=="3600039300001e6db020000006a95fef7",
SYMLINK+="xraid-c1-a2-p%n"

LABEL="xraid_end"

>johannes






More information about the Linux-cluster mailing list