[PVE-User] pve-user Digest, Vol 49, Issue 10
Francesco Gabriele
francesco.gabriele at gmail.com
Thu Apr 12 09:51:01 CEST 2012
>Message: 5
>Date: Wed, 11 Apr 2012 18:20:19 +0200
>From: Alessandro Briosi <ab1 at metalitnord.com>
>The file has been deleted, but it's still in use, so you can do a copy
>from the link in /proc
>try with something like
>lsof | grep vm-108
>you should see something like
>kvm <pid> root <fileid>u ..... /storage_lvm/images/vm-108-disk-1.raw
(deleted)
>that's the file you want to backup with a cat or some other tools.
>i.e.
>cat /proc/<pid>/fd/<fileid> > /backup/<whatever your file is named>
>cat /proc/729/fd/5 > /backup/vm108-disk.raw
>dunno if there's a way to create a hard-link from that reference.
>Alessandro
Thanks Alessandro :-) It worked perfectly.
Thanks a lot
----
Francesco Gabriele
2012/4/11 <pve-user-request at pve.proxmox.com>
> Send pve-user mailing list submissions to
> pve-user at pve.proxmox.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
> or, via email, send a message with subject or body 'help' to
> pve-user-request at pve.proxmox.com
>
> You can reach the person managing the list at
> pve-user-owner at pve.proxmox.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of pve-user digest..."
>
>
> Today's Topics:
>
> 1. Recovery VM DISK (Francesco Gabriele)
> 2. Re: Recovery VM DISK (Maykel Franco Hern?ndez)
> 3. Re: Recovery VM DISK (Luca Fornasari)
> 4. Restoring Win2k8 R2 64bit to PVE 2.0 (Hart, Brian R.)
> 5. Re: Recovery VM DISK (Alessandro Briosi)
> 6. Re: Recovery VM DISK (Claus Strommer)
> 7. Re: Restoring Win2k8 R2 64bit to PVE 2.0 (Alain P?an)
> 8. Re: Restoring Win2k8 R2 64bit to PVE 2.0 (Hart, Brian R.)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 11 Apr 2012 17:00:06 +0200
> From: Francesco Gabriele <francesco.gabriele at gmail.com>
> To: pve-user at pve.proxmox.com
> Subject: [PVE-User] Recovery VM DISK
> Message-ID:
> <CAHdYQm34mzaCYe3FnAxZe-q+RJHWybiL2qv_DXE4gOtOuXnMtg at mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> Good evening,
> we are facing a problem since one vm hard disk (*vm-108-disk-1.raw*) which
> was stored in the following path:
>
> */storage_lvm/images/108*
>
> had been deleted.
>
> During the backup we got the following error:
>
> *108: Apr 11 02:00:01 INFO: Starting Backup of VM 108 (qemu)
> 108: Apr 11 02:00:01 INFO: running
> 108: Apr 11 02:00:01 INFO: status = running
> 108: Apr 11 02:00:02 INFO: backup mode: suspend
> 108: Apr 11 02:00:02 INFO: ionice priority: 7
> 108: Apr 11 02:00:04 ERROR: Backup of VM 108 failed - volume
> 'storage_lvm:108/vm-108-disk-1.raw'
> does not exist*
>
> The strange thing is that the virtual machine is still running correctly
> but we are now scared to reboot it.
>
> Is there any way to restore the *vm-108-disk-1.raw* file from any cache?
>
> Thanks
>
> ----
> Francesco Gabriele
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://pve.proxmox.com/pipermail/pve-user/attachments/20120411/5823b91d/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Wed, 11 Apr 2012 17:10:12 +0200
> From: Maykel Franco Hern?ndez <maykel at maykel.sytes.net>
> To: proxmox lista <pve-user at pve.proxmox.com>
> Subject: Re: [PVE-User] Recovery VM DISK
> Message-ID: <2783810a1ec511b0b09d7acebe742359 at maykel.sytes.net>
> Content-Type: text/plain; charset="utf-8"
>
>
>
> El 2012-04-11 17:00, Francesco Gabriele escribi?:
>
> > Good
> evening,
> > we are facing a problem since one vm hard disk
> (VM-108-DISK-1.RAW) which was stored in the following path:
> >
> >
> /STORAGE_LVM/IMAGES/108
> >
> > had been deleted.
> >
> > During the backup
> we got the following error:
> >
> > 108: Apr 11 02:00:01 INFO: Starting
> Backup of VM 108 (qemu)
> > 108: Apr 11 02:00:01 INFO: running
> > 108: Apr
> 11 02:00:01 INFO: status = running
> > 108: Apr 11 02:00:02 INFO: backup
> mode: suspend
> > 108: Apr 11 02:00:02 INFO: ionice priority: 7
> > 108: Apr
> 11 02:00:04 ERROR: Backup of VM 108 failed - volume
> 'STORAGE_LVM:108/VM-108-DISK-1.RAW' DOES NOT EXIST
> >
> > The strange
> thing is that the virtual machine is still running correctly but we are
> now scared to reboot it.
> >
> > Is there any way to restore the
> VM-108-DISK-1.RAW file from any cache?
> >
> > Thanks
> >
> > ----
> >
> Francesco Gabriele
>
> Hi. Try with testdisk. Install it in proxmox and run
> testdisk. Try recovery with testdisk....
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://pve.proxmox.com/pipermail/pve-user/attachments/20120411/d477fda1/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 3
> Date: Wed, 11 Apr 2012 17:41:42 +0200
> From: Luca Fornasari <luca.fornasari at upprovider.it>
> To: pve-user at pve.proxmox.com
> Subject: Re: [PVE-User] Recovery VM DISK
> Message-ID: <4F85A636.2020405 at upprovider.it>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
>
> Hi Francesco,
>
> Is it a file based VM or an lvm based VM?
> Your datastore name contains the word 'lvm' but the syntax that shows in
> the error is the file syntax.
>
> Luca
>
> -------- Original Message --------
> Subject: [PVE-User] Recovery VM DISK
> From: Francesco Gabriele <francesco.gabriele at gmail.com>
> To: pve-user at pve.proxmox.com
> CC:
> Date: 04/11/2012 05:00 PM
> > Good evening,
> > we are facing a problem since one vm hard disk (*vm-108-disk-1.raw*)
> > which was stored in the following path:
> >
> > */storage_lvm/images/108*
> >
> > had been deleted.
> >
> > During the backup we got the following error:
> >
> > /108: Apr 11 02:00:01 INFO: Starting Backup of VM 108 (qemu)
> > 108: Apr 11 02:00:01 INFO: running
> > 108: Apr 11 02:00:01 INFO: status = running
> > 108: Apr 11 02:00:02 INFO: backup mode: suspend
> > 108: Apr 11 02:00:02 INFO: ionice priority: 7
> > 108: Apr 11 02:00:04 ERROR: Backup of VM 108 failed - volume
> > *'storage_lvm:108/vm-108-disk-1.raw' does not exist*/
> >
> > The strange thing is that the virtual machine is still running
> > correctly but we are now scared to reboot it.
> >
> > Is there any way to restore the *vm-108-disk-1.raw* file from any cache?
> >
> > Thanks
> >
> > ----
> > Francesco Gabriele
> >
> >
> >
> >
> >
> > _______________________________________________
> > pve-user mailing list
> > pve-user at pve.proxmox.com
> > http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://pve.proxmox.com/pipermail/pve-user/attachments/20120411/953f36c6/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 4
> Date: Wed, 11 Apr 2012 16:15:04 +0000
> From: "Hart, Brian R." <brianhart at ou.edu>
> To: "pve-user at pve.proxmox.com" <pve-user at pve.proxmox.com>
> Subject: [PVE-User] Restoring Win2k8 R2 64bit to PVE 2.0
> Message-ID: <CBAB1833.471CC%brianhart at ou.edu>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi all,
>
> So I've been working on migrating all of our virtual machines (all KVM) to
> proxmox 2.0. The way I decided to do it was I loaded all of our VMs on
> one of our old nodes and reloading one of the systems with a clean install
> of 2.0 while I left the VMs running on the 1.9 node. We have a SAN on the
> backend for shared storage which we also happen to be upgrading and
> replacing with a new model so its working out quite well. I've got the
> 2.0 system up and to move the VMs over I do this:
>
> 1. Schedule a backup
> 2. When completed, restore image into 2.0 system on new SAN
> 3. When restore finishes, shut down original VM on 1.9
> 4. Startup restored VM on 2.0
>
> I've done 19 systems so far this way with zero problems. Its been split
> between windows VMs and Linux VMs. The windows VMs so far have been
> Windows 2000 Server, a WinXP VM, and a few Windows Server 2008 and 2008 R2
> systems. No problems.
>
> Now I've got just 2 Windows VMs left to move, both 2008 R2 64 bit. I
> cannot get them to work after being restored. Once I restore them, they
> constantly BSOD on startup and won't even let me boot the recovery mode
> that it offers. I thought maybe I needed to update the virtio drivers
> (used both for storage and NIC) so I did that on the source and did a new
> backup/restore and it still did the same thing.
>
> Anybody have any ideas?
>
> Thanks!
>
> --
> Brian Hart
>
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 11 Apr 2012 18:20:19 +0200
> From: Alessandro Briosi <ab1 at metalitnord.com>
> To: pve-user at pve.proxmox.com
> Subject: Re: [PVE-User] Recovery VM DISK
> Message-ID: <4F85AF43.4070301 at metalitnord.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Il 11/04/2012 17:00, Francesco Gabriele ha scritto:
> > Good evening,
> > we are facing a problem since one vm hard disk (*vm-108-disk-1.raw*)
> > which was stored in the following path:
> >
> > */storage_lvm/images/108*
> >
> > had been deleted.
> >
>
> The file has been deleted, but it's still in use, so you can do a copy
> from the link in /proc
>
> try with something like
>
> lsof | grep vm-108
>
> you should see something like
>
> kvm <pid> root <fileid>u ..... /storage_lvm/images/vm-108-disk-1.raw
> (deleted)
>
> that's the file you want to backup with a cat or some other tools.
>
> i.e.
> cat /proc/<pid>/fd/<fileid> > /backup/<whatever your file is named>
>
> cat /proc/729/fd/5 > /backup/vm108-disk.raw
>
> dunno if there's a way to create a hard-link from that reference.
>
> Alessandro
>
>
> ------------------------------
>
> Message: 6
> Date: Wed, 11 Apr 2012 12:24:48 -0400
> From: Claus Strommer <claus.strommer at prylynx.com>
> To: pve-user at pve.proxmox.com
> Subject: Re: [PVE-User] Recovery VM DISK
> Message-ID: <4F85B050.9080606 at prylynx.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hard link won't work if the target is on a different partition, but
> copying should do the trick.
>
> On 12-04-11 12:20 PM, Alessandro Briosi wrote:
> > Il 11/04/2012 17:00, Francesco Gabriele ha scritto:
> >> Good evening, we are facing a problem since one vm hard disk
> >> (*vm-108-disk-1.raw*) which was stored in the following path:
> >>
> >> */storage_lvm/images/108*
> >>
> >> had been deleted.
> >>
> >
> > The file has been deleted, but it's still in use, so you can do a
> > copy from the link in /proc
> >
> > try with something like
> >
> > lsof | grep vm-108
> >
> > you should see something like
> >
> > kvm <pid> root <fileid>u .....
> > /storage_lvm/images/vm-108-disk-1.raw (deleted)
> >
> > that's the file you want to backup with a cat or some other tools.
> >
> > i.e. cat /proc/<pid>/fd/<fileid> > /backup/<whatever your file is
> > named>
> >
> > cat /proc/729/fd/5 > /backup/vm108-disk.raw
> >
> > dunno if there's a way to create a hard-link from that reference.
> >
> > Alessandro _______________________________________________ pve-user
> > mailing list pve-user at pve.proxmox.com
> > http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJPhbBMAAoJEH9Xbged0oyT4mUH/AyTKog1ayFOVvWr70a6yPNv
> QTW5tyJ8PKbdPm9A8A89ed6zYOX0nvefTgICPm/cmrxTlje8kOTPOxufJpHtoC/v
> tIjiDzWxYgf3cU40GC56gdLnmryPNdFzGYsdeneKC3Fbs1+eWybhhRjl5Nt1p8OM
> 8jlQqVZ5Mwm4AGvZFlFtnHIHu3dD7YVAK+fMOaUk3/IzLS8tf7pwHzKcAocNa6ig
> xtG2Xet4BQr8zBrx6NA1BmbD9vskbfA7otsecGOI5Yhjb5QkAPQ/b1H8N3ZFl5+0
> voMwzoPvwWBEvwAOvEBHYazPv8k4gYIAEDyGVeb0mBFbgjmmk00o9X2NKEO+n3M=
> =s23j
> -----END PGP SIGNATURE-----
>
>
> ------------------------------
>
> Message: 7
> Date: Wed, 11 Apr 2012 18:37:31 +0200
> From: Alain P?an <alain.pean at lpp.polytechnique.fr>
> To: pve-user at pve.proxmox.com
> Subject: Re: [PVE-User] Restoring Win2k8 R2 64bit to PVE 2.0
> Message-ID: <4F85B34B.9010606 at lpp.polytechnique.fr>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Le 11/04/2012 18:15, Hart, Brian R. a ?crit :
> > Hi all,
> >
> > So I've been working on migrating all of our virtual machines (all KVM)
> to
> > proxmox 2.0. The way I decided to do it was I loaded all of our VMs on
> > one of our old nodes and reloading one of the systems with a clean
> install
> > of 2.0 while I left the VMs running on the 1.9 node. We have a SAN on
> the
> > backend for shared storage which we also happen to be upgrading and
> > replacing with a new model so its working out quite well. I've got the
> > 2.0 system up and to move the VMs over I do this:
> >
> > 1. Schedule a backup
> > 2. When completed, restore image into 2.0 system on new SAN
> > 3. When restore finishes, shut down original VM on 1.9
> > 4. Startup restored VM on 2.0
> >
> > I've done 19 systems so far this way with zero problems. Its been split
> > between windows VMs and Linux VMs. The windows VMs so far have been
> > Windows 2000 Server, a WinXP VM, and a few Windows Server 2008 and 2008
> R2
> > systems. No problems.
> >
> > Now I've got just 2 Windows VMs left to move, both 2008 R2 64 bit. I
> > cannot get them to work after being restored. Once I restore them, they
> > constantly BSOD on startup and won't even let me boot the recovery mode
> > that it offers. I thought maybe I needed to update the virtio drivers
> > (used both for storage and NIC) so I did that on the source and did a new
> > backup/restore and it still did the same thing.
> >
> > Anybody have any ideas?
>
> Hi Brian,
>
> Perhaps one idea : I got such problem when an iso was mounted on virtual
> cdrom. You can test with 'qm start vmid' and see
> what error you get. If you have such an iso mounted (virtio-win, 2008 R2
> iso...), just unmount it on 1.9, then retry.
>
> Alain
>
> --
> =============================================================
> Alain P?an - LPP/CNRS
> Attention !! : Nouveau num?ro de Telephone : 01-44-27-92-39
> Administrateur Syst?me/R?seau
> Laboratoire de Physique des Plasmas - UMR 7648
> Observatoire de Saint-Maur
> 4, av de Neptune, Bat. A
> 94100 Saint-Maur des Foss?s
> =============================================================
>
>
>
> ------------------------------
>
> Message: 8
> Date: Wed, 11 Apr 2012 16:45:39 +0000
> From: "Hart, Brian R." <brianhart at ou.edu>
> To: Alain P?an <alain.pean at lpp.polytechnique.fr>,
> "pve-user at pve.proxmox.com" <pve-user at pve.proxmox.com>
> Subject: Re: [PVE-User] Restoring Win2k8 R2 64bit to PVE 2.0
> Message-ID: <CBAB1F27.471D3%brianhart at ou.edu>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I do have isos attached to both - I have done this previously too without
> issues but I'll try. I had also tried taking the backup image with the VM
> shut down to see if that would help. I'll unmount the ISO's though, shut
> them down, image and restore them and see what happens and post back.
> Thanks for the suggestion!
>
> --
> Brian Hart
>
>
>
>
> -----Original Message-----
> From: Alain P?an <alain.pean at lpp.polytechnique.fr>
> Date: Wed, 11 Apr 2012 18:37:31 +0200
> To: <pve-user at pve.proxmox.com>
> Subject: Re: [PVE-User] Restoring Win2k8 R2 64bit to PVE 2.0
>
> >Le 11/04/2012 18:15, Hart, Brian R. a ?crit :
> >> Hi all,
> >>
> >> So I've been working on migrating all of our virtual machines (all KVM)
> >>to
> >> proxmox 2.0. The way I decided to do it was I loaded all of our VMs on
> >> one of our old nodes and reloading one of the systems with a clean
> >>install
> >> of 2.0 while I left the VMs running on the 1.9 node. We have a SAN on
> >>the
> >> backend for shared storage which we also happen to be upgrading and
> >> replacing with a new model so its working out quite well. I've got the
> >> 2.0 system up and to move the VMs over I do this:
> >>
> >> 1. Schedule a backup
> >> 2. When completed, restore image into 2.0 system on new SAN
> >> 3. When restore finishes, shut down original VM on 1.9
> >> 4. Startup restored VM on 2.0
> >>
> >> I've done 19 systems so far this way with zero problems. Its been split
> >> between windows VMs and Linux VMs. The windows VMs so far have been
> >> Windows 2000 Server, a WinXP VM, and a few Windows Server 2008 and 2008
> >>R2
> >> systems. No problems.
> >>
> >> Now I've got just 2 Windows VMs left to move, both 2008 R2 64 bit. I
> >> cannot get them to work after being restored. Once I restore them, they
> >> constantly BSOD on startup and won't even let me boot the recovery mode
> >> that it offers. I thought maybe I needed to update the virtio drivers
> >> (used both for storage and NIC) so I did that on the source and did a
> >>new
> >> backup/restore and it still did the same thing.
> >>
> >> Anybody have any ideas?
> >
> >Hi Brian,
> >
> >Perhaps one idea : I got such problem when an iso was mounted on virtual
> >cdrom. You can test with 'qm start vmid' and see
> >what error you get. If you have such an iso mounted (virtio-win, 2008 R2
> >iso...), just unmount it on 1.9, then retry.
> >
> >Alain
> >
> >--
> >=============================================================
> >Alain P?an - LPP/CNRS
> >Attention !! : Nouveau num?ro de Telephone : 01-44-27-92-39
> >Administrateur Syst?me/R?seau
> >Laboratoire de Physique des Plasmas - UMR 7648
> >Observatoire de Saint-Maur
> >4, av de Neptune, Bat. A
> >94100 Saint-Maur des Foss?s
> >=============================================================
> >
> >_______________________________________________
> >pve-user mailing list
> >pve-user at pve.proxmox.com
> >http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
>
>
> ------------------------------
>
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
>
> End of pve-user Digest, Vol 49, Issue 10
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20120412/ca80ddf6/attachment.htm>
More information about the pve-user
mailing list