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

Re: moving rh to debian



Hello,
> I suggest using the device tree under /dev/by-id instead of names like
> /dev/sda, etc. This is going to be a continual problem for you
> otherwise.
>   
I not see the disks on the megaraid crontroller under /dev/disk/by-id :
root@nova:~# ll /dev/disk/by-id/
total 0
lrwxrwxrwx 1 root root  9 2006-11-27 15:53
scsi-1NEC_iStorage_1000_000000092830314800000 -> ../../sdb
lrwxrwxrwx 1 root root 10 2006-11-27 15:53
scsi-1NEC_iStorage_1000_000000092830314800000-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  9 2006-11-27 15:53
scsi-1NEC_iStorage_1000_000000092830314800001 -> ../../sdc
lrwxrwxrwx 1 root root 10 2006-11-27 15:53
scsi-1NEC_iStorage_1000_000000092830314800001-part1 -> ../../sdc1
lrwxrwxrwx 1 root root  9 2006-11-27 15:53
scsi-1NEC_iStorage_1000_000000092830314800002 -> ../../sdd
lrwxrwxrwx 1 root root 10 2006-11-27 15:53
scsi-1NEC_iStorage_1000_000000092830314800002-part1 -> ../../sdd1
lrwxrwxrwx 1 root root  9 2006-11-27 15:53
scsi-1NEC_iStorage_1000_000000092830314800003 -> ../../sde
lrwxrwxrwx 1 root root 10 2006-11-27 15:53
scsi-1NEC_iStorage_1000_000000092830314800003-part1 -> ../../sde1
lrwxrwxrwx 1 root root  9 2006-11-27 15:53
scsi-1NEC_iStorage_1000_000000092830314800004 -> ../../sdf
lrwxrwxrwx 1 root root 10 2006-11-27 15:53
scsi-1NEC_iStorage_1000_000000092830314800004-part1 -> ../../sdf1

But under /dev/disk/by-path I have :
root@nova:~# ll /dev/disk/by-path/
total 0
lrwxrwxrwx 1 root root  9 2006-11-27 15:37 pci-0000:00:1f.1-ide-0:0 ->
../../hda
lrwxrwxrwx 1 root root  9 2006-11-27 15:37 pci-0000:0b:00.0-scsi-0:4:0:0
-> ../../sda
lrwxrwxrwx 1 root root 10 2006-11-27 15:37
pci-0000:0b:00.0-scsi-0:4:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 2006-11-27 15:37
pci-0000:0b:00.0-scsi-0:4:0:0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 2006-11-27 15:37
pci-0000:0b:00.0-scsi-0:4:0:0-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 2006-11-27 15:37
pci-0000:0b:00.0-scsi-0:4:0:0-part4 -> ../../sda4
lrwxrwxrwx 1 root root  9 2006-11-27 15:53
pci-0000:10:01.0-fc-0x230000004c7f073d:0x0000000000000000 -> ../../sdb
lrwxrwxrwx 1 root root 10 2006-11-27 15:53
pci-0000:10:01.0-fc-0x230000004c7f073d:0x0000000000000000-part1 ->
../../sdb1
lrwxrwxrwx 1 root root  9 2006-11-27 15:53
pci-0000:10:01.0-fc-0x230000004c7f073d:0x0001000000000000 -> ../../sdc
lrwxrwxrwx 1 root root 10 2006-11-27 15:53
pci-0000:10:01.0-fc-0x230000004c7f073d:0x0001000000000000-part1 ->
../../sdc1
lrwxrwxrwx 1 root root  9 2006-11-27 15:53
pci-0000:10:01.0-fc-0x230000004c7f073d:0x0002000000000000 -> ../../sdd
lrwxrwxrwx 1 root root 10 2006-11-27 15:53
pci-0000:10:01.0-fc-0x230000004c7f073d:0x0002000000000000-part1 ->
../../sdd1
lrwxrwxrwx 1 root root  9 2006-11-27 15:53
pci-0000:10:01.0-fc-0x230000004c7f073d:0x0003000000000000 -> ../../sde
lrwxrwxrwx 1 root root 10 2006-11-27 15:53
pci-0000:10:01.0-fc-0x230000004c7f073d:0x0003000000000000-part1 ->
../../sde1
lrwxrwxrwx 1 root root  9 2006-11-27 15:53
pci-0000:10:01.0-fc-0x230000004c7f073d:0x0004000000000000 -> ../../sdf
lrwxrwxrwx 1 root root 10 2006-11-27 15:53
pci-0000:10:01.0-fc-0x230000004c7f073d:0x0004000000000000-part1 ->
../../sdf1

> Another option is to hardcode the load order of your modules in
> /etc/initramfs-tools/modules.
>
>   
I try previous week to put on /etc/initramfs-tools/modules :
megaraid_mm
megaraid_mbox
qla2xxx


and launch the command :
update-initramfs -vu

but no change on the next reboot.

Guy



Reply to: