From: Sergey <a_s_y@sama.ru> To: sysadmins@lists.altlinux.org Subject: [Sysadmins] p8, mdadm 3.3.4 иногда не собирает RAID1 из 4-x (=?utf-8?b?0LDQs9Cw?=) разделов Date: Mon, 2 Mar 2020 18:21:52 +0400 Message-ID: <202003021821.52321.a_s_y@sama.ru> (raw) Приветствую. Наступил на какой-то непонятный баг. Есть система с таким набором md-устройств: === Personalities : [raid10] [raid1] md1 : active raid1 sdd1[3] sdc1[2] sdb1[0] sda1[1] 196544 blocks [4/4] [UUUU] md0 : active raid10 sdd3[3] sdc3[2] sda3[0] sdb3[1] 972282880 blocks 512K chunks 2 near-copies [4/4] [UUUU] === /dev/sd[abcd] разбиты на разделы идентично: Device Boot Start End Sectors Size Id Type /dev/sda1 * 32768 425983 393216 192M fd Linux raid autodetect /dev/sda2 425984 4489215 4063232 2G 82 Linux swap / Solaris /dev/sda3 4489216 976773167 972283952 463,6G fd Linux raid autodetect md0 - RAID10 на /dev/sd[abcd]3 md1 - RAID1 на /dev/sd[abcd]1 То есть md1 зеркало на 4-x разделах. Вроде как mdadm такое умеет, и это работает. Но, иногда, при загрузке md1 оказывается в статусе md1 : inactive sda1[1](S) sdc1[2](S) sdb1[0](S) 589632 blocks Блоков 196544*3, как будто пытается собраться страйп. И из 3-х почему-то. Хотя опыт в работе с софтраид у меня минимальный, может с блоками так и должно быть у inactive массива? md0, при этом, всегда собирается, и там всё нормально. Долгие годы /boot был на /dev/sda1, дошли вот руки собрать первые разделы в RAID1. Кто виноват, и что делать? Метадата 0.9 у обоих md. -- С уважением, Сергей.
next reply other threads:[~2020-03-02 14:21 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-03-02 14:21 Sergey [this message] 2020-03-02 15:04 ` Michael Shigorin 2020-03-02 16:35 ` Sergey
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=202003021821.52321.a_s_y@sama.ru \ --to=a_s_y@sama.ru \ --cc=sysadmins@lists.altlinux.org \ /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 sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git