shilary / vmfs

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

"java -jar fvmfs_r59.jar /dev/sdb info" does not work #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
java -jar fvmfs_r59.jar /dev/sdb info
or
java -jar fvmfs_r59.jar /dev/sdb1 info

What is the expected output?
should display /dev/sdb1 VMFS3 volume info

What do you see instead?
java -jar fvmfs_r59.jar /dev/sdb1 info
VMFSTools (C) by fluid Operations (v0.9.8.11 r59 / 2009-02-27_17-44-32)
http://www.fluidops.com

java.io.IOException: Negative seek offset
    at java.io.RandomAccessFile.seek(Native Method)
    at com.fluidops.tools.vmfs.RandomIOAccess.setPosition(RandomIOAccess.java:100)
    at com.fluidops.tools.vmfs.IOAccess.read(IOAccess.java:30)
    at com.fluidops.tools.vmfs.IOAccess.read(IOAccess.java:42)
    at com.fluidops.tools.vmfs.VMFSDriver.readFileMetaInfo(VMFSDriver.java:1100)
    at com.fluidops.tools.vmfs.VMFSDriver.readFileMetaInfos(VMFSDriver.java:1185)
    at com.fluidops.tools.vmfs.VMFSDriver.openVmfs(VMFSDriver.java:778)
    at com.fluidops.tools.vmfs.VMFSTools.cli(VMFSTools.java:164)
    at com.fluidops.tools.vmfs.VMFSTools.main(VMFSTools.java:291)
java.io.IOException: Negative seek offset
    at java.io.RandomAccessFile.seek(Native Method)
    at com.fluidops.tools.vmfs.RandomIOAccess.setPosition(RandomIOAccess.java:100)
    at com.fluidops.tools.vmfs.IOAccess.read(IOAccess.java:30)
    at com.fluidops.tools.vmfs.IOAccess.read(IOAccess.java:42)
    at com.fluidops.tools.vmfs.VMFSDriver.readFileMetaInfo(VMFSDriver.java:1100)
    at com.fluidops.tools.vmfs.VMFSDriver.readFileMetaInfos(VMFSDriver.java:1185)
    at com.fluidops.tools.vmfs.VMFSDriver.openVmfs(VMFSDriver.java:778)
    at com.fluidops.tools.vmfs.VMFSTools.cli(VMFSTools.java:164)
    at com.fluidops.tools.vmfs.VMFSTools.main(VMFSTools.java:291)
java.io.IOException: Negative seek offset
    at java.io.RandomAccessFile.seek(Native Method)
    at com.fluidops.tools.vmfs.RandomIOAccess.setPosition(RandomIOAccess.java:100)
    at com.fluidops.tools.vmfs.IOAccess.read(IOAccess.java:30)
    at com.fluidops.tools.vmfs.IOAccess.read(IOAccess.java:42)
    at com.fluidops.tools.vmfs.VMFSDriver.readFileMetaInfo(VMFSDriver.java:1100)
    at com.fluidops.tools.vmfs.VMFSDriver.readFileMetaInfos(VMFSDriver.java:1185)
    at com.fluidops.tools.vmfs.VMFSDriver.openVmfs(VMFSDriver.java:778)
    at com.fluidops.tools.vmfs.VMFSTools.cli(VMFSTools.java:164)
    at com.fluidops.tools.vmfs.VMFSTools.main(VMFSTools.java:291)
java.io.IOException: Negative seek offset
    at java.io.RandomAccessFile.seek(Native Method)
    at com.fluidops.tools.vmfs.RandomIOAccess.setPosition(RandomIOAccess.java:100)
    at com.fluidops.tools.vmfs.IOAccess.read(IOAccess.java:30)
    at com.fluidops.tools.vmfs.IOAccess.read(IOAccess.java:42)
    at com.fluidops.tools.vmfs.VMFSDriver.readFileMetaInfo(VMFSDriver.java:1100)
    at com.fluidops.tools.vmfs.VMFSDriver.readFileMetaInfos(VMFSDriver.java:1185)
    at com.fluidops.tools.vmfs.VMFSDriver.openVmfs(VMFSDriver.java:778)
    at com.fluidops.tools.vmfs.VMFSTools.cli(VMFSTools.java:164)
    at com.fluidops.tools.vmfs.VMFSTools.main(VMFSTools.java:291)
