linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: John DeFranco <defranco@cup.hp.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] vgchange -an question with disconnected disks
Date: Thu, 02 Feb 2006 10:06:47 -0800	[thread overview]
Message-ID: <43E24A37.6010801@cup.hp.com> (raw)

I have a question regarding the behavior of vgchange -a n on lvm2 when 
there are disk failures. Specifically the following:

1. vgchange -a y vg00
2. disconnect the disks
3. vgchange -a n vg00

Now this fails with many messages, such as:
[root@harris ~]# vgchange -a n vg00
   /dev/sda1: read failed after 0 of 4096 at 0: Input/output error
   /dev/sdb1: read failed after 0 of 4096 at 0: Input/output error
   /dev/sdb2: read failed after 0 of 4096 at 0: Input/output error
   /dev/sdc1: read failed after 0 of 4096 at 0: Input/output error
   /dev/sda: read failed after 0 of 1024 at 0: Input/output error
   /dev/sda: read failed after 0 of 1024 at 312475648: Input/output error
   /dev/sda: read failed after 0 of 2048 at 0: Input/output error
   /dev/sda1: read failed after 0 of 4096 at 1966080: Input/output error
   /dev/sda1: read failed after 0 of 4096 at 0: Input/output error
   /dev/sda2: read failed after 0 of 4096 at 310312960: Input/output error
   /dev/sda2: read failed after 0 of 4096 at 0: Input/output error
   /dev/sdb: read failed after 0 of 1024 at 0: Input/output error
   /dev/sdb: read failed after 0 of 1024 at 312475648: Input/output error
   /dev/sdb: read failed after 0 of 2048 at 0: Input/output error
   /dev/sdb1: read failed after 0 of 4096 at 1966080: Input/output error
   /dev/sdb1: read failed after 0 of 4096 at 0: Input/output error
   /dev/sdb2: read failed after 0 of 4096 at 310312960: Input/output error
   /dev/sdb2: read failed after 0 of 4096 at 0: Input/output error
   /dev/sdc: read failed after 0 of 1024 at 0: Input/output error
   /dev/sdc: read failed after 0 of 1024 at 16384000: Input/output error
   /dev/sdc: read failed after 0 of 2048 at 0: Input/output error
   /dev/sdc1: read failed after 0 of 4096 at 16318464: Input/output error
   /dev/sdc1: read failed after 0 of 4096 at 0: Input/output error
   Unable to find volume group "vg00"
[root@harris ~]#

This the vg is not deactivated. Now this is different behavior that with 
lvm1 which would just proceed as normal. My question is that is there a 
way to force the deactivation to occur in this case?

Thanks!

-- 
===========
John DeFranco                  Hewlett Packard Company
john.defranco@hp.com           Availability Clusters Solution Lab
phone: 408 447-7543            19111 Pruneridge Ave., M/S 4101
fax:   408 447-0056            Cupertino, CA 95014

             reply	other threads:[~2006-02-02 18:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-02 18:06 John DeFranco [this message]
2006-02-02 18:28 ` [linux-lvm] vgchange -an question with disconnected disks Alasdair G Kergon
2006-02-03 20:01 ` Peter Smith
2006-02-03 20:55   ` John DeFranco

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=43E24A37.6010801@cup.hp.com \
    --to=defranco@cup.hp.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).