From: Peter Larsen <plarsen@CIBER.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] [IMPORTANT]LVM+iSCSI issue..Local Disk disappeared..
Date: Thu, 16 Oct 2008 11:20:55 -0400 [thread overview]
Message-ID: <1224170455.7716.4.camel@localhost.localdomain> (raw)
In-Reply-To: <d5dce2210810160327r52de7ca4ne982934f5918aebc@mail.gmail.com>
On Thu, 2008-10-16 at 15:57 +0530, himanshu padmanabhi wrote:
> We configured it as
>
> Case 1
> [....]
> Deleted lv1,
> removed pv2,
> vg is getting displayed properly in vgs command
> Case 2
> [...]
> Deleted lv1,
> logout from iscsi target
> vg is not getting displayed properly in vgs command
Those are not the same? In case 1 you tell LVM to drop a storage (I
assume by removing pv2 you first take it out of the vg and then apply
pvremove). In case 2 you you're simulating media failure to LVM. You
can't just remove a media it depends on. Regardless if LVM has data on
the PV or not.
Are you trying to make failover work? If so, your approach is a bit
wrong. Setup a software raid 1 first, then build your PV on that. Once
done, you can remove one disk and your LVM will continue to run
(degraded).
---
Regards
Peter Larsen
I don't kill flies, but I like to mess with their minds. I hold them
above
globes. They freak out and yell "Whooa, I'm *way* too high."
-- Bruce Baum
next prev parent reply other threads:[~2008-10-16 15:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-15 13:20 [linux-lvm] [IMPORTANT]LVM+iSCSI issue..Local Disk disappeared himanshu padmanabhi
2008-10-15 16:06 ` Peter Larsen
2008-10-16 10:27 ` himanshu padmanabhi
2008-10-16 10:48 ` Klaus Strebel
2008-10-16 15:20 ` Peter Larsen [this message]
2008-10-20 7:40 ` himanshu padmanabhi
2008-10-20 17:14 ` Peter Larsen
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=1224170455.7716.4.camel@localhost.localdomain \
--to=plarsen@ciber.com \
--cc=linux-lvm@redhat.com \
/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.