From: Michael Shigorin <mike@osdn.org.ua> To: Sysadmins mailing list <sysadmins@lists.altlinux.org> Subject: Re: [Sysadmins] [полтергейст] изучаю soft RAID/LVM, или миграция 5 -> 10 Date: Fri, 15 Apr 2011 10:59:36 +0300 Message-ID: <20110415075936.GI7329@osdn.org.ua> (raw) In-Reply-To: <201104151058.47638.a_s_y@sama.ru> On Fri, Apr 15, 2011 at 10:58:47AM +0400, Sergey wrote: > На freenode/#altlinux дали интересный совет с миграцией через > дополнительный pv. Данных не много, все lv вполне умещались на > четвёртый hdd. Создал pv на этом hdd, сделал pvmove... Я бы скорее вытаскивал диск из-под raid5 (--set-faulty), потом сделал на нём обычную файловую систему, влил туда всё нужное (rsync --bwlimit), потом сделал на трёх с missing'ом дисках raid10, перелил туда данные и только потом добавлял этот диск на место. А при хоть какой-то возможности постарался бы подцепить отдельный диск или NFS с соседа. С боевой нагрузкой все эти махинации лучше не совмещать вообще. > [ 19.534820] md: sda3 does not have a valid v0.90 superblock, not importing! > [ 19.618078] md: Scanned 4 and added 0 devices. > Из rescue, по-прежнему, всё собирается без ошибок. Вопрос: что ему > не нравится в суперблоке ? Если тот reset вчерашний что-то повредил, > ну так raid-то пересоздан, данные должны были обновиться... И почему > mdadm --assemble /dev/md0 /dev/sd[abcd]3 собирает массив без ругани ? md'шный суперблок в хвосте живёт -- может, ошмётки остались; см. тж.: mdadm --examine --scan mdadm --detail /dev/md0 (после сборки) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/
next prev parent reply other threads:[~2011-04-15 7:59 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-04-15 6:58 Sergey 2011-04-15 7:59 ` Michael Shigorin [this message] 2011-04-15 8:54 ` Sergey 2011-04-15 10:30 ` Michael Shigorin 2011-04-15 11:20 ` Sergey 2011-04-15 12:28 ` Sergey 2011-04-15 13:19 ` [Sysadmins] [полтергейст] изучаю soft =?utf-8?b?IFJBSUQvTFZN?=, " Alex Moskalenko 2011-04-15 13:55 ` Sergey 2011-04-15 19:09 ` [Sysadmins] [полтергейст] изучаю soft RAID/LVM, " Michael Shigorin 2011-04-15 20:09 ` Sergey 2011-04-15 9:33 ` 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=20110415075936.GI7329@osdn.org.ua \ --to=mike@osdn.org.ua \ --cc=shigorin@gmail.com \ --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