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

Re: Intel raid (srcs28x) and debian etch

On Thu, Dec 14, 2006 at 12:18:47PM +0500, wad wrote:
> Здравствуйте, всемогущий олл!
> купили мы тут raid (srcs28x) и решили его использовать под линуксом
> появилось несколько проблем.
> 1) при установке дебиана диски находятся в правильной очередности ( с
> моей точки зрения) сначала диски прицепленные к мат. плате (sda,sdb) потом
> рейдовые (sdc).
> после установки и запуска системы очередность меняется сначала
> рейдовый (sda) потом к мат.плате (sdb,sdc)
> получается некоторое не удобство... но не страшно

Про переупорядочивание девайсов полезно читать Release Notes.


For storage devices, you can avoid this reordering by using initramfs-tools
and configuring it to load storage device driver modules in the same order
they are currently loaded. To do this, identify the order the storage
modules on your system were loaded by looking at the output of lsmod. lsmod
lists modules in the reverse order that they were loaded in, i.e., the
first module in the list was the last one loaded.

However, removing and reloading modules after initial boot will affect this
order. Also, your kernel may have some drivers linked statically, and these
names will not appear in the output of lsmod. You may be able to decipher
these driver names and load order from looking at /var/log/kern.log, or the
output of dmesg.

Add these module names to /etc/initramfs-tools/modules in the order they
should be loaded at boottime. Some module names may have changed between
sarge and etch. For example, sym53c8xx_2 has become sym53c8xx.

You will then need to regenerate your initramfs image(s) by executing
update-initramfs -k all.

Once you are running an etch kernel and udev, you may reconfigure your
system to access disks by an alias that is not dependent upon driver load
order. These aliases reside in the /dev/disk/ hierarchy.

Alexandra N. Kossovsky, software engineer.
e-mail: sasha@sanechka.spb.ru

Reply to: