All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oliver Rath <rath@mglug.de>
To: lvm-devel@redhat.com
Subject: indirection level for links for thinpools and thin volumes differ in ubuntu 12.04.3
Date: Wed, 30 Oct 2013 01:03:00 +0100	[thread overview]
Message-ID: <52704CB4.7050604@mglug.de> (raw)

Hi list,

Im not sure, if this is wanted:

If I create a thinpool-device, it is a link from /dev/<vg>/thinpoolname
to /dev/mapper/<vg>-thinpoolname, which is a link to /dev/dm-XX. .

But if I create a thinpool-volume from this device, the link to
/dev/dmi-XX is created directly:

Furthermore, the udev-rule for the thinpool-device creation seems to be
broken:

root at dmicrash:lvm2# lvcreate  --size 20G --thinpool dmivg/testpoollink
  Logical volume "testpoollink" created
  The link /dev/dmivg/testpoollink should have been created by udev but
it was not found. Falling back to direct link creation.
root at dmicrash:lvm2# ls -l /dev/dmivg/testpoollink
lrwxrwxrwx 1 root root 30 Okt 30 00:53 /dev/dmivg/testpoollink ->
/dev/mapper/dmivg-testpoollink
root at dmicrash:lvm2# ls -l /dev/mapper/dmivg-testpoollink
lrwxrwxrwx 1 root root 7 Okt 30 00:53 /dev/mapper/dmivg-testpoollink ->
../dm-7
root at dmicrash:lvm2# lvcreate  -V 2G --name testthinlink --thinpool
dmivg/testpoollink
  Logical volume "testthinlink" created
root at dmicrash:lvm2# ls -l /dev/dmivg/testthinlink
lrwxrwxrwx 1 root root 8 Okt 30 00:54 /dev/dmivg/testthinlink -> ../dm-11

This is tested on a Ubuntu 12.04.3 with the lvm-sources from today,
compiled with

./configure --with-thin=internal --with-replicators=internal
--enable-udev_sync --enable-udev_rules

Regards,
Oliver



                 reply	other threads:[~2013-10-30  0:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=52704CB4.7050604@mglug.de \
    --to=rath@mglug.de \
    --cc=lvm-devel@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.