All of lore.kernel.org
 help / color / mirror / Atom feed
From: Torben Viets <Viets@web.de>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: [linux-lvm] Suggestion for LVM
Date: Wed, 16 Feb 2005 18:32:22 +0100	[thread overview]
Message-ID: <421383A6.2090508@web.de> (raw)
In-Reply-To: <420F9292.3090103@web.de>

Hello,

first I want to say I like your project and thank everyone, who is 
involved in this project, you made good work.

But I have one problem with the LVM, I post it hear for some days 
("LVM-Snapshot + dm_crypt"), the problem was that I can't made a 
snapshot of a dm-crypted LVM, then it creates the snapshot, but nothing 
works. And if I encrypt it on the device /dev/mapper/mp3 then I can't 
use the Snapshot function because lvcreate can't locate the volume group 
/dev/mapper, what logical.

Now my suggestion for a new LVM version is, couldn'tyou made it possible 
that lvcreate get an alternative path for the snapshot volume, now a 
example how i thought it could work.

pvcreate /dev/md0 //creating a physical volume
vgcreate /dev/data //create a volumegroup
lvcreate -L 8G -nmp3-crypt /dev/data //creating a volume group, 
everything on this will be crypted
cryptsetup create mp3 /dev/data/mp3-crypt //creating a encrpted device, 
I use cryptsetup because I don't know how dm_setup works :D
mkfs.xfs -f /dev/mapper/mp3
mount /dev/mapper/mp3 /mnt/mp3
cp -r *  /mnt/mp3

if I now make a
lvcreate -s -nsnap /dev/mapper/mp3
then I get a error Message (volume group mapper doesn't exit)
now my idea was that I give lvcreate on which vg the snapscho schould 
create for example
lvcreate -s -nsnap /dev/mapper/mp3 --snap-vg /dev/data/mp3-snap

is this possible to patch or is there a good reason why this doesn't 
work, I try to make it my self but my programming skills are not good 
enough to do this. Could some please made it, or is this senseless.

I hope you understand my problem.

greetings
Torben Viets

      reply	other threads:[~2005-02-16 17:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-13 16:43 [linux-lvm] LVM-Snapshot + dm_crypt Torben Viets
2005-02-13 16:51 ` Alasdair G Kergon
2005-02-13 17:46   ` Torben Viets
2005-02-16 17:32     ` Torben Viets [this message]

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=421383A6.2090508@web.de \
    --to=viets@web.de \
    --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.