linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Olivier Eymere <olivier_eymere@yahoo.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] vgreduce --removemissing does not remove missing
Date: Mon, 13 Jun 2005 17:44:37 -0700 (PDT)	[thread overview]
Message-ID: <20050614004437.19422.qmail@web32002.mail.mud.yahoo.com> (raw)

We have had a disk failure and are trying to recover
what we can.  Having seen that there were major disk
problems we were running pvmove but, alas, it never
finished.  I don't care that much about the data on
the disk but I am puzzled as to why 'vgreduce
--removemissing' reports that it is removing logical
volumes but does not actually seem to do anything. 
When I run vgscan this is what I get:

Reading all physical volumes.  This may take a
while...
/dev/cdrom: open failed: No medium found
Couldn't find device with uuid
'Ay85t2-628y-fE0f-js0t-8RO4-WAy4-9qbaZy'.
Couldn't find all physical volumes for volume group
VolGroup00.
Volume group "VolGroup00" not found
Found volume group "VolGroup01" using metadata type
lvm2

Then I run:
vgreduce --verbose --removemissing VolGroup00
Finding volume group "VolGroup00"
Couldn't find device with uuid
'Ay85t2-628y-fE0f-js0t-8RO4-WAy4-9qbaZy'.
Couldn't find all physical volumes for volume group
VolGroup00.
Couldn't find device with uuid
'Ay85t2-628y-fE0f-js0t-8RO4-WAy4-9qbaZy'.
Archiving volume group "VolGroup00" metadata.
VolGroup00/pvmove0 has missing extents: removing
(including dependencies)
Deactivating (if active) logical volume pvmove0
Couldn't find device with uuid
'Ay85t2-628y-fE0f-js0t-8RO4-WAy4-9qbaZy'.
Found volume group "VolGroup00"
Couldn't find device with uuid
'Ay85t2-628y-fE0f-js0t-8RO4-WAy4-9qbaZy'.
Found volume group "VolGroup00"
Removing LV pvmove0 from VG VolGroup00
VolGroup00/pvmove0 has missing extents: removing
(including dependencies)
Deactivating (if active) logical volume pvmove0
Couldn't find device with uuid
'Ay85t2-628y-fE0f-js0t-8RO4-WAy4-9qbaZy'.
Found volume group "VolGroup00"
Couldn't find device with uuid
'Ay85t2-628y-fE0f-js0t-8RO4-WAy4-9qbaZy'.
Found volume group "VolGroup00"
Removing LV pvmove0 from VG VolGroup00

It looks to me that it is removing the pvmove0 LV but
when I run vgscan again it says the same thing about
not finding device with uuid ...  Am I not
understanding what vgreduce is trying to do or should
that pv have been removed?




		
__________________________________ 
Discover Yahoo! 
Find restaurants, movies, travel and more fun for the weekend. Check it out! 
http://discover.yahoo.com/weekend.html 

                 reply	other threads:[~2005-06-14  0:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20050614004437.19422.qmail@web32002.mail.mud.yahoo.com \
    --to=olivier_eymere@yahoo.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).