All of lore.kernel.org
 help / color / mirror / Atom feed
From: Walter de Jong <walter@sara.nl>
To: dm-devel@redhat.com
Subject: dm snapshot does implicit resume?
Date: Fri, 01 Apr 2005 15:47:42 +0200	[thread overview]
Message-ID: <424D50FE.8090903@sara.nl> (raw)

Hi,

I'm not sure whether this is a dm or an lvm problem (or maybe it's a 
feature...) but it looks like snapshot does an implicit resume.
I have the feeling that this should be considered a bug.

observe:

dmsetup suspend /dev/mapper/some_vg-some_lv
lvcreate -s -L 10g -n snap /dev/some_vg/some_lv

The volume resumes automatigally without a need to run
dmsetup resume /dev/mapper/some_vg-some_lv



Also note how dmsetup requires the argument to be in the form
of "/dev/mapper/..." (/dev/some_vg/some_lv doesn't work here)
and lvcreate needs the form "/dev/some_vg/some_lv" 
(/dev/mapper/some_vg-some_lv doesn't work there) even though
they both have the same major,minor (in fact, /dev/some_vg/some_lv
is a symbolic link -> /dev/mapper/some_vg-some_lv)

This is on vanilla linux 2.6.11.6 (and many other 2.6.x versions)
with lvm2 2.01.04 and dmsetup 1.01.00

Greets,

      --Walter
-- 
                   *** If you build it, they will come ***

Walter de Jong
walter@sara.nl        http://www.sara.nl/
HPC Systems Programmer at SARA Computing and Network Services

People should be able to e-mail me, spambots should not.

                 reply	other threads:[~2005-04-01 13:47 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=424D50FE.8090903@sara.nl \
    --to=walter@sara.nl \
    --cc=dm-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.