tmoran000 Posted January 5, 2019 Share Posted January 5, 2019 Is it possible to make a copy of a VM that I have and run it as a second VM?, I have this VM set up and is working flawless and would like to make a copy of it and run a second VM for other tasks. is this possible? Quote Link to comment
bigwah Posted January 6, 2019 Share Posted January 6, 2019 (edited) cp --reflink /path/to/vdisk.img /path/to/snapshot.img I use this method to have essentially 3 VMs running at the same time but not using 3 times as much space, since they are all identical windows VMs. Edited January 6, 2019 by bigwah 1 Quote Link to comment
tmoran000 Posted January 7, 2019 Author Share Posted January 7, 2019 I will give this a try, Thanks! Quote Link to comment
tmoran000 Posted January 7, 2019 Author Share Posted January 7, 2019 I get this when running command in Terminal root@Tower:~# cp --reflink /mnt/disks/Samsung_SSD_850_EVO_500GB_S3PTNB0J938117M/Win7-Distro/vdisk1.img /mnt/disks/Samsung_SSD_850_EVO_500GB_S3PTNB0J938117M/Win7-FTP/snapshot.img cp: failed to clone '/mnt/disks/Samsung_SSD_850_EVO_500GB_S3PTNB0J938117M/Win7-FTP/snapshot.img' from '/mnt/disks/Samsung_SSD_850_EVO_500GB_S3PTNB0J938117M/Win7-Distro/vdisk1.img': Operation not supported Quote Link to comment
david279 Posted January 7, 2019 Share Posted January 7, 2019 I think cp --reflink can only be done of btrfs volumes. Is the operation taking place on a btrfs formatted drive? Quote Link to comment
tmoran000 Posted January 7, 2019 Author Share Posted January 7, 2019 I have no clue, Its a mounted SSD, XFS Quote Link to comment
JorgeB Posted January 7, 2019 Share Posted January 7, 2019 39 minutes ago, david279 said: I think cp --reflink can only be done of btrfs volumes. Correct, it won't work on an XFS formatted drive. Quote Link to comment
bigwah Posted January 7, 2019 Share Posted January 7, 2019 9 hours ago, johnnie.black said: Correct, it won't work on an XFS formatted drive. Definitely needs to be BTRFS to work. This link is where I pulled that command from. Pretty sure when I first added the cache drives I added them specifically as BTRFS to utilize that command. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.