Hi,
Quoting "Boyd Stephen Smith Jr."
In Monday 15 June 2009, you wrote:
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?
This is something different. As the GParted Live-CD shows, the device has the correct UUID. This means that, for whatever reason, LVM is not scanning the correct device(s) to find a UUID. Either that, or the disk itself isn't being detected by the kernel, so the block devices (for the disk and partitions) are not being created.
When you boot the system normally, which device is the drive that LVM can't find?
sdc
You may simply be missing the correct kernel module for the disk controller.
How could I verify that?
Assuming you can determine which device LVM should be finding (perhaps /dev/sdc?), check your /etc/lvm/lvm.conf. Specifically, the "device" section. Mine looks like this: devices { dir = "/dev" scan = [ "/dev" ] filter = [ "r|/dev/.*/by-path/.*|", "r|/dev/.*/by-id/.*|", "a/.*/" ] cache = "/etc/lvm/.cache" write_cache_state = 1 sysfs_scan = 1 md_component_detection = 1 }
Mine is: filter = [ "r|/dev/.*/by-path/.*|", "r|/dev/.*/by-id/.*|", "a/.*/" ]
The critical lines are the "scan"
This one is also the same.
If your device is rejected (name
How could I find its name? Is it 'sdc'? Btw: Here is fdisk's output: Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0007e41f Device Boot Start End Blocks Id System /dev/sda1 1 2612 20980858+ c W95 FAT32 (LBA) /dev/sda2 2613 4571 15735667+ 82 Linux swap / Solaris /dev/sda3 * 4572 4702 1052257+ 83 Linux /dev/sda4 4703 19457 118519537+ 8e Linux LVM Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000d7480 Device Boot Start End Blocks Id System /dev/sdb1 1 60801 488384001 8e Linux LVM Disk /dev/sdc: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/sdc doesn't contain a valid partition table Disk /dev/dm-0: 858.9 GB, 858993459200 bytes 255 heads, 63 sectors/track, 104433 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/dm-0 doesn't contain a valid partition table Disk /dev/dm-1: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/dm-1 doesn't contain a valid partition table Thanks a lot for your help! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org