LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-09-2012, 06:47 PM   #1
deranjer
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
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
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.
 
  


Reply

Tags
drive, lvm



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 garbagegigo@gmail.com Linux - Server 13 06-21-2017 07:03 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:42 PM.

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