From: Sergey Vlasov <vsu@altlinux.ru> To: ALT Linux Community <community@lists.altlinux.org> Subject: Re: [Comm] evms & raid Date: Thu, 22 Jun 2006 13:03:29 +0400 Message-ID: <20060622090329.GC4126@master.mivlgu.local> (raw) In-Reply-To: <45af881a0606212233v54f6c6c9u3d7e72159f83cbe0@mail.gmail.com> [-- Attachment #1: Type: text/plain, Size: 1909 bytes --] On Thu, Jun 22, 2006 at 08:33:24AM +0300, Vlad Panchenko wrote: > Создаю рейд > > один md0 создаю через evmsgui (предварительно проникся курением доки - какая > замечательная чтука этот evms) > > второй md1 - как пишут в учебнике: > > mdadm --create --verbose /dev/md2 --level=1 --raid-devices=2 /dev/sda8 > /dev/sdb8 > > смотрим: cat /proc/mdstat > > Personalities : [raid0] [raid1] > md1 : active raid1 sdb7[1] sda7[0] > 10474240 blocks [2/2] [UU] > [=>...................] resync = 6.7% (709632/10474240) finish= > 24.7min speed=6573K/sec > > md0 : active raid1 dm-10[1] dm-6[0] > 10474240 blocks [2/2] [UU] > [>....................] resync = 2.2% (238208/10474240) finish= > 164.4min speed=1036K/sec При использовании evms компонентами массива являются устройства dm (evms не использует имеющийся в ядре код для разбора таблиц разделов, а вместо этого разбирает их самостоятельно и формирует соответствующие разделам блочные устройства через dm). С точки зрения md эти устройства отличаются от /dev/sd*, поэтому md считает, что массивы можно синхронизировать одновременно; в случае, если физически dm-* находятся на тех же устройствах, что и /dev/sd*, в результате получится сильное замедление синхронизации. Если создавать все массивы средствами evms, они будут синхронизироваться по очереди (даже если на самом деле диски отдельные - md не знает, на какие физические устройства отображаются dm-*). > скорость ресинка рейдового тома созданного evms НИКОГДА (как показывают > эксперименты) не больше этого 1036K/sec (+/-), независимо от количества > ресинкуемых одновременно дисков (правда и не меньше) При взаимодействии md и dm есть некоторые проблемы с определением загрузки дисков (md считает, что с диском кто-то работает, и ограничивает скорость синхронизации). Лечится увеличением /proc/sys/dev/raid/speed_limit_min. [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-06-22 9:03 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-06-22 7:37 ` Anton Gorlov 2006-06-22 9:03 ` Sergey Vlasov [this message] 2006-06-22 9:14 ` Anton Gorlov 2006-06-22 9:31 ` Sergey Vlasov 2006-06-22 9:44 ` Anton Gorlov
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=20060622090329.GC4126@master.mivlgu.local \ --to=vsu@altlinux.ru \ --cc=community@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 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