From: "Konstantin A. Lepikhov" <lakostis@anti-leasure.ru> To: community@altlinux.ru Subject: [Comm] Re: Software RAID-5 & XFS trouble Date: Wed, 29 Sep 2004 20:29:56 +0400 Message-ID: <20040929162956.GA9527@lks.home> (raw) In-Reply-To: <433501c4a61d$98ea97b0$2101a8c0@main.radio> Hi Овечкин! Wednesday 29, at 04:12:32 PM you wrote: <skip> > Начал проверять xfs_repair - отсутствует primary и secondary superblock. > Снова переразбил диски, снёс и заново создал массив - тоже самое. > > Содержимое mdadm.conf: > DEVICE /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 > ARRAY /dev/md0 level=raid5 devices=/dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1 забыли идентификатор массива. Devices can be given on the --assemble command line or in the config file. Only devices which have an md superblock which contains the right identity will be considered for any array (см. man mdadm). Следовательно вам надо указать еще и uuid массива. В общем, см. man по mdadm. > > > P.S. > Хотелось бы заодно узнать правильно ли я поднимаю raid скриптом из rc.d: > #!/bin/sh > PATH=$PATH:/usr/sbin > mdadm -A /dev/md0 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 нафига /dev/md0 создавать по-новой, если у вас уже есть mdadm.conf? Не проще ли написать /bin/mdadm --assemble --scan? > mount /dev/md0 /mnt/disk > nohup mdadm --monitor --mail=kuzmich@rrnn.ru --delay=300 /dev/md0 & ужасть. Хотите дам приличный init.d скрипт для мониторинга? :) -- WBR, Konstantin chat with ==>ICQ: 109916175 Lepikhov, speak to ==>JID: lakostis@jabber.org aka L.A. Kostis write to ==>mailto:lakostis@pisem.net.nospam ...The information is like the bank... (c) EC8OR
next prev parent reply other threads:[~2004-09-29 16:29 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-09-29 12:17 ` [Comm] " Alexander Volkov 2004-09-29 16:01 ` [Comm] " Konstantin A. Lepikhov 2004-09-30 5:29 ` [Comm] " Овечкин Влад 2004-09-29 16:29 ` Konstantin A. Lepikhov [this message] 2004-09-29 21:55 ` [Comm] " Денис Смирнов 2004-09-30 5:50 ` Овечкин Влад 2004-09-30 5:54 ` Mike Lykov 2004-09-30 6:23 ` Овечкин Влад 2004-09-30 15:28 ` Andrey Rahmatullin 2004-09-30 19:06 ` Konstantin A. Lepikhov 2004-10-01 21:43 ` Michael Shigorin
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=20040929162956.GA9527@lks.home \ --to=lakostis@anti-leasure.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