vgimport problem with LVM Partitions

General support questions
Post Reply
Mr_Si
Posts: 50
Joined: 2013/07/12 12:16:45
Location: Lancing, West Sussex, UK
Contact:

vgimport problem with LVM Partitions

Post by Mr_Si » 2020/01/07 10:57:10

Hi all,

I have a data drive from a dead computer where it was not possible to do a vgexport before the computer died (it was a backup server running off basic computer hardware). The OS disk died, but the data disk was and is good.

I've now re-installed the OS (CentOS 7) (was previously 6.10) and I'm tring to see if I can re-amalgamate the data disk with vgimport, but I'm getting the error that vg_data was not exported (which is correct, as the server had died at some unknown time - it was on but not booted up properly with loads of block failures).

Is there a way to force-import it to LVM?

I thank you in advance!

Mr_Si
Posts: 50
Joined: 2013/07/12 12:16:45
Location: Lancing, West Sussex, UK
Contact:

Re: vgimport problem with LVM Partitions

Post by Mr_Si » 2020/01/07 11:20:14

never mind, it seems to be fine.

I just re-made it active using the

Code: Select all

vgchange -ay
command

Then I made the directory, re-mounted it, added it to fstab and rebooted.

All good.

Post Reply

Return to “CentOS 7 - General Support”