Hassan-Beh / vmfs

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

Block type 0 unexpected #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Doesn't get very far...

Latest build. OS: Linux, local array.

CLI: java -jar fvmfs.jar /path/to/dev/node filecopy "/path/to/64GB/file"
"/home/dir/file"

Output:
VMFSTools (C) by fluid Operations (v0.9.8.14 r81 / 2009-03-27_21-26-53)
http://www.fluidops.com

Size = 64.00 GB
Copying file -- bytes left=68592336896
Copying file -- bytes left=68496801792
Copying file -- bytes left=68410097664
Copying file -- bytes left=68320624640
Copying file -- bytes left=68228841472
Copying file -- bytes left=68140138496
Copying file -- bytes left=68048781312
Copying file -- bytes left=67952574464
Copying file -- bytes left=67852828672
Copying file -- bytes left=67757146112
Exception in thread "main" java.io.IOException: Internal error: block type
0 unexpected
        at
com.fluidops.tools.vmfs.VMFSDriver$FileIOAccess.read(VMFSDriver.java:890)
        at com.fluidops.tools.vmfs.VMFSTools.doFileCopy(VMFSTools.java:274)
        at com.fluidops.tools.vmfs.VMFSTools.cli(VMFSTools.java:205)
        at com.fluidops.tools.vmfs.VMFSTools.main(VMFSTools.java:355)

Original issue reported on code.google.com by woh...@gmail.com on 21 Sep 2009 at 2:20

GoogleCodeExporter commented 8 years ago
Please add debug log output. Thanks.

Original comment by fluidops...@gmail.com on 25 Sep 2009 at 6:21

GoogleCodeExporter commented 8 years ago
It might be a glitch in the I/O. i can get only 3.1GB of the VM. 

what i found strange i can run this command. 

CLI:java -jar fvmfs.jar /path/to/dev/node filecopy /path/to/64GB/file
/home/dir/file  filename1 0 2000000000 
to start copying from position 0 to 2GB . 
and then i ran after the 3.1GB  . filename3 400000000 20000000 , it copys with 
out 
any problems. seems to be some headers that stops the java app. 

Regards, 

MaaS

Original comment by maas...@gmail.com on 27 Sep 2009 at 7:31

GoogleCodeExporter commented 8 years ago
Sounds strange indeed. Please, please attach the debug output :-)

Original comment by fluidops...@gmail.com on 28 Sep 2009 at 9:28

GoogleCodeExporter commented 8 years ago
Same ISSUE i get i mounted on ISCSI . it copies on 10GB and thats it. 

Exception in thread "main" java.io.IOException: Internal error: block type
0 unexpected
        at
com.fluidops.tools.vmfs.VMFSDriver$FileIOAccess.read(VMFSDriver.java:890)
        at com.fluidops.tools.vmfs.VMFSTools.doFileCopy(VMFSTools.java:274)
        at com.fluidops.tools.vmfs.VMFSTools.cli(VMFSTools.java:205)
        at com.fluidops.tools.vmfs.VMFSTools.main(VMFSTools.java:355)

Original comment by maas...@gmail.com on 1 Oct 2009 at 5:12

GoogleCodeExporter commented 8 years ago
Had a need to try this util again, it still fails. Tried the latest version, 
too (r87)

Debug output attached, scrubbed a bit to protect the innocent :)

Any chance of a fix?

Original comment by woh...@gmail.com on 17 Jan 2010 at 7:33

Attachments:

GoogleCodeExporter commented 8 years ago
The issue occurs when files are sparse ("thin provisioned"). The new version 
supports
this.

Original comment by fluidops...@gmail.com on 18 Jan 2010 at 9:50

GoogleCodeExporter commented 8 years ago
Hi Ulrich, which version? the latest posted (r87) doesn't. Do I need to build 
from SVN?

Original comment by woh...@gmail.com on 20 Jan 2010 at 10:08

GoogleCodeExporter commented 8 years ago

Original comment by fluidops...@gmail.com on 26 Jan 2010 at 7:17