On Tue, Jun 15, 2010 at 08:50:37AM +0100, Richard W.M. Jones wrote:
> On Tue, Jun 15, 2010 at 12:57:23AM -0400, Alex wrote:
> > such as to
> > perform a backup while the guest is actually running?
A bit early in the morning ...
To perform a backup while the guest is running, of course you don't
n
On Tue, Jun 15, 2010 at 12:57:23AM -0400, Alex wrote:
> Hi,
>
> > Take it a step at a time:
> >
> > guestfish -a systmp-img.img --ro
> > > list-devices
> > > list-partitions
> > > lvs
> >
> > You can then mount the partition(s) that contain data you want to
> > read, for example:
> >
> > > mo
Hi,
> Take it a step at a time:
>
> guestfish -a systmp-img.img --ro
> > list-devices
> > list-partitions
> > lvs
>
> You can then mount the partition(s) that contain data you want to
> read, for example:
>
> > mount /dev/vda1 /
For me, this produced:
> mount /dev/vda1 /
libguestfs: error:
Hi,
> OK, here's your problem: the offset option for losetup was not properly
calculated.
> http://www.campworld.net/thewiki/pmwiki.php/Linux/DiskImagesHOWTO
Yes, you're right, but your calculation were also wrong. It's 512, not 1024.
The link you sent was a great help in getting it working prope
On Sun, Jun 13, 2010 at 10:31:13PM -0400, Bill Davidsen wrote:
> Richard W.M. Jones wrote:
> > On Sat, Jun 12, 2010 at 05:53:31PM +0300, kalinix wrote:
> >> It would be useful to post the layout of your hdd, though.
> >
> > He shouldn't need to know the layout of his hdd :-) It's like reading
> >
Richard W.M. Jones wrote:
> On Sat, Jun 12, 2010 at 05:53:31PM +0300, kalinix wrote:
>> It would be useful to post the layout of your hdd, though.
>
> He shouldn't need to know the layout of his hdd :-) It's like reading
> the raw sectors to view a wordprocessor document. Use libguestfs!
>
> ht
On Sat, Jun 12, 2010 at 01:13:15PM -0600, Greg Woods wrote:
> On Sat, 2010-06-12 at 19:11 +0100, Richard W.M. Jones wrote:
>
> > Greg, I'd be really interested to talk to you (offline if you like)
> > about whether libguestfs could meet your needs here.
>
> Possibly it could, but it is not an av
On Sat, Jun 12, 2010 at 1:16 PM, kalinix wrote:
> On Sat, 2010-06-12 at 10:03 -0600, Greg Woods wrote:
>> On Sat, 2010-06-12 at 17:53 +0300, kalinix wrote:
>>> http://www.thegibson.org/blog/archives/467
> Thanks, I'll take a look at that.
>>> It would be useful to post the layout of your hdd, th
On Sat, 2010-06-12 at 19:11 +0100, Richard W.M. Jones wrote:
> Greg, I'd be really interested to talk to you (offline if you like)
> about whether libguestfs could meet your needs here.
Possibly it could, but it is not an available package on CentOS. I am
trying to do this with available tools s
On Sat, Jun 12, 2010 at 11:54:12AM -0600, Greg Woods wrote:
> What I really want this for is to be able to restore individual files
> from VM images. I back up my virtual machines with a script that pauses
> the VM, makes a copy of the disk image, resumes the VM, and moves the
> copy to our local m
On Sat, 2010-06-12 at 17:53 +0300, kalinix wrote:
> http://www.thegibson.org/blog/archives/467
Thank you, this worked. I couldn't do the "easy" way because the loop
module on my systems does not have a max_part parameter and it does not
create the /dev/loop0p* device nodes (it is CentOS 5 rather
On Sat, 2010-06-12 at 10:03 -0600, Greg Woods wrote:
> On Sat, 2010-06-12 at 17:53 +0300, kalinix wrote:
>
> > http://www.thegibson.org/blog/archives/467
>
> Thanks, I'll take a look at that.
>
>
> >
> > It would be useful to post the layout of your hdd, though.
>
> This is a Xen image if th
On Sat, 2010-06-12 at 17:53 +0300, kalinix wrote:
> http://www.thegibson.org/blog/archives/467
Thanks, I'll take a look at that.
>
> It would be useful to post the layout of your hdd, though.
This is a Xen image if that matters:
# losetup /dev/loop0 test.img
# fdisk -ul /dev/loop0
Disk /de
On Sat, Jun 12, 2010 at 05:53:31PM +0300, kalinix wrote:
> It would be useful to post the layout of your hdd, though.
He shouldn't need to know the layout of his hdd :-) It's like reading
the raw sectors to view a wordprocessor document. Use libguestfs!
http://lists.fedoraproject.org/pipermail/
On Sat, 2010-06-12 at 08:39 -0600, Greg Woods wrote:
> On Sat, 2010-06-12 at 00:43 +0300, kalinix wrote:
>
> > take a look here:
> >
> >
> > http://www.campworld.net/thewiki/pmwiki.php/Linux/DiskImagesHOWTO
>
> I got as far as mounting the first partition which is /boot. The second
> partition
On Sat, 2010-06-12 at 00:43 +0300, kalinix wrote:
> take a look here:
>
>
> http://www.campworld.net/thewiki/pmwiki.php/Linux/DiskImagesHOWTO
I got as far as mounting the first partition which is /boot. The second
partition has LVM volumes on it. Is there any way to get at those? The
LVM scanni
kalinix wrote:
> On Fri, 2010-06-11 at 17:28 -0400, Alex wrote:
>> Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID
>> 1 80 0 20 254 632 1 48194 83
>> 2 00 0 13 254 63 1023 48195 83827170 85
>> Partition 2 has different physical/logical endings:
Doh ...
> guestfish -a systmp-img.img --ro
Should be a 'run' command at this point.
> run
> > list-devices
[etc]
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml pack
On Fri, Jun 11, 2010 at 03:45:39PM -0400, Alex wrote:
> Hi,
>
> >> Another option is guestfish: http://libguestfs.org/
>
> I have to migrate the image to a remote system because I don't have
> all the tools there to run this. Do you know if guestfish requires a
> kvm kernel and processor, or can
On Fri, 11 Jun 2010 15:45:39 -0400
Alex wrote:
> > Still another is to add it as a additional disk to some
> > other virtual machine and get to it that way (which
> > may be what guestfish does internally - I've never
> > been sure).
>
> This might also be a good idea. How would I go about this
On Fri, 2010-06-11 at 17:28 -0400, Alex wrote:
> Hi,
>
> Could you please post the layout of you disk, taken with fdisk
> in expert mode: fdisk systmp-kvm.raw; x (for expert mode) and
> then p?
>
>
>
> Expert command (m for help): p
>
>
> Disk systmp-k
>
> Hi,
>
> Could you please post the layout of you disk, taken with fdisk in expert
> mode: fdisk systmp-kvm.raw; x (for expert mode) and then p?
>
Expert command (m for help): p
Disk systmp-kvm.raw: 255 heads, 63 sectors, 0 cylinders
Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID
1
On Fri, 2010-06-11 at 15:41 -0400, Alex wrote:
> Hi,
>
>
>
> Did you try http://equivocation.org/node/107 ?
>
>
>
> Yes, but doesn't work, because I believe it assumes the image is
> already of type 'raw', which is the exact problem I'm having.
>
>
> Thanks,
> Alex
>
>
Hi,
>> Another option is guestfish: http://libguestfs.org/
I have to migrate the image to a remote system because I don't have
all the tools there to run this. Do you know if guestfish requires a
kvm kernel and processor, or can it be done with an older processor?
When I try and mount the image,
Hi,
Did you try http://equivocation.org/node/107 ?
>
Yes, but doesn't work, because I believe it assumes the image is already of
type 'raw', which is the exact problem I'm having.
Thanks,
Alex
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
htt
On Fri, 11 Jun 2010 14:20:15 -0400
Todd Zullinger wrote:
> Another option is guestfish: http://libguestfs.org/
Still another is to add it as a additional disk to some
other virtual machine and get to it that way (which
may be what guestfish does internally - I've never
been sure).
--
users maili
kalinix wrote:
> On Fri, 2010-06-11 at 13:16 -0400, Alex wrote:
[...]
>> I have a 5GB kvm image that I created some time ago, and would like
>> to mount it on the host system to access it. I've located a few
>> documents online for how to do this, but it doesn't seem to work
>> properly.
[...]
> Di
On Fri, 2010-06-11 at 13:16 -0400, Alex wrote:
> Hi,
>
> I have a 5GB kvm image that I created some time ago, and would like to
> mount it on the host system to access it. I've located a few documents
> online for how to do this, but it doesn't seem to work properly.
>
> Can someone direct me to
Hi,
I have a 5GB kvm image that I created some time ago, and would like to
mount it on the host system to access it. I've located a few documents
online for how to do this, but it doesn't seem to work properly.
Can someone direct me to information on how to mount a qcow2 image as
a local filesyst
29 matches
Mail list logo