From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Authentication-Warning: regiongarant.ru: salavat set sender to salavat@regiongarant.ru using -f Date: Thu, 5 Jun 2003 19:31:48 +0400 From: Salavat Yarmukhametov To: sisyphus@altlinux.ru Message-ID: <20030605153148.GA20015@regiongarant.ru> Mail-Followup-To: Salavat Yarmukhametov , sisyphus@altlinux.ru References: <20030605054629.GA12006@regiongarant.ru> <3EDEF3F0.5050405@mail333.com> <20030605083744.GF12006@regiongarant.ru> <20030605135604.GW30440@osdn.org.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cNdxnHkX5QqsyA0e" Content-Disposition: inline In-Reply-To: <20030605135604.GW30440@osdn.org.ua> Subject: [sisyphus] Re: raidstart Sender: sisyphus-admin@altlinux.ru Errors-To: sisyphus-admin@altlinux.ru X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: sisyphus@altlinux.ru X-Reply-To: Salavat Yarmukhametov List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit 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 md: bind md: bind md: running: 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 md: export_rdev(hde1) md: unbind md: export_rdev(hdb2) md: ... autorun DONE. если после загрузки дать: 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 Jun 5 18:58:29 localhost kernel: md: bind Jun 5 18:58:29 localhost kernel: md: running: 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 не хочет отрабатываться? Чего еще я не доделал? -- Salavat Yarmukhametov salavat@regiongarant.ru ICQ 21144441 --cNdxnHkX5QqsyA0e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE+32JkqGtxHOxvSwcRAq3QAJ4ifqIDo0mL/IK55F/AMBASrzT5LQCghoX/ NRUiXx4q8lnICfuvzalXFk4= =s9JC -----END PGP SIGNATURE----- --cNdxnHkX5QqsyA0e--