Rasta576 / vmfs

Automatically exported from code.google.com/p/vmfs
0 stars 0 forks source link

Large Filecopy ends with error java.io.IOException: Incorrect function #35

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. i am trying to copy a 1.8TB vmdk file from 1 local (sata6) VMFS HD to 
another local NTFS HD
Using 
F:\>java -jar c:\vmfs\fvmfs.jar  \\.\PhysicalDrive2 filecopy /"filepath"/
"filename"-flat.vmdk

it proceeds to copy fine 
giving me progress all along i.e

Copying file -- bytes left=1502347264 throughput=121047 KB/s ETA=12s
Copying file -- bytes left=1260650496 throughput=121043 KB/s ETA=10s

when there is 1-2 seconds left (approx 100MB) it errors out...

Exception in thread "main" java.io.IOException: Incorrect function
        at java.io.RandomAccessFile.readBytes(Native Method)
        at java.io.RandomAccessFile.read(Unknown Source)
        at com.fluidops.tools.vmfs.RandomIOAccess.read(RandomIOAccess.java:90)
        at com.fluidops.tools.vmfs.VMFSDriver$ExtentIOAccess.read(VMFSDriver.jav
a:602)
        at com.fluidops.tools.vmfs.IOAccess.read(IOAccess.java:36)
        at com.fluidops.tools.vmfs.VMFSDriver$FileIOAccess.read(VMFSDriver.java:
1288)
        at com.fluidops.tools.vmfs.VMFSTools.doFileCopy(VMFSTools.java:350)
        at com.fluidops.tools.vmfs.VMFSTools.cli(VMFSTools.java:265)
        at com.fluidops.tools.vmfs.VMFSTools.main(VMFSTools.java:492)
2.
3.

What is the expected output? What do you see instead?
instead of finishing the copy - it errors out (and yes i verified the file 
sizes - and my target is missing approx 100MB) 

What version of the product are you using? On what operating system?

v0.9.8.18 r95 / windows server 2008 R2 Sp1 Ent

on a Dell t710 - drives (source & Target) connected to Perc H700 raid 
controller, both are single drives, not any raid array

Please provide any additional information below.

Original issue reported on code.google.com by cool5...@gmail.com on 3 Jun 2013 at 1:00