From: Brian McCullough <bdmc@bdmcc-us.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Unable to find device with UUID XXX.
Date: Wed, 18 May 2016 10:56:50 -0400 [thread overview]
Message-ID: <20160518145650.GA3394@bdmcc-us.com> (raw)
In-Reply-To: <573C6BDF.4090209@redhat.com>
On Wed, May 18, 2016 at 03:19:27PM +0200, Marian Csontos wrote:
> On 05/18/2016 02:22 AM, Brian McCullough wrote:
> >I have an issue that I hope that the group can save me from.
> >
> >I ran pvmove for about half of the PVs on the drive that was failing,
> >sending them to the new drive. All seemed to be well.
> >
> >THEN, the data cable on the old drive ( USB 3 ) was disturbed, and
> >pvmove stopped, complaining that it couldn't see the drive. OK, I can
> >fix this. I plugged the cable back in, but things didn't seem to be any
> >better.
>
> BTW, pvmove is not a data rescue tool. It does not keep persistent log and
> it is necessary to resume synchronization between drives from scratch on
> reboot.
>
> Use ddrescue to get data from disks with errors.
Thank you. I have seen recommendations for ddrescue to other people for
"dead drive" situations. Didn't think that I was there yet.
> >I stopped the system, and rebooted.
> >
> >I have rebooted several times, with not completely consistent results.
> >
> >A couple of times it stopped when it said that it was loading the MD
> >drivers.
>
> We need to know more to help.
Yes, I know. That's why I asked, so that you could tell me what I need
to give you.
> Are you using md raid? If so is not using mdadm to replce and synchronize
> the drive better?
No. Not on this machine. I have used LVM on several machines over the
years, with success. This is the first time that I have tried some of
the "deeper" commands.
> What distribution, version of LVM and kernel?
On the main machine, or the Rescue CD?
> `lsblk` output would help us to see what's there.
> `blkid` output would help us to see other bits and pieces.
> Also `vgs`, `lvs -avo+devices`, `pvs` output, too, please.
OK, I will work on those.
> >When I seem to have got the system booted properly, I do a pvs and it
> >complains about missing UUIDs.
>
> My guess is some of the PVs (those on the old drive) were marked missing and
> would have to be readded to the VG using `vgextend --restoremissing` before
> you can continue.
OK. I will get the output from the commands above, before I try this.
> Another possibility is, is lvmetad enabled and running?
No, or at least not as far as I know. I have never intentionally done
so.
> -- Martian
Brian
next prev parent reply other threads:[~2016-05-18 14:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-18 0:22 [linux-lvm] Unable to find device with UUID XXX Brian McCullough
2016-05-18 13:19 ` Marian Csontos
2016-05-18 14:56 ` Brian McCullough [this message]
2016-05-18 18:39 ` Brian McCullough
2016-05-18 18:43 ` Brian McCullough
2016-05-18 19:44 ` Brian McCullough
2016-05-23 14:03 ` Marian Csontos
2016-05-25 16:40 ` Brian McCullough
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=20160518145650.GA3394@bdmcc-us.com \
--to=bdmc@bdmcc-us.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.