[linux-lvm] Can't mount or run fdisk on an existing logical volume, help!

Ray Van Dolson rvandolson at esri.com
Tue Jul 21 22:21:18 UTC 2009


On Tue, Jul 21, 2009 at 03:09:27PM -0700, Adam Olsen wrote:
> On Tue, Jul 21, 2009 at 3:59 PM, Ray Van Dolson<rvandolson at esri.com> wrote:
> >  vgcfgrestore -l storage
> 
> Hrmm, getting a lot of this:
> 
>   File:		/etc/lvm/archive/storage_00033.vg
>   Couldn't find device with uuid 'MSeHHn-Tcol-GROd-541H-8wcS-3cqv-QBqL4m'.
>   Couldn't find device with uuid 'WtsE6d-UpqB-l3vo-um3o-0qO9-k4xl-HcJ0eM'.
>   Couldn't find device with uuid 'zVilO7-5ioi-6c9W-ZEnp-uXpP-p1rR-WiwE3M'.
>   VG name:    	storage
>   Description:	Created *before* executing 'vgscan'
>   Backup Time:	Tue Jul 21 13:19:21 2009
> 
> What is this stuff about can't find device with uuid?
> 

It appears that sometime during the 33 and 34 files in archive/ the
UUID's on your PV's changed.

Do you see the above errors for storage_00034.vg?

What about for vgcfgrestore -l -f /etc/lvm/backup/storage storage ?

I'm not sure which one of these backup files I'd use to restore to.
You can also re-run pvcreate with the --uuid and --restorefile argument
if you want to recreate a "lost" uuid...

Still wondering how in the world this happened :)

Ray




More information about the linux-lvm mailing list