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

udev, sysfs, wwn/uuid, raid



im trying really hard to set up raid on my E450 via Qlogic 2100F to a A5000.
i can access all disks in /dev/sd*
but i want udev so i can make sure that disk with wwn 23, will be
/dev/fca whereever i stick it.

local.rules in /etc/udev/rules:
BUS="scsi", PROGRAM="/sbin/scsi_id -g -s /block/%k",
RESULT="32000002037a6574d", NAME="fca", GROUP="disk"
....
....
....

this helps some, it makes /sys/block/sdc become /dev/fca. but it
doesnt make /dev/fca1, /dev/fca2 or /dev/fca3.

when i do modprobe qlogicfc it makes the /dev/fc[a-n] and rmmod
qlogicfc removes them.
so alot is working.

however if i move the disk around in the A5000 i still can access it
as /dev/fca.
i have tried Google but to no success, does any of you know what to
write in the local.ruless file to make it make the files to the
partitions?

Debian Sarge, 2.6.9, udev 054. emacs 20.7.2, red screwdriver, white
nullmodemcable

thanks

morten

-- 
no no, I'm not insane. I just have a creative view on reality.



Reply to: