Hi All
I have a big problem with vmware esxi 4.0.0 build 193498
After several years of work, yesterday it will be crashed after rebooting i see the error message "No datastores have been configured" in vSphere client
I see a disk in devices, but when i try to add new datastore client say that datastore must be reformated!
What should I do?
Sorry for my english ...
Welcome to the Community,
the first step is to check the log files to find out the cause of this issue. Maybe the solution is as simple as force mounting the VMFS datastore from the command line as explained in e.g. http://kb.vmware.com/kb/1011387
André
Hi André
In fdisk -l i see the lost datastore but esxcfg-volume -l do not display any datastorage...
I'm read this article http://kb.vmware.com/kb/1011387 and more else and none of them does not help...
When i try to repeat http://www.demitasse.co.nz/wordpress2/2009/08/recovering-a-deleted-vmfs-datastore/ i have error "no space available for new partition"...
How to force mount existing VMFS partition to datastore ?
Please help....
The command for the "force mount" is explained in the KB article I mentioned. If you remember the datastore name you could try e.g.
esxcfg-volume -M "Datastore1"
André
I've tried to do this, but without success
~ # esxcfg-volume -l~ # esxcfg-volume -M "datastore1"No matching volume datastore1 found!
It's very urgently, please help...
can you check vmkernel messages ..while running the command esxcfg-volume -r /vmfs/devices/<vmfs partition>
check lvmdriver is loaded or not ;esxcfg-module -l
Hi John23
Yes, lmvdriver is loaded
lvmdriver 0x4180008a9000 0x10000 0x417fc1822ec0 0x4000 22 YesFull response of esxcfg-module -l
~ # esxcfg-module -lName R/O Addr Length R/W Addr Length ID Loadedvmkernel 0x418000400000 0x29d365 0x0 0x0 0 Yesprocfs 0x41800077d000 0x3000 0x417fc17b97a0 0x1000 1 Yesvmklinux 0x418000780000 0x64000 0x417fc17baac0 0x31000 2 Yesrandom 0x4180007e4000 0x3000 0x417fc17f4bc0 0x4000 3 Yesusb 0x4180007e7000 0x17000 0x417fc17fac60 0x2000 4 Yesehci-hcd 0x4180007fe000 0x8000 0x417fc17fcf40 0x1000 5 Yesusb-uhci 0x418000806000 0x5000 0x417fc17f93a0 0x1000 6 Yeshid 0x41800080b000 0x5000 0x417fc17b7120 0x1000 7 Yesdm 0x418000810000 0x2000 0x417fc1800b30 0x1000 8 Yesnmp 0x418000812000 0x18000 0x417fc1801b40 0x2000 9 Yesvmw_satp_local 0x41800082a000 0x1000 0x417fc1803b50 0x1000 a Yesvmw_satp_default_aa 0x41800082b000 0x1000 0x417fc1804b60 0x1000 b Yesvmw_satp_alua 0x41800082c000 0x4000 0x417fc1805ba0 0x1000 c Yesvmw_psp_fixed 0x418000830000 0x2000 0x417fc1806bc0 0x1000 d Yeslibata 0x418000832000 0x15000 0x417fc180b880 0x2000 e Yesusb-storage 0x418000847000 0xb000 0x417fc180da00 0x4000 f Yesvfat 0x418000852000 0x8000 0x417fc1811d00 0x1000 10 Yesmask_path_plugin 0x41800085a000 0x1000 0x417fc1807bd0 0x1000 11 Yesvmw_satp_cx 0x41800085b000 0x6000 0x417fc1808be0 0x1000 12 Yesvmw_satp_default_ap 0x418000861000 0x2000 0x417fc1809bf0 0x1000 13 Yesvmw_satp_eva 0x418000863000 0x2000 0x417fc1812d20 0x1000 14 Yesvmw_satp_lsi 0x418000865000 0x4000 0x417fc1813d60 0x1000 15 Yesvmw_satp_symm 0x418000869000 0x1000 0x417fc1814d80 0x1000 16 Yesvmw_satp_inv 0x41800086a000 0x4000 0x417fc1815d90 0x1000 17 Yesvmw_satp_eql 0x41800086e000 0x1000 0x417fc1816da0 0x1000 18 Yesvmw_satp_msa 0x41800086f000 0x1000 0x417fc1817db0 0x1000 19 Yesvmw_satp_svc 0x418000870000 0x1000 0x417fc1818dc0 0x1000 1a Yesvmw_satp_alua_cx 0x418000871000 0x3000 0x417fc1819dd0 0x1000 1b Yesvmw_psp_rr 0x418000874000 0x3000 0x417fc181ade0 0x1000 1c Yesvmw_psp_mru 0x418000877000 0x2000 0x417fc181bdf0 0x1000 1d Yesigb 0x418000879000 0x16000 0x417fc181ce00 0x1000 1e Yesiscsi_trans 0x41800088f000 0x7000 0x417fc181de40 0x2000 1f Yesiscsi_linux 0x418000896000 0x1000 0x417fc181fe60 0x1000 20 Yesaacraid 0x418000897000 0x12000 0x417fc1820ea0 0x2000 21 Yeslvmdriver 0x4180008a9000 0x10000 0x417fc1822ec0 0x4000 22 Yesdeltadisk 0x4180008b9000 0x8000 0x417fc1826f00 0x1000 23 Yesmultiextent 0x4180008c1000 0x2000 0x417fc1827f20 0x1000 24 Yesdvsdev 0x4180008c3000 0x2000 0x417fc1828f60 0x1000 25 Yesetherswitch 0x4180008c5000 0x22000 0x417fc1829f80 0x9000 26 Yeshub 0x4180008e7000 0x1000 0x417fc1832fc0 0x1000 27 Yesshaper 0x4180008e8000 0x4000 0x417fc1833fe0 0x1000 28 Yescdp 0x4180008ec000 0xc000 0x417fc1835020 0x8000 29 Yestcpip2 0x4180008f8000 0x53000 0x417fc183d040 0x11000 2a Yesvmfs2 0x41800094b000 0xf000 0x417fc1850bc0 0x11000 2b Yesdvfilter 0x41800095a000 0xc000 0x417fc1862b00 0x1000 2c Yesvmfs3 0x418000966000 0x39000 0x417fc1863f60 0x1000 2d Yesnfsclient 0x41800099f000 0x14000 0x417fc1864f80 0x2000 2e Yesipmi_msghandler 0x4180009b3000 0x9000 0x417fc18688c0 0x1000 2f Yesipmi_si_drv 0x4180009bc000 0x9000 0x417fc18698e0 0x1000 30 Yesipmi_devintf 0x4180009c5000 0x3000 0x417fc186a920 0x1000 31 Yesvmci 0x4180009c8000 0x19000 0x417fc186b940 0x1000 32 Yesvmkstatelogger 0x4180009e1000 0x19000 0x417fc186c980 0x2000 33 Yesmigrate 0x4180009fa000 0x23000 0x417fc186e9a0 0x3000 34 Yescbt 0x418000a1d000 0x2000 0x417fc18719e0 0x1000 35 Yesvtd 0x418000a1f000 0x5000 0x417fc1872a00 0x1000 36 Yestcpip2v6 N/A N/A N/A N/A N/A No~ #
What is correct <vmfs partition> name, please see bellow log of fdisck and ls command...
When i try execute esxcfg-volume -r /dev/disks/mpx.vmhba0:C0:T0:L0p3
~ # esxcfg-volume -r /dev/disks/mpx.vmhba0:C0:T0:L0p3
No matching volume /dev/disks/mpx.vmhba0:C0:T0:L0p3 found!
# ls /vmfs//vmfs/devices/ /vmfs/volumes/~ # ls /vmfs/devices/aac deltadisks genscsi lvm ptyp1 ptyp6 tty2 ttyp4 usb0101 usb0502 vmfscontrol zerocbt disks input multiextent ptyp2 ptyp7 ttyp0 ttyp5 usb0201 usb0601 vmnic0cdp dvsdev ipmi0 null ptyp3 random ttyp1 ttyp6 usb0301 usb0701 vmnic1char generic keymap port ptyp4 tty ttyp2 ttyp7 usb0401 usb0702 vprobeconsole genide klog ptyp0 ptyp5 tty1 ttyp3 urandom usb0501 usb0801 vsock~ # ls /vmfs/devices/disks/mpx.vmhba0:C0:T0:L0 mpx.vmhba0:C0:T0:L0:5 vml.0000000000766d686261303a303a30:1 vml.0000000000766d686261303a303a30:6mpx.vmhba0:C0:T0:L0:1 mpx.vmhba0:C0:T0:L0:6 vml.0000000000766d686261303a303a30:2 vml.0000000000766d686261303a303a30:7mpx.vmhba0:C0:T0:L0:2 mpx.vmhba0:C0:T0:L0:7 vml.0000000000766d686261303a303a30:3 vml.0000000000766d686261303a303a30:8mpx.vmhba0:C0:T0:L0:3 mpx.vmhba0:C0:T0:L0:8 vml.0000000000766d686261303a303a30:4mpx.vmhba0:C0:T0:L0:4 vml.0000000000766d686261303a303a30 vml.0000000000766d686261303a303a30:5~ # fdisk -lDisk /dev/disks/mpx.vmhba0:C0:T0:L0: 293.3 GB, 293381079040 bytes64 heads, 32 sectors/track, 279790 cylindersUnits = cylinders of 2048 * 512 = 1048576 bytesDevice Boot Start End Blocks Id System/dev/disks/mpx.vmhba0:C0:T0:L0p1 5 900 917504 5 Extended/dev/disks/mpx.vmhba0:C0:T0:L0p2 901 4995 4193280 6 FAT16/dev/disks/mpx.vmhba0:C0:T0:L0p3 4996 279790 281390080 fb VMFS/dev/disks/mpx.vmhba0:C0:T0:L0p4 * 1 4 4080 4 FAT16 <32M/dev/disks/mpx.vmhba0:C0:T0:L0p5 5 254 255984 6 FAT16/dev/disks/mpx.vmhba0:C0:T0:L0p6 255 504 255984 6 FAT16/dev/disks/mpx.vmhba0:C0:T0:L0p7 505 614 112624 fc VMKcore/dev/disks/mpx.vmhba0:C0:T0:L0p8 615 900 292848 6 FAT16Partition table entries are not in disk order
What do you see when you browse to /vmfs/volumes ?
Hi iw123
~ # ls /vmfs/volumes/ -lhdrwxr-xr-x 1 root root 8 Jan 1 1970 4ae73329-dfcc9ce2-a127-001517b4fde1l--------- 0 root root 1.9k Jan 1 1970 Hypervisor1 -> a11a167d-43ef9da0-243d-87ac55227dc5l--------- 0 root root 1.9k Jan 1 1970 Hypervisor2 -> cd0e0276-c5c74c28-9d6d-8324e57ced3al--------- 0 root root 1.9k Jan 1 1970 Hypervisor3 -> c2a427e4-2d317086-fef9-b5750d88536cdrwxr-xr-x 1 root root 8 Jan 1 1970 a11a167d-43ef9da0-243d-87ac55227dc5drwxr-xr-x 1 root root 8 Jan 1 1970 c2a427e4-2d317086-fef9-b5750d88536cdrwxr-xr-x 1 root root 8 Jan 1 1970 cd0e0276-c5c74c28-9d6d-8324e57ced3a~ #
Thanks. Can you remember the datastore label for the missing datastore? Was this store located on local storage ?
Yes, i remember, it name is datastore1 it has been located on local storage.