[linux-lvm] Problem with LVM2 and device-mapper
Jonathan E Brassow
jbrassow at redhat.com
Tue Oct 18 21:14:44 UTC 2005
After a failed vgchange -ay, what does 'dmsetup ls' report?
I thought I've seen something like this in the past, but it always had
to do with a partial load of a logical volume.
On Oct 18, 2005, at 2:50 PM, Patrick Lawrence (LVM List) wrote:
> I am using CentOS 4 and just did an upgrade from 4.1 to 4.2 on my
> home server. After a reboot, one of my vol groups stopped working.
> It's a volume group spread across 2 disks and when I try to activate
> that volgroup I get the following:
> [root at hetfield mapper]# vgchange -ay VolGroup02
> device-mapper ioctl cmd 9 failed: Invalid argument
> Couldn't load device 'VolGroup02-DVD'.
> 1 logical volume(s) in volume group "VolGroup02" now active
> and the relevant portion of the /var/log/messages has:
> Oct 17 08:45:07 hetfield kernel: device-mapper: dm-linear: Device
> Oct 17 08:45:07 hetfield kernel: device-mapper: error adding target to
> My other two volgroups are working fine. It's just this third one that
> has problems.
> I did quite a bit of googling yesterday, but I didn't come up with much
> although I have to confess that I know jack about the device mapper...
> Is there anything I can provide to diagnose the problem further? Since
> CentOS tracks RHEL4 very closely, I suspect this affects RHEL4 as well.
> linux-lvm mailing list
> linux-lvm at redhat.com
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
More information about the linux-lvm