ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Eugene Prokopiev <prokopiev@stc.donpac.ru>
To: community@altlinux.ru
Subject: [Comm] [SUMMARY] Загрузка с softraid1
Date: Mon, 27 Jun 2005 17:04:28 +0400
Message-ID: <42BFF95C.4010502@stc.donpac.ru> (raw)
In-Reply-To: <42BAB4AD.3090203@stc.donpac.ru>

В итоге мой initrd выглядит так:

# find ./ | grep -v /dev
./
./sbin
./sbin/vgchange
./sbin/vgscan
./sbin/modprobe
./sbin/insmod
./sbin/raidautorun
./etc
./etc/modules.conf
./etc/fstab
./proc
./lib
./lib/modules
./lib/modules/2.4.26-std-up-alt6
./lib/modules/2.4.26-std-up-alt6/kernel
./lib/modules/2.4.26-std-up-alt6/kernel/drivers
./lib/modules/2.4.26-std-up-alt6/kernel/drivers/md
./lib/modules/2.4.26-std-up-alt6/kernel/drivers/md/lvm-mod.o
./lib/modules/2.4.26-std-up-alt6/kernel/drivers/md/raid1.o
./lib/modules/2.4.26-std-up-alt6/kernel/drivers/scsi
./lib/modules/2.4.26-std-up-alt6/kernel/drivers/scsi/scsi_mod.o
./lib/modules/2.4.26-std-up-alt6/kernel/drivers/scsi/sd_mod.o
./lib/modules/2.4.26-std-up-alt6/kernel/drivers/scsi/aic7xxx
./lib/modules/2.4.26-std-up-alt6/kernel/drivers/scsi/aic7xxx/aic7xxx.o
./lib/modules/2.4.26-std-up-alt6/kernel/fs
./lib/modules/2.4.26-std-up-alt6/kernel/fs/ext3
./lib/modules/2.4.26-std-up-alt6/kernel/fs/ext3/ext3.o
./lib/modules/2.4.26-std-up-alt6/kernel/fs/jbd
./lib/modules/2.4.26-std-up-alt6/kernel/fs/jbd/jbd.o
./lib/modules/2.4.26-std-up-alt6/modules.dep
./lib/ld-linux.so.2
./lib/libc.so.6
./lib/libdl.so.2
./lib/libhistory.so.4.3
./lib/liblvm-10.so.1
./lib/libreadline.so.4.3
./lib/libtinfo.so.5
./lib/libz.so.1
./bin
./bin/bash
./bin/mount
./bin/umount
./bin/cat
./linuxrc

# cat linuxrc
#!/bin/bash
/sbin/modprobe scsi_mod
/sbin/modprobe sd_mod
/sbin/modprobe aic7xxx
/sbin/modprobe lvm-mod
/sbin/modprobe ext3
/sbin/modprobe raid1
/bin/mount /proc
/sbin/raidautorun /dev/md255
/bin/cat /proc/mdstat
/sbin/vgscan
/sbin/vgchange -a y
/bin/cat /proc/lvm/global
/bin/umount /proc

raidautorun - это переименованный busybox :)

Можно еще вместо bash использовать его же, но это уже экономия на 
копейках, т.к. есть еще куча бинарников и библиотек, тот же lvm, а его 
уже никак в busybox не упихать :(

mdadm --assemble в его роли у меня не заработал :(

-- 
С уважением, Прокопьев Евгений


      parent reply	other threads:[~2005-06-27 13:04 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-23 13:10 [Comm] " Eugene Prokopiev
2005-06-23 13:30 ` Eugene Ostapets
2005-06-23 16:10   ` Eugene Prokopiev
2005-06-23 19:01     ` Eugene Ostapets
2005-06-23 14:17 ` Sergey Vlasov
2005-06-23 16:07   ` Eugene Prokopiev
2005-06-23 18:57     ` Yura Kalinichenko
2005-06-23 19:02     ` Eugene Ostapets
2005-06-24 14:22       ` Eugene Prokopiev
2005-06-24 14:30         ` Eugene Ostapets
2005-06-23 20:49     ` [Comm] " Konstantin A. Lepikhov
2005-06-24  8:51     ` [Comm] " Sergey Vlasov
2005-06-24 14:19       ` Eugene Prokopiev
2005-06-25 13:56         ` Sergey Vlasov
2005-06-26 18:35           ` Eugene Prokopiev
2005-06-26 18:43             ` Sergey Vlasov
2005-06-26 18:37           ` Eugene Prokopiev
2005-06-24  4:53   ` Mike Lykov
2005-06-25 12:49 ` Alexey Borovskoy
2005-06-25 13:30   ` Alexander Volkov
2005-06-25 16:09     ` [Comm] Продолжение битвы с Bluetooth Sarin
2005-06-26 18:19   ` [Comm] Загрузка с softraid1 Eugene Prokopiev
2005-07-17 12:50   ` Alexey Borovskoy
2005-06-27 13:04 ` Eugene Prokopiev [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42BFF95C.4010502@stc.donpac.ru \
    --to=prokopiev@stc.donpac.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git