From: Danilo Godec <danilo.godec@agenda.si>
To: linux-raid@vger.kernel.org
Subject: Starting a RADI1 array after the filesystem has being used through LVM?
Date: Mon, 20 Feb 2012 16:22:51 +0100 [thread overview]
Message-ID: <4F42654B.8050407@agenda.si> (raw)
Hello,
one of my servers uses two iSCSI volumes in a RAID1 array with LVM on
top. Apparently the RADI1 array wasn't properly started on the last
reboot, but LVM still detected both partitions on physical disks as PV's
and simply used one of them (seen as /dev/sdb1).
Unfortunately, this gone by unnoticed and has been runnig like that for
some time.
The size of the volume is 7TB (with 5TB used), so I'd like to do with as
little downtime as possible.
The question is - is it safe to simply stop LVM, start the array in
degraded mode with the 'current' disk (/dev/sdb1), start LVM and then
re-add the 'non-current' one (/dev/sda1)?
Also - how can I prevent LVM from using these two partitions directly?
I'd rather see the server startup fail then silently do wrong... I
already have the 'md_component_detection = 1' option in my 'lvm.conf'.
Thanks, Danilo
next reply other threads:[~2012-02-20 15:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-20 15:22 Danilo Godec [this message]
2012-02-21 12:27 ` Starting a RADI1 array after the filesystem has being used through LVM? Phil Turmel
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=4F42654B.8050407@agenda.si \
--to=danilo.godec@agenda.si \
--cc=linux-raid@vger.kernel.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.