[Linux-cluster] DLM Problem

Brian Kroth bpkroth at wisc.edu
Thu Jan 31 21:18:33 UTC 2008


isplist at logicore.net <isplist at logicore.net>:
> >And it sounds like you are trying to move away from CLVM.  You found one of
> > the rubs.
> 
> I've got the storage working again, something to do with LVM after all.
> 
> I might have to go back to LVM if it's the only way to use names. Things will 
> get um, way too much fun if I don't methinks :).
> 
> Thanks for the help, again.

Repeat from before:  you don't need to use clvm just to get names.  You make
some udev rules that correlate the unique scsi id of your array to some
name that you like.  For instance:

$ cat /etc/udev/rules.d/69-xraid.rules 
# /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"


Brian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2192 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20080131/cf5815d2/attachment.bin>


More information about the Linux-cluster mailing list