Greendrake Asked: 2016-04-16 03:21:47 +0800 CST2016-04-16 03:21:47 +0800 CST 2016-04-16 03:21:47 +0800 CST Extract files from ploop disk image 772 I have ploop disk image created by dumping an OpenVZ container. There are two files: 791 DiskDescriptor.xml 2.4G root.hdd Is there any way to extract the whole root file system from there on a non-OpenVZ machine? openvz ploop 2 Answers Voted HBruijn 2016-04-16T03:27:07+08:002016-04-16T03:27:07+08:00 You don't need to spin up the container, you can simply mount the filesystem image according the manual https://openvz.org/Man/ploop.8 ploop mount [-r] [-F] [-d device] [-m mount_point] [-o mount_options] [-t fstype] [-u uuid] DiskDescriptor.xml Sauron 2018-01-28T00:10:00+08:002018-01-28T00:10:00+08:00 You can use ploop_userspace. ./ploop_userspace root.hdd & mount -r -o noload /dev/nbd0p1 /mnt
You don't need to spin up the container, you can simply mount the filesystem image according the manual https://openvz.org/Man/ploop.8
You can use ploop_userspace.