Accidental relabeling of LVM PV

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I mistakenly ran parted mklabel on an LVM PV (/dev/sdg1).  Presumably,
this damaged the metadata area of the PV.  Will `pvcreate
--restorefile <backup> --uuid <old_uuid> /dev/sdg1` solve my problems
if it executes successfully, or have I damaged?  I've tried running it
but receive the following error:

  Couldn't find device with uuid '6LivE9-tYvi-H8Tm-yQbP-f7tE-OlDO-Nn5jJH'.
  Can't open /dev/sdg1 exclusively.  Mounted filesystem?

/dev/sdg1 is not mounted.  I assume a reboot may take care of this
problem, but I'm afraid I won't be able to remount the filesystem that
exists in the LV on this partition.


-- 
Shawn Hood

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux