I have a large virtualBox virtual machine 55GB approx. This is currently on my external harddrive. The problem is I am not able to copy it from my external USB hard drive into my pc. At around 75% it just fails the copy. I cant clone it either since its attempting to clone from hard drive to my pc. This must be due to some limitations of my external hard drive, although I cant be so sure. Its only a year old. The only thing I can think of right now is to copy it in pieces of 25GB each and then copy it over and join it back into one. Does anyone have any other options I can try? and if file splitting is the only option, what kind of file splitters would you recommend for splitting and joining large Virtual machine files?
You might have success using a different program to copy the V.M. folder. If not you could always make a split archive of the V.M. folder, copy the archive over in chunks, and then extract it.
xcopy "C:\vmfolder" "D:\vmfolder" /E /V /I /F /H /-Y /J
Substitute C:\vmfolder
for the location of the V.M. folder, and D:\vmfolder
for the place you want to copy it.
/E
Copies directory, subdirectories, and all the files in them.
/V
Will verify the file sizes afterwards.
/I
Allows specifying destination directory.
/F
Shows what's being copied while copying.
/H
Copies hidden files, and system files too.
/-Y
Prompts you if you're going to overwrite an existing file.
/J
No input/output buffer is used. Ideal when dealing with large files.
Here's an example:
xcopy "E:\Virtual Machines\VMware Player\Ubuntu 14.04.1 - Core X86-64" "F:\Temp\Ubuntu 14.04.1 - Core X86-64" /E /V /I /F /H /-Y /J
robocopy "C:\vmfolder" "D:\vmfolder" /E /J /SL /MT[:1] /V /FP /ETA /TEE
Substitute C:\vmfolder
for the location of the V.M. folder, and D:\vmfolder
for the place you want to copy it. You can leave /MT[:1]
as is or if your computer can handle more threads you can increase it.
/E
Copies subdirectories.
/J
No buffer is used for inputs/outputs, which is helpful for large files.
/SL
If symbolic links are used, copy the link not the target.
/MT[:n]
Multi-threaded copying; min threads is 1, and max is 128. Use a number your system can handle.
/V
Verbose outputs.
/FP
Adds fullpath to outputs.
/ETA
Estimates time to completion.
/TEE
Output to console in addition to log file.
Here's an example:
robocopy "E:\Virtual Machines\VMware Player\Ubuntu 14.04.1 - Core X86-64" "F:\Temp\Ubuntu 14.04.1 - Core X86-64" /E /J /SL /MT[:1] /V /FP /ETA /TEE
C:
Substitute C:
for the drive you wish to save the archive to.
cd "C:\savelocation"
Substitute C:\savelocation
for the spot on the drive you wish to save the archive to. All because 7zip doesn't support specifying an output path when creating archives (though it does for extracting with e
).
7za a -tzip -r -mx0 -mmt -v5g "vmfolder.zip" "C:\vmfolder"
Substite vmfolder.zip
for the archive name, and C:\vmfolder
for the V.M. folder path.
a
Adds files to an archive.
-r
Recursively adds sub-directories.
-mx0
Sets compression to none.
-mmt
Enables multi-threading.
-v
Splits archive into chunks, g
is for gigabytes, m
is for megabytes, k
is for kilobytes, and b
is for bytes.
t
Choose archive type, zip
is for zip archives.
For example:
E:
cd "E:\Virtual Machines\VMware Player"
7za a -tzip -r -mx0 -mmt -v300m "Ubuntu 14.04.1 - Core X86-64.zip" "E:\Virtual Machines\VMware Player\Ubuntu 14.04.1 - Core X86-64"
xcopy "C:\savelocation*.zip*" "D:\savelocation" /V /I /F /H /-Y /J
Substitute C:\savelocation
for the location of the archives, and D:\savelocation
for the place you want to copy them.
/V
Will verify the file sizes afterwards.
/I
Allows specifying destination directory.
/F
Shows what's being copied while copying.
/H
Copies hidden files, and system files too.
/-Y
Prompts you if you're going to overwrite an existing file.
/J
No input/output buffer is used. Ideal when dealing with large files.
For example:
xcopy "E:\Virtual Machines\VMware Player*.zip*" "F:\test" /V /I /F /H /-Y /J
D:
Subsitute D:
for the drive you wish to extract the archive to.
cd "D:\extractionlocation"
Subsitute C:\extractionlocation
for the location on the drive you wish to extract to.
7za x -mmt "D:\savelocation\vmfolder.zip.001"
Substiute D:\savelocation\vmfolder.zip.001
for the location of the archives. When 7-zip creates split archives it a appends 001
, 002
, and so on to the seperate pieces.
x
Extracts files, and folders normally.
-mmt
Enables mult-threading.
For example:
F:
cd "F:\test"
7za x -mmt "F:\Virtual Machines\VMware Player\Ubuntu 14.04.1 - Core X86-64.zip.001"
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments