LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-09-2012, 06:47 PM   #1
LQ Newbie
Registered: Jan 2010
Posts: 5

Rep: Reputation: 0
"Error: unrecognised disk label" in LVM

Recently changed my lvm data to include another disk, and rebooted. Linux fsck'd the disk on reboot, now when using parted get

"Error: /dev/mapper/pve-data: unrecognised disk label"

The drive is still mounted, and I can read/write the data:

/dev/mapper/pve-data on /var/lib/vz type ext3 (rw)

I am currently backing up all the data on the drive, just in case... is there anything I can do to fix this without purging the data on the drive?
Old 10-10-2012, 01:20 PM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,228
Blog Entries: 10

Rep: Reputation: 836Reputation: 836Reputation: 836Reputation: 836Reputation: 836Reputation: 836Reputation: 836
parted is a partitioning tool - it should be used on the underlying disks NOT on the LVM Volume Group VG or logical volume (LV) mapped devices. That is to say typically you're running parted against things like /dev/sda, /dev/sdb etc... NOT /dev/mappper/... items. From your df it appears that /dev/mapper/pve-data is one of your LVs (presumably the LV is "data" and the VG is "pve".

If you run "vgdisplay -v" on your VG what does it show for LVs? PVs?

If for example you saw /dev/sdb1 as a PV in your VG then that is the first partition on your second disk. You'd use parted on /dev/sdb.

However, once you've added disks as PVs into a VG you shouldn't be doing anything with parted or other partitioning tools unless you're adding a new disk and need to partition it.


drive, lvm

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] "SDA must have a GPT disk label" error while installing RHEL6 - "IBM x3650 M3" Server Linux - Server 12 02-25-2014 05:34 PM
Error: /dev/sda: unrecognised disk label. >>Want to rescue data, but cannot mount it. hector3rd Linux - Hardware 6 08-20-2010 01:26 PM
issues with e2label and label shown in "My Computer Disk Info" openSUSE 11.2 (x86_64) fanzam SUSE / openSUSE 2 04-24-2010 09:03 AM
Removed HD resulted in "Unable to resolve LABEL " error during boot nooto Linux - Hardware 2 12-26-2008 08:58 AM
Getting Error "fsck.ext3 Unable to resolve 'LABEL=boot'" during Booting... salil.mehta Fedora 3 08-21-2006 08:39 AM

All times are GMT -5. The time now is 07:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration