RE: [SLE] 10.1, LVM2, and inaccessible snapshot-related logical volumes
- From: "Marlier, Ian" <ian.marlier@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 28 Jun 2006 10:19:37 -0400
Anyone?
-----Original Message-----Xen
From: Ian Marlier [mailto:ian.marlier@xxxxxxxxxxxxxxxxxxx]
Sent: Tuesday, June 27, 2006 12:56 AM
To: suse-linux-e@xxxxxxxx
Subject: [SLE] 10.1, LVM2, and inaccessible snapshot-related logical
volumes
So, I'm working on setting up a system that's going to run a series of
virtual machines.with
Each of these virtual machines are going to be basically identical,
only slight differences in a specific application for testing.of
Rather than duplicate the initial setup in whole, I created it as a
logical
volume, and created a second as a snapshot of the first, with a couple
gigs of wiggle room./dev/mapper/xen-
These partitions, at the time of creation, were addressable as
/dev/xen/vm1
and /dev/xen/vm2 (alternately, /dev/mapper/xen-vm1 and
vm2).no
However, after doing a reboot of the host machine, the partitions are
longer addressable via the /dev/<vol group name>/<logical volume name>not
syntax. They're only available as /dev/dm-1 and /dev/dm-2
`ls -altr /dev/xen/` shows that the device files for vm1 and vm2 do
exist. The device files for my other logical volumes, which are notthe
snapshots, do exist.
Doing `lvscan` shows this:
ACTIVE '/dev/xen/vm0' [20.00 GB] inherit
inactive Original '/dev/xen/vm1' [20.00 GB] inherit
inactive Snapshot '/dev/xen/vm2' [2.90 GB] inherit
ACTIVE '/dev/xen/vm3' [20.00 GB] inherit
So, I'm assuming that the "inactive" state is somehow related to the
device
files being missing; and that the inactive state is somehow related to
snapshot-nature of the partitions.back?
Can anyone point me to what I need to do to get those device files
and
(Though I agree that it could be done, I don't really consider manual
creation of the files to be a good option; I'm going to be creating
destroying virtual machines on this box quite often, and need theetc,
management
tools to be working.)
On a side note: I _can_ mount these partitions, read data from them,
asfiles
/dev/dm-1 and the like. The problem with that is that the device
don't necessarily refer to the same partition all the time. If youhave
dm-1..dm-6, and delete dm-2, then dm-3..dm-6 slide up one and become
dm-2..dm-5. Not handy when those device files are entered into config
files
for virtual machines.
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx
- Prev by Date: Re: [SLE] Backup/Image Software
- Next by Date: Re: [SLE] Garmin GPS Kernel Module Stability Problems?
- Previous by thread: [SLE] 10.1, LVM2, and inaccessible snapshot-related logical volumes
- Next by thread: [SLE] update-status eats CPU
- Index(es):
Relevant Pages
|
Loading