Exception in thread "main" java.io.IOException: VMFS FDC base not found
    at com.fluidops.tools.vmfs.VMFSDriver.openVmfs(VMFSDriver.java:791)
    at com.fluidops.tools.vmfs.VMFSTools.cli(VMFSTools.java:164)
    at com.fluidops.tools.vmfs.VMFSTools.main(VMFSTools.java:291)

What version of the product are you using? On what operating system?
fvmfs_r59.jar on linux ubuntu 8.04

Please provide any additional information below.
/dev/sdb is exported via iSCSI (ietd from package iscsitarget) to vmware
esxi 3.5 where it is used as a VMFS volume

Original issue reported on code.google.com by pedro%ra...@gtempaccount.com on 3 Mar 2009 at 4:01

GoogleCodeExporter commented 8 years ago
I am assuming this driver supports VMFS3 used by esxi 3.5. If not, it should be 
noted
on the front page of this project and in the FAQ.

Original comment by pedro%ra...@gtempaccount.com on 3 Mar 2009 at 4:03

GoogleCodeExporter commented 8 years ago
Can you please run again on the failing VMFS in debug mode and attach the 
output log
to the issue? Thanks!

You are right, the supported FS version is nowhere specified.

Original comment by fluidops...@gmail.com on 3 Mar 2009 at 8:39

GoogleCodeExporter commented 8 years ago
I tried r66 on another vmfs volume i just recently created on another esxi host 
and
it works, however, the HDD is on a different machine than the one in the 
reported
problem.
I then tried r66 on the reported HDD and i get the same error:

java -jar fvmfs.jar /dev/sdb1 info
VMFSTools (C) by fluid Operations (v0.9.8.13 r66 / 2009-03-05_22-18-06)
http://www.fluidops.com

java.io.IOException: Negative seek offset
    at java.io.RandomAccessFile.seek(Native Method)
    at com.fluidops.tools.vmfs.RandomIOAccess.setPosition(RandomIOAccess.java:100)
    at com.fluidops.tools.vmfs.IOAccess.read(IOAccess.java:30)
    at com.fluidops.tools.vmfs.IOAccess.read(IOAccess.java:42)
    at com.fluidops.tools.vmfs.VMFSDriver.readFileMetaInfo(VMFSDriver.java:1114)
    at com.fluidops.tools.vmfs.VMFSDriver.readFileMetaInfos(VMFSDriver.java:1199)
    at com.fluidops.tools.vmfs.VMFSDriver.openVmfs(VMFSDriver.java:792)
    at com.fluidops.tools.vmfs.VMFSTools.cli(VMFSTools.java:165)
    at com.fluidops.tools.vmfs.VMFSTools.main(VMFSTools.java:355)
java.io.IOException: Negative seek offset
    at java.io.RandomAccessFile.seek(Native Method)
    at com.fluidops.tools.vmfs.RandomIOAccess.setPosition(RandomIOAccess.java:100)
    at com.fluidops.tools.vmfs.IOAccess.read(IOAccess.java:30)
    at com.fluidops.tools.vmfs.IOAccess.read(IOAccess.java:42)
    at com.fluidops.tools.vmfs.VMFSDriver.readFileMetaInfo(VMFSDriver.java:1114)
    at com.fluidops.tools.vmfs.VMFSDriver.readFileMetaInfos(VMFSDriver.java:1199)
    at com.fluidops.tools.vmfs.VMFSDriver.openVmfs(VMFSDriver.java:792)
    at com.fluidops.tools.vmfs.VMFSTools.cli(VMFSTools.java:165)
    at com.fluidops.tools.vmfs.VMFSTools.main(VMFSTools.java:355)
