[PVE-User] Recovery VM DISK
Claus Strommer
claus.strommer at prylynx.com
Wed Apr 11 18:24:48 CEST 2012
-----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-----
More information about the pve-user
mailing list