On Wed, Oct 20, 2021 at 01:04:44PM -0500, Roger Heflin wrote:
> replying to my last email.
Thank you for your help, Roger. I will answer with more detail when the
sun comes around to my side of the planet, but will say that this is a
"secondary" VG, so your suggestion of changing fstab is very
replying to my last email.
do the pvcreate -uuid and then do a pvs/lvs/vgs and see if the vg/lv's look
like that are there. if so do a vgchange -ay and then test
mounting the fs.
And if with the fs either commented out and/or ,nofail the normal os boots
up work from there as you should have
is the pv in the root device vg? if not changing fstab to not mount the
missing fs(es) should get it bootable. I have a practice of putting
",nofail" on all non-root filesystems (ie defaults,nofail) since priority
#1 is getting the machine up and on the network after a reboot such that it
can
On Tue, Oct 19, 2021 at 05:06:37AM -0500, Roger Heflin wrote:
> I would edit the vgconfig you dd'ed with an editor and make sure it looks
> reasonable for what you think you had.
It turns out, comparing the information that I pulled off of the drive
with what I find in /etc/lvm/backup, that the
I would edit the vgconfig you dd'ed with an editor and make sure it looks
reasonable for what you think you had.
When you do the pvcreate --uuid it won't use anything except the uuid info
so the rest may not need to be exactly right, if you have to do a
vgcfgrestore to get it to read the rest of
On Mon, Oct 18, 2021 at 09:49:44AM -0500, Roger Heflin wrote:
> You will need a lvm backup file for the pvcreate --uuid I believe (there
> may be some option to get around needing the backup file).
>
> That will put the header back on if you either have an lvm backup and/or
> archive file, you
You will need a lvm backup file for the pvcreate --uuid I believe (there
may be some option to get around needing the backup file).
That will put the header back on if you either have an lvm backup and/or
archive file, you might also need a vgcfgrestore afterwards depending on if
anything else is
Folks,
I have had a disk go bad on me, causing me to lose one PV.
I seem to have retrieved the partition using ddrescue, but it also seems
to be missing some label information, because pvscan doesn't see it.
Using hexdump, I see the string " LVM2 " at 0x1004, but nothing before
that. The