All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Patrick Lawrence (LVM List)" <5e67ea4d1e39ed0d23e6@patsoffice.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Problem with LVM2 and device-mapper
Date: Tue, 18 Oct 2005 14:35:40 -0700	[thread overview]
Message-ID: <1129671341.2901.2.camel@cantrell.patsoffice.com> (raw)
In-Reply-To: <85f72c0fd806dec224faff1ca6dd83a3@redhat.com>

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

  reply	other threads:[~2005-10-18 21:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-18 19:50 [linux-lvm] Problem with LVM2 and device-mapper Patrick Lawrence (LVM List)
2005-10-18 21:14 ` Jonathan E Brassow
2005-10-18 21:35   ` Patrick Lawrence (LVM List) [this message]
2005-10-20 23:20 ` Valery Mitsyn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1129671341.2901.2.camel@cantrell.patsoffice.com \
    --to=5e67ea4d1e39ed0d23e6@patsoffice.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.