[PVE-User] Recovery VM DISK
claus.strommer at prylynx.com
Wed Apr 11 18:24:48 CEST 2012
-----BEGIN PGP SIGNED MESSAGE-----
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:
>> 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
> 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the pve-user