From: Gary Windham <windhamg@email.arizona.edu>
To: linux-lvm@sistina.com
Subject: [linux-lvm] LVM2 snapshot creation problem
Date: Wed Jan 8 17:48:02 2003 [thread overview]
Message-ID: <3E1CB9E4.1030704@email.arizona.edu> (raw)
I am testing LVM2 under the 2.4.20 (vanilla) kernel running on RedHat
8.0. I'm Using device-mapper0.96.07 and the userspace tools
LVM2.1.95.13 packages. I applied the device-mapper kernel patches
located at
http://people.sistina.com/~thornber/patches/2.4-stable/2.4.20/2.4.20-dm-2.tar.bz2.
My problem is that I have not been able to create LV snapshots under
LVM2. Here's an example (command and output follow):
===
# /lvm2/sbin/lvcreate -s -L 20g -n snap -v mytestvg/testlv
Setting chunksize to 16 sectors.
Finding volume group "mytestvg"
Creating logical volume snap
Archiving volume group "mytestvg" metadata.
Found volume group "mytestvg"
Loading mytestvg-snap
Found volume group "mytestvg"
Zeroing start of logical volume "snap"
Found volume group "mytestvg"
Removing mytestvg-snap
Found volume group "mytestvg"
Found volume group "mytestvg"
Found volume group "mytestvg"
Loading mytestvg-testlv-real
Loading mytestvg-testlv
Loading mytestvg-snap-cow
Loading mytestvg-snap
device-mapper ioctl cmd 2 failed: Invalid argument
Couldn't load device 'mytestvg-snap'.
Creating volume group backup "/etc/lvm/backup/mytestvg"
Logical volume "snap" created
===
The logical volume is then in an "INACTIVE destination" for my original
LV, and cannot be activated. All I can do is "lvremove" it.
Any advice would be most appreciated!
Thanks,
--Gary
--
Gary Windham
Systems Programmer, Principal
The University of Arizona, CCIT
next reply other threads:[~2003-01-08 17:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-08 17:48 Gary Windham [this message]
2003-01-08 18:04 ` [linux-lvm] LVM2 snapshot creation problem Alasdair G Kergon
2003-01-10 12:19 ` Gary Windham
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=3E1CB9E4.1030704@email.arizona.edu \
--to=windhamg@email.arizona.edu \
--cc=linux-lvm@sistina.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.