Mailinglist Archive: opensuse (1473 mails)

< Previous Next >
Re: [opensuse] UUID=>0x and LVM
  • From: Philip Mötteli <philip.moetteli@xxxxxxxxxxxxx>
  • Date: Mon, 15 Jun 2009 10:20:07 +0200
  • Message-id: <9BDDDE50-5063-413E-98A2-52A904EDD272@xxxxxxxxxxxxx>
Am 14.06.2009 um 19:36 schrieb Boyd Stephen Smith Jr.:

In <8702E78B-86D7-4C69-8435-25875C189053@xxxxxxxxxxxxx>, Philip Mötteli wrote:
Am 14.06.2009 um 03:54 schrieb Boyd Stephen Smith Jr.:

this hard-drive has changed its UUID
to 0x.
What is telling you this?
fdisk -l

That's not the UUID that LVM reads. Actually, that's not a UUID at all, it
is not enough bits.

Well, actually it says '00000000x'


To see the UUIDs on the system as LVM sees them issue the command:
pvscan -u

Booting from the system, this gives:

Couldn't find device with uuid ' lLWxB7-QmLl-FMXX-KQRW-EDH2-EHLL-o7D21b'
Couldn't find device with uuid ' lLWxB7-QmLl-FMXX-KQRW-EDH2-EHLL-o7D21b'
Couldn't find device with uuid ' lLWxB7-QmLl-FMXX-KQRW-EDH2-EHLL-o7D21b'
PV /dev/sda4 with UUID ecQz2l-Yl5S-s1AR-delt-5zXF-Wnjs-P2y2dH VG system lvm2 [113.03 GB / 0 free]
PV /dev/sdb1 with UUID 5P6jGx-ePjX-43Az-wyLL-wuF5-R4Vt-vP9Uff VG system lvm2 [465.76 / 0 free]
PV unknown device with UUID lLWxB7-QmLl-FMXX-KQRW-EDHZ-EHLL-o7DZ1b VG system lvm2 [465.76 GB / 224.54 GB free]
Total: 3 [1.02 TB] / in use: 3 [1.02 TB] / in no VG: 0 [0 ]


When I boot from the GParted live-CD:

PV /dev/sdb4 with UUID ecQz2l-Yl5S-s1AR-delt-5zXF-Wnjs-P2y2dH VG system lvm2 [113.03 GB / 0 free]
PV /dev/sdc1 with UUID 5P6jGx-ePjX-43Az-wyLL-wuF5-R4Vt-vP9Uff VG system lvm2 [465.76 GB / 0 free]
PV /dev/sda with UUID lLWxB7-QmLl-FMXX-KQRW-EDHZ-EHLL-o7DZ1b VG system lvm2 [465.76 GB / 224.54 GB free]
Total: 3 [1.02 TB] /in use: 3 [1.02 TB] / in no VG: 0 [0 ]


No error at all. How does the GParted Live-CD do that?



Assuming nothing is wrong with the drive, you should be able to run
pvcreate
and specify the UUID that LVM is expecting and it will write the new
PV
meta-data

I will try that, as soon, as we will have backuped the data.


without affecting any other sectors on the drive/partition.

That was something, I was afraid of. They haven't a backup so far.

Even if you can't mount the drive, you can take a dd_rescue copy of it
before you make changes to any of the data on it.

I will buy a 1TB external hard-drive and backup, what the client considers important.


Thanks!
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >