Re: DLM Problem

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

 



isplist@xxxxxxxxxxxx <isplist@xxxxxxxxxxxx>:
> >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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux