Re: [Hampshire] mounting a logical volume

2022-02-25 Thread James Dutton via Hampshire
On Fri, 25 Feb 2022 at 12:24, Peter Alefounder via Hampshire < hampshire@mailman.lug.org.uk> wrote: > > James Dutton said: > > 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"

Re: [Hampshire] mounting a logical volume

2022-02-25 Thread Peter Alefounder via Hampshire
Dom Rodriguez/shymega said: > Definitely modify the header on a live CD - I don't know if you can do it on a > mounted FS, but my general rule of thumb though my experience is to always do > it on a live CD unless you can make the FS go offline... but as you said your > SSD is on the VG, yeah, do

Re: [Hampshire] mounting a logical volume

2022-02-19 Thread James Dutton via Hampshire
On Fri, 18 Feb 2022 at 21:56, Peter Alefounder via Hampshire < hampshire@mailman.lug.org.uk> 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.

Re: [Hampshire] mounting a logical volume

2022-02-19 Thread Dom Rodriguez/shymega via Hampshire
Let's be more specific here - LVM is more complex than just a regular partition. Peter, with regards to VG - it's actually 'Volume Group', just to clarify... It sounds like it's just the header that needs updating. Personally, I would use `rsync` to backup your data, rather than dd. This way, y

Re: [Hampshire] mounting a logical volume

2022-02-19 Thread Joseph Bennie via Hampshire
peter either use dd to block copy your ssd to a new disk or use gparted on a live rescue disk to do the same. it will also allow you to move /resize your partitions once copied you should be safe to make a change to the original. Sent from my iPhone > On 18 Feb 2022, at 21:56, Peter Alefoun

Re: [Hampshire] mounting a logical volume

2022-02-18 Thread Peter Alefounder via Hampshire
Thank you Joseph and James. Looks like I did not make things clear. This is not a new disk, it is one that held the system and all my files before the main board on the machine failed and was replaced. The new system and files are on a SSD. However, that is now half full, and I would like to

Re: [Hampshire] mounting a logical volume

2022-02-16 Thread James Dutton via Hampshire
Hi, Just in case, I would like to point out that Joseph B email contains incorrect instructions. mkfs on /dev/sde5 will cause problems. LVM has 3 levels. 1) Physical Volume. the "pv" 2) Volume Ground. the "vg" 3) Logical Volume. the "lv" If you have defined some LVM partitions, then the command

Re: [Hampshire] mounting a logical volume

2022-02-16 Thread Joseph Bennie via Hampshire
Sent from my iPhone > On 16 Feb 2022, at 23:37, Peter Alefounder via Hampshire > wrote: > > I am trying to mount a logical volume, under Debian 11.1.0. lsblk gives: > NAMEMAJ:MIN RM SIZE RO TYPE MOUNTPOINT > sde 8:64 0 931.5G 0 disk > sde1 8:65 0 243M 0

[Hampshire] mounting a logical volume

2022-02-16 Thread Peter Alefounder via Hampshire
I am trying to mount a logical volume, under Debian 11.1.0. lsblk gives: NAMEMAJ:MIN RM SIZE RO TYPE MOUNTPOINT sde 8:64 0 931.5G 0 disk sde1 8:65 0 243M 0 part sde2 8:66 0 1K 0 part sde5 8:69 0 931.3G 0 part It is sde5 that I wan