From: Anton Kvashin <foo@junior.esoo.ru> To: community@altlinux.ru Subject: Re: [Comm] Миграция Master 2.2 на RAID1, Software-RAID or FastTrak 2000TX Date: Wed, 01 Sep 2004 10:37:38 +0600 Message-ID: <41355212.5000309@junior.esoo.ru> (raw) In-Reply-To: <20040827134244.GA6946@abr.pp.ru> Andrey Brindeew wrote: >Я бы порекомендовал вам использовать вышеупомянутую статью и >создавать Software-Root-RAID1. > Почитав архивы рассылки на предмет ataraid на Promise, так и поступил (хотя скачал драйвера и взял из сизифа kernel-modules-promise, но возможности поэксперементировать не предоставилось). Возник ряд вопросов по software-raid. В текущей системе два ide диска, на разных шинах (hda и hdc), hda -- имеет рабочую систему. (hda1 -- swap, hda2 --extended, hda5 -- / reiserfs). Воспользовавшись fdisk разделил hdc как hda, пометив разделы как fd. В соответствии со статьей, создал аналогичный файл /etc/raidtab, с учетом device=/dev/hda и /dev/hdc. Далее попытка запустить raid, командой mkraid /dev/md0 провалилась с ошибкой: analyzing super-block, disk0: /dev/hdc1, 512032kb, raid superblock at 511936kb, якобы уже есть суперблок, и попробуйте mkraid -f Тогда заменил значение resistent-superblock 0 (была 1) (по Software-RAID HOWTO для автоматического детектирования RAID устройств при загрузке - отдельный суперблок обязателен) из /etc/raidtab и mkraid прошел. Правильно ли это? Хотя в моей ситуации это оказалось единственной возможностью запустить mkraid. Далее создал свап и reiser на /dev/md0 и /dev/md1 и перенес данные. Создал initrd-raid.img (mkinitrd -- из Мастера 2.2), поправил fstab и lilo. Отключил /dev/hda и попробовал загрузиться c /dev/md0, но увы: kernel panic. romfs: unable to read superblock read_super_block: bread failed (dev 09:01, block 64, size 1024) read_super_block: bread failed (dev 09:01, block 8, size 1024) Пробежавшись по архиву списка рассылки, прочитал, что такое возможно из-за версии mkinitrd и надо ее обновить из сизифа, что сегодня и попробую сделать. Но опять же смущает параметр resistent-superblock. >А можно и вообще при остановленной системе >это делать (загрузившись, например, с SystemRescueCD - >www.sysresccd.org) > Спасибо, скачал образ, но воспользоваться не успел, поскольку сделал все через рабочую систему. Пока использовал в ознакомительных целях. -- Anton Kvashin
next prev parent reply other threads:[~2004-09-01 4:37 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-08-27 9:45 Anton Kvashin 2004-08-27 13:42 ` Andrey Brindeew 2004-09-01 4:37 ` Anton Kvashin [this message] 2004-09-02 2:36 ` Anton Kvashin 2004-09-02 6:09 ` Andrey Brindeew
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=41355212.5000309@junior.esoo.ru \ --to=foo@junior.esoo.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