mehulashara / vmfs

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

First extent of VMFS missing error on rhel5.6 #25

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. java -jar /dev/sde1 info

What is the expected output? What do you see instead?
info of vmfs is expected, but got this error:
"Exception in thread "main" java.io.IOException: First extent of VMFS missing, 
cannot open"

What version of the product are you using? On what operating system?
r95 on rhel5.6
#uname -a
Linux HOST 2.6.18-229.el5 #1 SMP Tue Oct 26 18:54:44 EDT 2010 x86_64 x86_64 
x86_64 GNU/Linux

Please provide any additional information below.
The vmfs disks are SAN attached and mounted on ESX4.0 as datastores. And the 
VMFS spans on two LUNs.
From ESX host:
# vmkfstools -Ph /vmfs/volumes/vSMS_LUN220
VMFS-3.31 file system spanning 2 partitions.
File system label (if any): vSMS_LUN220
Mode: public
Capacity 2.5 TB, 240.4 GB available, file block size 8 MB
UUID: 4a9cba79-a7cf4570-6441-001560a58bd5
Partitions spanned (on "lvm"):
        naa.60060e8010835bb004d42bfb000000dc:1
        naa.60060e8010835bb004d42bfb000000de:1

From the rhel host:
#fdisk -l /dev/sde
Disk /dev/sde: 2197.9 GB, 2197949513728 bytes
255 heads, 63 sectors/track, 267218 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1   *           1      267218  2146428521   fb  VMware VMFS

# java -Dcom.fluidops.util.logging.debug=true -jar ./fvmfs.jar /dev/sde1  info
VMFSTools (C) by fluid Operations (v0.9.8.18 r95 / 2010-01-25_15-57-35)
http://www.fluidops.com

reading at 100000 amount=2048
reading res=2048
VMFS base @100000
VMFS Volume at 100000
Volume type = HITACHI DF600F          0000
Volume UUID = 4a9cba71-257e1338-935b-001560a58bd5
LVM first,last,segments = -68497197,0,-1610612736
LVM extents = 0
Size = 0.00 Bytes
Blocks = 0
LVM UUID       = 4a9cba71-00369ad0-1d0a-001560a58bd5
Opening VMFS on 
IOAccess=com.fluidops.tools.vmfs.VMFSDriver$ExtentIOAccess@4a803e67
Exception in thread "main" java.io.IOException: First extent of VMFS missing, 
cannot open
   at com.fluidops.tools.vmfs.VMFSDriver.readVmfsInfo(VMFSDriver.java:785)
   at com.fluidops.tools.vmfs.VMFSDriver.openVmfs(VMFSDriver.java:1146)
   at com.fluidops.tools.vmfs.VMFSTools.cli(VMFSTools.java:225)
   at com.fluidops.tools.vmfs.VMFSTools.main(VMFSTools.java:492)

Thanks in advance.

Original issue reported on code.google.com by Jestin.Y...@gmail.com on 18 Nov 2010 at 11:10

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Sorry guys, I got this fixed by installing java-1.6.0-openjdk and uuidd daemon 
to the linux box. 
Please close this issue. Thanks.

Original comment by Jestin.Y...@gmail.com on 19 Nov 2010 at 5:04