java.io.IOException: Negative seek offset
    at java.io.RandomAccessFile.seek(Native Method)
    at com.fluidops.tools.vmfs.RandomIOAccess.setPosition(RandomIOAccess.java:100)
    at com.fluidops.tools.vmfs.IOAccess.read(IOAccess.java:30)
    at com.fluidops.tools.vmfs.IOAccess.read(IOAccess.java:42)
    at com.fluidops.tools.vmfs.VMFSDriver.readFileMetaInfo(VMFSDriver.java:1114)
    at com.fluidops.tools.vmfs.VMFSDriver.readFileMetaInfos(VMFSDriver.java:1199)
    at com.fluidops.tools.vmfs.VMFSDriver.openVmfs(VMFSDriver.java:792)
    at com.fluidops.tools.vmfs.VMFSTools.cli(VMFSTools.java:165)
    at com.fluidops.tools.vmfs.VMFSTools.main(VMFSTools.java:355)
java.io.IOException: Negative seek offset
    at java.io.RandomAccessFile.seek(Native Method)
    at com.fluidops.tools.vmfs.RandomIOAccess.setPosition(RandomIOAccess.java:100)
    at com.fluidops.tools.vmfs.IOAccess.read(IOAccess.java:30)
    at com.fluidops.tools.vmfs.IOAccess.read(IOAccess.java:42)
    at com.fluidops.tools.vmfs.VMFSDriver.readFileMetaInfo(VMFSDriver.java:1114)
    at com.fluidops.tools.vmfs.VMFSDriver.readFileMetaInfos(VMFSDriver.java:1199)
    at com.fluidops.tools.vmfs.VMFSDriver.openVmfs(VMFSDriver.java:792)
    at com.fluidops.tools.vmfs.VMFSTools.cli(VMFSTools.java:165)
    at com.fluidops.tools.vmfs.VMFSTools.main(VMFSTools.java:355)
Exception in thread "main" java.io.IOException: VMFS FDC base not found
    at com.fluidops.tools.vmfs.VMFSDriver.openVmfs(VMFSDriver.java:805)
    at com.fluidops.tools.vmfs.VMFSTools.cli(VMFSTools.java:165)
    at com.fluidops.tools.vmfs.VMFSTools.main(VMFSTools.java:355)

Original comment by pedro%ra...@gtempaccount.com on 23 Mar 2009 at 6:09

GoogleCodeExporter commented 8 years ago
The failing HDD is a 1TB drive. I tried to use fvmfs directly on the HDD 
device, and
also exporting and importing it to localhost via iSCSI. Same problem.
The working "HDD" is a 20GB file exported via iSCSI to localhost.

Original comment by pedro%ra...@gtempaccount.com on 23 Mar 2009 at 6:16

GoogleCodeExporter commented 8 years ago
How can i enable debugging? Can you write some directions on how to enable it 
in the FAQ?
Thanks!

Original comment by pedro%ra...@gtempaccount.com on 23 Mar 2009 at 6:34

GoogleCodeExporter commented 8 years ago
To enable debugging, please follow this description which is also linked from 
the FAQ:
http://code.google.com/p/vmfs/wiki/HowCanIHelp
Thanks.

Original comment by fluidops...@gmail.com on 26 Mar 2009 at 11:14

GoogleCodeExporter commented 8 years ago

Original comment by fluidops...@gmail.com on 9 May 2009 at 11:34

GoogleCodeExporter commented 8 years ago
My debug log is 21MB. I got an error trying to attach the file to this issue.
If you want, i can put the debug log on a webserver for you to download.

Original comment by pedro%ra...@gtempaccount.com on 11 May 2009 at 7:08

GoogleCodeExporter commented 8 years ago
http://users.holos.pt/~pmr/debug.log

Original comment by pedro%ra...@gtempaccount.com on 12 May 2009 at 12:10