Re: [Hampshire] mounting a logical volume

Top Page

Reply to this message
Author: James Dutton via Hampshire
Date:  
To: Hampshire LUG Discussion List
CC: James Dutton, Peter Alefounder
Subject: Re: [Hampshire] mounting a logical volume
On Fri, 18 Feb 2022 at 21:56, Peter Alefounder via Hampshire <
hampshire@???> wrote:

> > 2) Volume Ground. the "vg"
>

"Ground" is a typo, it is "Volume Group".


> > If you have defined some LVM partitions, then the command to use is
> lvdisplay.
> > It will list the available LVs.
>
> That is the problem. For the disk in question, lvdisplay does not give
> a LV name, it just says:
> WARNING: PV /dev/sde5 in VG debian is using an old PV header, modify
> the VG to update.
>
> Your advice gave me sufficient information for a further internet search.
>
> It appears I could try vgck. Is it safe to do that on a mounted filesystem?
> The --updatemetadata option would correct the header. However, the SSD is
> in the same VG. I do not want to risk damaging the file system there.
>
>

I have not come across that particular message.
But this link gives you the instructions to follow.
Essentially it sounds like the old disk used an older OS version.
From looking at the instructions, the "vgck" command is needed.
https://access.redhat.com/solutions/5906681

Note that the instructions will update the VG to work with a modern OS.
After doing that vgck, you will probably not be able to place the disk back
in the old machine and it work, if the old machine is still around.

Kind
Regards

James
--
Please post to: Hampshire@???
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------