Thread: Udev question
i have server boot disk , 18 hard drives in i'm trying set raid arrays.
os ubuntu 2.6.32.
haven't yet been able tell why, when reboot physical disks remapped t different device names.for example, boot drive /dev/sda, yesterday, @ different times came /dev/sde , /dev/sdf.
needless creating havoc raid arrays. i'm looking @ udev see if use more permanent device names, based on disk serial number. know seria number in slot of computer, , udevadm info tell me device maps serial number.
know might able use uuid mdadm have arrays more permanently mapped, udev seems better answer, if work.
have udev rule try set 1 of drives persistent device name, this:
kernel=="sd*[!0-9]", subsystem=="block", env{id_serial_short}=="9qj5sgpv", symlink+="diskr", env{generated}="1"
seems should symlink device name diskr hard drive has serial number. in testing error "unable open device '/sys/dev/sdr' "
udev_root set default, /dev, don't understand erro.
there familiar enough udev able offer ?
devices shown reported hardware, ubuntu not shuffling drives.
use hardware based raid controller.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Udev question
Ubuntu
Comments
Post a Comment