All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alasdair G Kergon <agk@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Create Snapshot volume, with sized based on size of original lv
Date: Mon, 6 Oct 2008 14:11:41 +0100	[thread overview]
Message-ID: <20081006131141.GA23898@agk.fab.redhat.com> (raw)
In-Reply-To: <20081004090534.227400@gmx.net>

On Sat, Oct 04, 2008 at 11:05:34AM +0200, Michael Schmarck wrote:
> $ sudo lvm lvcreate -s -l 25%LV -n Bilder_snap /dev/sys/Bilder
>   Please express size as %VG, %PVS, or %FREE.
> Did I do something wrong, or is the output "--help"
> just wrong?
 
%LV is for resizing an existing LV.
lvcreate -s -l n%LV would indeed be unambiguous,
but what then about lvresize on a snapshot?  Would it be % of 
base LV or % of existing snapshot?  (Perhaps we need %ORIGIN.)

Alasdair
-- 
agk@redhat.com

  reply	other threads:[~2008-10-06 13:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-04  9:05 [linux-lvm] Create Snapshot volume, with sized based on size of original lv Michael Schmarck
2008-10-06 13:11 ` Alasdair G Kergon [this message]
2008-10-06 17:15   ` Michael Schmarck

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=20081006131141.GA23898@agk.fab.redhat.com \
    --to=agk@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 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.