From: Denis S Mikhlevich <denis@mikhlevich.ru> To: Saratov Linux User Group Maillist <sarlug@lists.lug.ru> Subject: [Sarlug] mdadm raid1 Date: Wed, 10 Feb 2010 19:57:31 +0300 Message-ID: <4B72E57B.7090908@mikhlevich.ru> (raw) Приветсвую сообщество. Сделал raid1 массив из двух одиннаковых винтов. Система Debian lenny. md0 - /boot, md1 - swap, md2 - /. # cat /proc/mdstat Personalities : [raid1] md2 : active raid1 sda3[0] sdb3[1] 142472384 blocks [2/2] [UU] md1 : active (auto-read-only) raid1 sda2[0] sdb2[1] 3903680 blocks [2/2] [UU] md0 : active raid1 sda1[0] sdb1[1] 144448 blocks [2/2] [UU] unused devices: <none> Не нравится вывод # fdisk -l Disk /dev/sda: 150.0 GB, 150039945216 bytes 255 heads, 63 sectors/track, 18241 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0001ec69 Device Boot Start End Blocks Id System /dev/sda1 * 1 18 144553+ fd Linux raid autodetect /dev/sda2 19 504 3903795 fd Linux raid autodetect /dev/sda3 505 18241 142472452+ fd Linux raid autodetect Disk /dev/sdb: 150.0 GB, 150039945216 bytes 255 heads, 63 sectors/track, 18241 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0002cb11 Device Boot Start End Blocks Id System /dev/sdb1 * 1 18 144553+ fd Linux raid autodetect /dev/sdb2 19 504 3903795 fd Linux raid autodetect /dev/sdb3 505 18241 142472452+ fd Linux raid autodetect Disk /dev/md0: 147 MB, 147914752 bytes 2 heads, 4 sectors/track, 36112 cylinders Units = cylinders of 8 * 512 = 4096 bytes Disk identifier: 0x00000000 Disk /dev/md0 doesn't contain a valid partition table Unable to seek on /dev/md1 а также такое # mdadm -Q /dev/sda3 /dev/sda3: is not an md array /dev/sda3: device 0 in 2 device active raid1 /dev/md2. Use mdadm --examine for more detail. а этот вроде нормальный вывод. # mdadm -Q /dev/md2 /dev/md2: 135.87GiB raid1 2 devices, 0 spares. Use mdadm --detail for more detail. а также когда систему выключаешь пишет там три строки, одна из них Stopping /dev/md0 (Resource busy) красным цветом. А вообще на внешний вид все работает. в Grub'e 2 строки с (hd1,0) и root=/dev/md2 и (hd0,0) root=/dev/md2 с обоих норм грузится. Во время старта ошибок нет.
reply other threads:[~2010-02-10 16:57 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4B72E57B.7090908@mikhlevich.ru \ --to=denis@mikhlevich.ru \ --cc=sarlug@lists.lug.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
Saratov Linux User Group This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sarlug/0 sarlug/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 sarlug sarlug/ http://lore.altlinux.org/sarlug \ sarlug@lists.lug.ru sarlug@lug.ru public-inbox-index sarlug Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sarlug AGPL code for this site: git clone https://public-inbox.org/public-inbox.git