From: Sergy Dolgopolov <sergy_do@mail.ru> To: community@altlinux.ru Subject: [Comm] Создание SoftRAID Date: Mon, 5 Jul 2004 21:42:16 +0400 Message-ID: <20040705214216.386c822a.sergy_do@mail.ru> (raw) Приветствую! Понадобилось мне тут сдалать софтовый raid1 на совсем-слабой машине, причём для backup-а перед началом предприятия возможность пока отсутствует. Не хотелось бы ошибиться и потерять данные. Не поможете ли советом? Последовательность моих действий я себе представляю так: 1. Создаю /etc/raidtab примерного вида: raiddev /dev/md0 raid-level 1 nr-raid-disks 2 nr-spare-disks 0 persistent-superblock 1 chunk-size 4 # Диск с данными device /dev/sda1 raid-disk 0 # Чистый резервный диск device /dev/sdb1 raid-disk 1 2. Выполнняю mkraid /dev/md0 3. Проверяю результат в /proc/mdstat 4. Наслаждаюсь результатом. Вопросы, ответы на которые для меня пока туманны, не поможете ли прояснить: 1. Рейд поднимается как минимум после монтирования /, следовательно, /boot считывется всё-таки с /sda1, также на /sda располагается загрузчик. Если из двух дисков помрёт именно /sda, достаточно ли будет для запуска с /sdb один раз загрузиться с дискеты и сказать lilo? Или этот этап можно обойти заранее, например, перенести загрузчик с помощью dd? 2. Диски разные по геометрии, так что /sda1 и /sdb1 несколько различаются по размеру (/sdb1 - больше). Я правильно понимаю, что рейд будет создан по размеру меньшей партиции? И что при начальной синхронизации второй диск будет зеркалиться с первого? 3. В принципе, машина там обычный роутер+брандмауэр P100/32Mb, траффик практически нулевой - наружу смотрит модем. Хватит ли производительности для обсчёта зеркалирования? В принципе, я могу заменить камень на P200MMX... Заранее спасибо. Sergy.
next reply other threads:[~2004-07-05 17:42 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-07-05 17:42 Sergy Dolgopolov [this message] 2004-07-05 21:41 ` Vitaly Lipatov 2004-07-06 3:57 ` Sergy Dolgopolov 2004-07-06 9:36 ` Vitaly Lipatov 2004-07-06 11:15 ` Sergy Dolgopolov 2004-07-06 12:08 ` Vitaly Lipatov 2004-07-07 6:11 ` Andrey Brindeew 2004-07-07 6:35 ` Andrey Brindeew 2004-07-07 12:52 ` Sergy Dolgopolov
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=20040705214216.386c822a.sergy_do@mail.ru \ --to=sergy_do@mail.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