LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-10-2008, 09:55 PM   #1
intrados
LQ Newbie
 
Registered: Nov 2008
Posts: 2

Rep: Reputation: 0
LVM PV UUID Disappeared After Resizing Underlying Partition


I resized the partition sdb3 (using fdisk) which contained a physical volume of the volume group "media". Now, none of the logical volumes from the volume group "media" will mount. Running pvscan gives the following output:
Code:
  Couldn't find device with uuid 'D38bwI-Evme-p95i-GQ3m-ezv5-p65q-U1klnk'.
  Couldn't find device with uuid 'D38bwI-Evme-p95i-GQ3m-ezv5-p65q-U1klnk'.
  Couldn't find device with uuid 'D38bwI-Evme-p95i-GQ3m-ezv5-p65q-U1klnk'.
  Couldn't find device with uuid 'D38bwI-Evme-p95i-GQ3m-ezv5-p65q-U1klnk'.
  PV /dev/sdb2        VG media    lvm2 [120.00 GB / 0    free]
  PV unknown device   VG media    lvm2 [120.00 GB / 0    free]
  PV /dev/sda4        VG media    lvm2 [175.79 GB / 8.00 MB free]
"vgcfgrestore media" gives the following:
Code:
  Couldn't find device with uuid 'D38bwI-Evme-p95i-GQ3m-ezv5-p65q-U1klnk'.
  Couldn't find all physical volumes for volume group media.
  Restore failed.
This is my /etc/lvm/backup/media:
http://rafb.net/p/7AUno315.html

I think I just need to detect the PV in sdb3 and assign it a UUID. How do I do that?

Thanks in advance.

Last edited by intrados; 11-11-2008 at 06:47 PM.
 
Old 11-10-2008, 11:57 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,336

Rep: Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176
I don't use LVM, but this may be of interest. Read the warning before proceeding.
 
Old 11-11-2008, 02:08 AM   #3
intrados
LQ Newbie
 
Registered: Nov 2008
Posts: 2

Original Poster
Rep: Reputation: 0
I'm not sure but I think that's just for fixing the VG UUID. I'm having problems with the PV UUID. Also, the program doesn't seem to be there any more.
 
Old 11-11-2008, 04:12 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,336

Rep: Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176
Yes, I saw what you wrote - I just side-stepped it due to ignorance. Where I come from, PV equate to partitions - UUIDs are a filesystem attribute, not a partition attribute. In a virtualized environment anything is possible. Sorry, nothing else to offer.
 
  


Reply


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
LVM Partition Resizing ChairmanMeoww Fedora 6 06-16-2012 07:00 AM
LVM: Resizing the root partition fulat2k Linux - General 6 01-08-2012 05:35 PM
Resizing an LVM partition oogs Fedora 5 10-24-2008 09:52 PM
resizing non-LVM partition laggerific Linux - Software 1 11-09-2006 07:20 PM
need help resizing an ext3 partition with an underlying partition... spiroth10 Linux - Software 1 07-30-2004 01:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:32 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