From: "Aleksey Avdeev" <solo_oboroten@mail333.com> To: sisyphus@altlinux.ru Subject: Re: [sisyphus] Re: raidstart Date: Fri, 06 Jun 2003 11:53:31 +0400 Message-ID: <3EE0487B.9090202@mail333.com> (raw) In-Reply-To: <20030605153148.GA20015@regiongarant.ru> Salavat Yarmukhametov пишет: > On Thu, Jun 05, 2003 at 04:56:04PM +0300, Michael Shigorin wrote: > >>On Thu, Jun 05, 2003 at 12:37:44PM +0400, Salavat Yarmukhametov wrote: >> >>> 3. The partition-types of the devices used in the RAID must be set to >>>0xFD (use fdisk and set the type to ``fd'') >>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>> п.3 я не делал, может это? Вечером попробую - машина домашняя. >> >>Ну разумеется. > > > > Неа :( > [root@localhost root]# fdisk /dev/hdb > Command (m for help): p > Disk /dev/hdb: 20.5 GB, 20547841536 bytes > 255 heads, 63 sectors/track, 2498 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > > Device Boot Start End Blocks Id System > /dev/hdb1 * 1 1211 9727326 c Win95 FAT32 (LBA) > /dev/hdb2 1212 2498 10337827+ fd Linux raid autodetect > [root@localhost root]# fdisk /dev/hde > Command (m for help): p > > Disk /dev/hde: 61.4 GB, 61492838400 bytes > 16 heads, 63 sectors/track, 119150 cylinders > Units = cylinders of 1008 * 512 = 516096 bytes > > Device Boot Start End Blocks Id System > /dev/hde1 1 20318 10240240+ fd Linux raid autodetect > /dev/hde2 20319 60953 20480040 83 Linux > /dev/hde3 60954 119150 29331288 5 Extended > /dev/hde5 60954 101588 20480008+ 83 Linux > /dev/hde6 101589 117030 7782736+ 83 Linux > /dev/hde7 117031 119062 1024096+ 83 Linux > /dev/hde8 119063 119150 44320+ 83 Linux > > > dmesg: > > md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 > md: Autodetecting RAID arrays. > [events: 00000002] > [events: 00000002] > md: autorun ... > md: considering hde1 ... > md: adding hde1 ... > md: adding hdb2 ... > md: created md0 > md: bind<hdb2,1> > md: bind<hdb2,1> > md: bind<hde1,2> > md: running: <hde1><hdb2> > md: hde1's event counter: 00000002 > md: hdb2's event counter: 00000002 > md: md0: raid array is not clean -- starting background reconstruction > md: RAID level 1 does not need chunksize! Continuing anyway. > kmod: failed to exec /sbin/modprobe -s -k md-personality-3, errno = 2 > md: personality 3 is not loaded! > md :do_md_run() returned -22 > md: md0 stopped. > md: unbind<hde1,1> > md: export_rdev(hde1) > md: unbind<hdb2,0> > md: export_rdev(hdb2) > md: ... autorun DONE. Если дальше покопаться в логах, непомню в каких имеено файлах /var/log/kernel/* (я смотрел все :-)) или внимательно посмотреть на сообщения при загрузке, то можно заметить что приведённая цитата присутствует ДО сообщения о монтировании initrd с требуемыми модулями (почему я и сделал вывод о некорректной работе автораида в модульной конфигурации :-() и, соответственно, реального корня. > > если после загрузки дать: > raidstart /dev/md0 > то в /var/log/messages: > Jun 5 18:58:29 localhost kernel: [events: 00000002] > Jun 5 18:58:29 localhost kernel: [events: 00000002] > Jun 5 18:58:29 localhost kernel: md: autorun ... > Jun 5 18:58:29 localhost kernel: md: considering hde1 ... > Jun 5 18:58:29 localhost kernel: md: adding hde1 ... > Jun 5 18:58:29 localhost kernel: md: adding hdb2 ... > Jun 5 18:58:29 localhost kernel: md: created md0 > Jun 5 18:58:29 localhost kernel: md: bind<hdb2,1> > Jun 5 18:58:29 localhost kernel: md: bind<hde1,2> > Jun 5 18:58:29 localhost kernel: md: running: <hde1><hdb2> > Jun 5 18:58:29 localhost kernel: md: hde1's event counter: 00000002 > Jun 5 18:58:29 localhost kernel: md: hdb2's event counter: 00000002 > Jun 5 18:58:29 localhost kernel: md: RAID level 1 does not need > chunksize! Continuing anyway. > Jun 5 18:58:29 localhost kernel: md0: max total readahead window set to > 508k > Jun 5 18:58:29 localhost kernel: md0: 1 data-disks, max readahead per > data-disk: > 508k > Jun 5 18:58:29 localhost kernel: raid1: device hde1 operational as mirror > 1 > Jun 5 18:58:29 localhost kernel: raid1: device hdb2 operational as mirror > 0 > Jun 5 18:58:29 localhost kernel: raid1: raid set md0 active with 2 out of > 2 mirrors > Jun 5 18:58:29 localhost kernel: md: updating md0 RAID superblock on > device > Jun 5 18:58:29 localhost kernel: md: hde1 [events: 00000003]<6>(write) > hde1's sb > offset: 10240128 > Jun 5 18:58:29 localhost kernel: md: syncing RAID array md0 > Jun 5 18:58:29 localhost kernel: md: minimum _guaranteed_ reconstruction > speed: 100 KB/sec/disc. > Jun 5 18:58:29 localhost kernel: md: using maximum available idle IO > bandwith (but not more than 100000 KB/sec) for reconstruction. > Jun 5 18:58:29 localhost kernel: md: using 508k window, over a total of > 10240128 > blocks. > Jun 5 18:58:29 localhost kernel: md: hdb2 [events: 00000003]<6>(write) > hdb2's sb > offset: 10337728 > Jun 5 18:58:29 localhost kernel: [events: 00000000] > Jun 5 18:58:29 localhost kernel: md: ... autorun DONE. > Jun 5 18:58:35 localhost kernel: kjournald starting. Commit interval 5 > seconds > Jun 5 18:58:35 localhost kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on > md(9,0), internal journal А теперь, требуемые модули доступны :-) > > Почему raidstart из /etc/rc.d/rc.sysinit не хочет отрабатываться? > Чего еще я не доделал? Что в /etc/raidtab? -- С уважением. Алексей.
next prev parent reply other threads:[~2003-06-06 7:53 UTC|newest] Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-06-05 5:46 [sisyphus] raidstart Salavat Yarmukhametov 2003-06-05 7:40 ` Aleksey Avdeev 2003-06-05 8:37 ` Salavat Yarmukhametov 2003-06-05 9:43 ` Алексей Любимов 2003-06-05 10:08 ` Aleksey Avdeev 2003-06-05 11:30 ` Salavat Yarmukhametov 2003-06-06 4:16 ` Борис Ревякин 2003-06-06 7:25 ` Aleksey Avdeev 2003-06-06 8:46 ` Aleksey Avdeev 2003-06-05 13:56 ` [sisyphus] raidstart Michael Shigorin 2003-06-05 15:31 ` Salavat Yarmukhametov 2003-06-05 16:55 ` Salavat Yarmukhametov 2003-06-05 20:14 ` Алексей Любимов 2003-06-05 19:02 ` Michael Shigorin 2003-06-06 6:13 ` Salavat Yarmukhametov 2003-06-06 7:53 ` Aleksey Avdeev [this message] 2003-06-06 8:12 ` Salavat Yarmukhametov 2003-06-06 8:31 ` Aleksey Avdeev 2003-06-06 8:34 ` Salavat Yarmukhametov
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=3EE0487B.9090202@mail333.com \ --to=solo_oboroten@mail333.com \ --cc=sisyphus@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 Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git