Centos 6.9 - LVM - HDD Failure - Can't remove LV

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

Centos 6.9 - LVM - HDD Failure - Can't remove LV

Post by Mr_Si » 2017/09/26 10:04:32

Hi all,

I've had a hard disk failure with bad sectors and blocks all over the place (no raid on this system, unfortunately) so the PV cannot load up the hard disk properly, thus the VG can't reference the pv and thus the lv cannot reference the vg.

I'm trying to replace the hard disk in the system but I need to remove the old one from the system.

I can't perform any lvm commands as it gives me the error "File-based locking initialisation failed".

I think the system has booted up in some sort of limp mode - I had to enter the root password for maintenance, or control-d to continue, but then it reboots.

Please could anyone assist as it is a new one for me and my googling hasn't helped so far.

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

Re: Centos 6.9 - LVM - HDD Failure - Can't remove LV

Post by Mr_Si » 2017/09/26 10:11:48

NEver mind!

I finally found that I needed to do

Code: Select all

mount -o rw,remount /
in the CLI

Post Reply