linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Joe Julian <me@joejulian.name>
To: linux-lvm@redhat.com, dm-devel@redhat.com
Subject: [linux-lvm] udev rules do not create partition entries when an lvm lv is partitioned
Date: Fri, 4 Sep 2015 11:18:26 -0700	[thread overview]
Message-ID: <55E9E072.8080209@joejulian.name> (raw)

Yes, I'm aware of all the arguments against even doing this, but I have 
my reasons for doing it this way.

When you create a partition on an lv:

   sgdisk /dev/vg1/lv1 -n 0:0:0

there is no udev rule to create the partition entry, '/dev/vg1/lv1p1' 
(for instance). For my immediate use case, this causes ceph-disk to fail 
as it cannot find the partition as it's expecting to find the device 
name with a new "1" at the end. Any suggestions on how I could make this 
happen?

             reply	other threads:[~2015-09-04 18:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-04 18:18 Joe Julian [this message]
2015-09-04 19:12 ` [linux-lvm] [dm-devel] udev rules do not create partition entries when an lvm lv is partitioned Bryn M. Reeves

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=55E9E072.8080209@joejulian.name \
    --to=me@joejulian.name \
    --cc=dm-devel@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).