From: Eugene Prokopiev <prokopiev@stc.donpac.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] Увеличение количества дисков в SoftRAID1
Date: Mon, 27 Mar 2006 18:28:41 +0400
Message-ID: <4427F699.5040004@ats-manager.stc.donpac.ru> (raw)
In-Reply-To: <4427F38F.1070905@zaz.zp.ua>
Gennadiy Redko пишет:
> Eugene Prokopiev wrote:
>
>>Здравствуйте!
>>
>>Система - ALM 2.4
>>
>>Массив создавался так:
>>
>>mdadm --create --verbose /dev/md0 --level=1 --raid-devices=1 /dev/hda1
>>
>>Как в него добавить устройство /dev/hdc1?
>>
>>В текущем Сизифе работает mdadm --grow --raid-disks=2 /dev/md0, а затем
>>mdadm --add /dev/md0 /dev/hdc1
>>
>>В ALM 2.4 mdadm старше и таких ключей не знает. Более того, попытка
>>запустить новый mdadm из Сизифа привела к следующему результату:
>>
>># ./mdadm --grow --raid-disks=2 /dev/md0
>>mdadm: Cannot set device size/shape for /dev/md0: File exists
>>
>>Можно ли что-нибудь сделать?
>>
>
> Можно создать новый массив из двух дисков, один из которых -
> /dev/hdc1 а второй - "битый", отформатировать его, перенести на
> него информацию с /dev/md0 (cp -a), прибить md0 и добавить
> /dev/hda1 к новому массиву. Массив смонтировать на место md0 :)
Переименовывать массивы можно или он навсегда останется md1 вместо md0 ?
--
С уважением, Прокопьев Евгений
next prev parent reply other threads:[~2006-03-27 14:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-27 14:02 Eugene Prokopiev
2006-03-27 14:15 ` Gennadiy Redko
2006-03-27 14:28 ` Eugene Prokopiev [this message]
2006-03-27 14:37 ` Gennadiy Redko
2006-03-27 14:31 ` Eugene Prokopiev
2006-03-27 14:46 ` Gennadiy Redko
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=4427F699.5040004@ats-manager.stc.donpac.ru \
--to=prokopiev@stc.donpac.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