[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] Problem with LVM2 and device-mapper



Hello,

> After a failed vgchange -ay, what does 'dmsetup ls' report?

<snip>
[root hetfield ~]# 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
[root hetfield ~]# dmsetup ls
VolGroup00-Home (253, 1)
pdc_jahacaib    (253, 6)
VolGroup00-Swap (253, 5)
VolGroup02-DVD  (253, 10)
VolGroup00-Root (253, 0)
VolGroup01-Media        (253, 9)
pdc_jahacaib1   (253, 7)
VolGroup00-Usr  (253, 2)
VolGroup01-Data (253, 8)
VolGroup00-Var  (253, 4)
VolGroup00-Local        (253, 3)
[root hetfield ~]# ls -lF /dev/mapper
total 0
crw-------  1 root root  10, 63 Oct 15 10:00 control
brw-rw----  1 root disk 253,  6 Oct 15 17:00 pdc_jahacaib
brw-rw----  1 root disk 253,  7 Oct 15 17:00 pdc_jahacaib1
brw-rw----  1 root disk 253,  1 Oct 15 10:00 VolGroup00-Home
brw-rw----  1 root disk 253,  3 Oct 15 10:00 VolGroup00-Local
brw-rw----  1 root disk 253,  0 Oct 15 10:00 VolGroup00-Root
brw-rw----  1 root disk 253,  5 Oct 15 10:00 VolGroup00-Swap
brw-rw----  1 root disk 253,  2 Oct 15 10:00 VolGroup00-Usr
brw-rw----  1 root disk 253,  4 Oct 15 10:00 VolGroup00-Var
brw-rw----  1 root disk 253,  8 Oct 15 17:00 VolGroup01-Data
brw-rw----  1 root disk 253,  9 Oct 15 17:00 VolGroup01-Media
brw-rw----  1 root disk 253, 10 Oct 18 14:32 VolGroup02-DVD
<snip>

The node is indeed created in /dev/mapper (which I assume 'dmsetup ls'
is querying.)  If I deactivate that volgroup the entry is removed.

Hope this helps.

Regards,

Pat


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]