Hi.
Im having trouble adding my HP MSA2000fc storage in VMware.
The LUN has been mapped to LUN101 and i VMware the HBA finds the LUN (Because im troubleshooting im only using 1 cable directly from HBA to MSA controller)
![2.jpg]()
As you can see, the LUN is found.
Then i try and add it as VMFS-5 and get this error
![1.jpg]()
Afterwards i check the patition and it is what it shows:
~ # partedUtil getptbl /vmfs/devices/disks/naa.600c0ff000da0c4b0c85395301000000
unknown
218606 255 63 3511912704
I've also tried mklabel with gpt and get this error.
~ # partedUtil mklabel /vmfs/devices/disks/naa.600c0ff000da0c4b0c85395301000000
gpt
Error: Connection timed out during write on /dev/disks/naa.600c0ff000da0c4b0c85395301000000
WriteNewPtable: Unable to commit to device /vmfs/devices/disks/naa.600c0ff000da0c4b0c85395301000000
msdos works, but im still not able to mount it in VMware
~ # partedUtil mklabel /vmfs/devices/disks/naa.600c0ff000da0c4b0c85395301000000
msdos
~ # partedUtil getptbl /vmfs/devices/disks/naa.600c0ff000da0c4b0c85395301000000
msdos
218606 255 63 3511912704
And some logs!
~ # tail -f /var/log/hostd.log
--> text = "Failed to update disk partition information",
--> msg = "",
--> }
2014-04-01T06:54:39.545Z [2C440B70 info 'Hostsvc' opID=hostd-5d49] VsanSystemVmkProvider : GetConfig: Start
2014-04-01T06:54:39.549Z [2C440B70 info 'Hostsvc' opID=hostd-5d49] VsanSystemVmkProvider : GetConfig: Complete
2014-04-01T06:54:40.024Z [2D940B70 info 'Hostsvc' opID=hostd-761b] VsanSystemVmkProvider : GetRuntimeInfo: Start
2014-04-01T06:54:40.024Z [2D940B70 info 'Hostsvc' opID=hostd-761b] VsanSystemVmkProvider : GetRuntimeInfo: Complete, runtime info: (vim.vsan.host.VsanRuntimeInfo) {
--> dynamicType = <unset>,
--> accessGenNo = 0,
--> }
2014-04-01T06:54:50.002Z [2D940B70 info 'Solo.Vmomi' opID=hostd-375f user=root] Activation [N5Vmomi10ActivationE:0x2da53258] : Invoke done [waitForUpdatesEx] on [vmodl.query.PropertyCollector:ha-property-collector]
2014-04-01T06:54:50.002Z [2D940B70 verbose 'Solo.Vmomi' opID=hostd-375f user=root] Arg version:
--> "1"
2014-04-01T06:54:50.002Z [2D940B70 verbose 'Solo.Vmomi' opID=hostd-375f user=root] Arg options:
--> (vmodl.query.PropertyCollector.WaitOptions) {
--> dynamicType = <unset>,
--> maxWaitSeconds = 600,
--> maxObjectUpdates = 100,
--> }
2014-04-01T06:54:50.003Z [2D940B70 info 'Solo.Vmomi' opID=hostd-375f user=root] Throw vmodl.fault.RequestCanceled
2014-04-01T06:54:50.003Z [2D940B70 info 'Solo.Vmomi' opID=hostd-375f user=root] Result:
--> (vmodl.fault.RequestCanceled) {
--> dynamicType = <unset>,
--> faultCause = (vmodl.MethodFault) null,
--> msg = "",
--> }
2014-04-01T06:54:50.003Z [2D9C2B70 error 'SoapAdapter.HTTPService.HttpConnection'] Failed to read header on stream <io_obj p:0x2e23e8e0, h:68, <TCP '0.0.0.0:0'>, <TCP '0.0.0.0:0'>>: N7Vmacore15SystemExceptionE(Connection reset by peer)
2014-04-01T06:54:50.736Z [2D940B70 verbose 'Default' opID=FB7FEBFB-0000073F-ec-63 user=vpxuser] AdapterServer: target='vim.host.DatastoreSystem:ha-datastoresystem', method='queryAvailableDisksForVmfs'
2014-04-01T06:54:50.737Z [2D940B70 verbose 'Hostsvc.DatastoreSystem' opID=FB7FEBFB-0000073F-ec-63 user=vpxuser] QueryAvailableDisksForVmfs: not a valid VFFS/VMFS volume.
2014-04-01T06:54:50.737Z [2D940B70 verbose 'Hostsvc.DatastoreSystem' opID=FB7FEBFB-0000073F-ec-63 user=vpxuser] QueryAvailableDisksForVmfs: not a valid VFFS/VMFS volume.
2014-04-01T06:54:50.737Z [2D940B70 verbose 'Hostsvc.DatastoreSystem' opID=FB7FEBFB-0000073F-ec-63 user=vpxuser] QueryAvailableDisksForVmfs: not a valid VFFS/VMFS volume.
2014-04-01T06:54:50.737Z [2D940B70 verbose 'Hostsvc.DatastoreSystem' opID=FB7FEBFB-0000073F-ec-63 user=vpxuser] QueryAvailableDisksForVmfs: not a valid VFFS/VMFS volume.
2014-04-01T06:54:50.739Z [2D940B70 info 'Hostsvc' opID=FB7FEBFB-0000073F-ec-63 user=vpxuser] VsanSystemVmkProvider : QueryDisksForVsan: Start: given 1 device names
2014-04-01T06:54:50.739Z [2D940B70 info 'Hostsvc' opID=FB7FEBFB-0000073F-ec-63 user=vpxuser] VsanSystemVmkProvider : QueryDisksForVsan: Complete
2014-04-01T06:54:50.739Z [2D940B70 info 'Hostsvc' opID=FB7FEBFB-0000073F-ec-63 user=vpxuser] VsanSystemVmkProvider : QueryDisksForVsan: Start: given 1 device names
2014-04-01T06:54:50.739Z [2D940B70 info 'Hostsvc' opID=FB7FEBFB-0000073F-ec-63 user=vpxuser] VsanSystemVmkProvider : QueryDisksForVsan: Complete
2014-04-01T06:54:50.771Z [FFCC5B70 verbose 'Default' opID=FB7FEBFB-00000740-15-c8 user=vpxuser] AdapterServer: target='vim.host.StorageSystem:storageSystem', method='queryUnresolvedVmfsVolume'
2014-04-01T06:54:52.939Z [FFCC5B70 verbose 'Default' opID=FB7FEBFB-00000741-4-9c user=vpxuser] AdapterServer: target='vim.host.StorageSystem:storageSystem', method='retrieveDiskPartitionInfo'
2014-04-01T06:54:52.939Z [2CAC2B70 verbose 'Partitionsvc' opID=FB7FEBFB-00000741-4-9c user=vpxuser] InvokePartedUtil /sbin/partedUtil "getptbl" "/vmfs/devices/disks/naa.600c0ff000da0c4b0c85395301000000"
2014-04-01T06:54:52.940Z [2CAC2B70 info 'SysCommandPosix' opID=FB7FEBFB-00000741-4-9c user=vpxuser] ForkExec(/sbin/partedUtil) 207859
2014-04-01T06:54:52.954Z [2CAC2B70 verbose 'Partitionsvc' opID=FB7FEBFB-00000741-4-9c user=vpxuser] Output Stream from partedUtil while getting partitions for /vmfs/devices/disks/naa.600c0ff000da0c4b0c85395301000000:
--> msdos
--> 218606 255 63 3511912704
-->
2014-04-01T06:54:52.973Z [2CAC2B70 verbose 'Default' opID=FB7FEBFB-00000742-b5-7 user=vpxuser] AdapterServer: target='vim.host.DatastoreSystem:ha-datastoresystem', method='queryVmfsDatastoreCreateOptions'
2014-04-01T06:54:52.973Z [2CAC2B70 verbose 'Partitionsvc' opID=FB7FEBFB-00000742-b5-7 user=vpxuser] InvokePartedUtil /sbin/partedUtil "getptbl" "/vmfs/devices/disks/naa.600c0ff000da0c4b0c85395301000000"
2014-04-01T06:54:52.974Z [2CAC2B70 info 'SysCommandPosix' opID=FB7FEBFB-00000742-b5-7 user=vpxuser] ForkExec(/sbin/partedUtil) 207860
2014-04-01T06:54:53.007Z [2CAC2B70 verbose 'Partitionsvc' opID=FB7FEBFB-00000742-b5-7 user=vpxuser] Output Stream from partedUtil while getting partitions for /vmfs/devices/disks/naa.600c0ff000da0c4b0c85395301000000:
--> msdos
--> 218606 255 63 3511912704
-->
2014-04-01T06:54:53.007Z [2CAC2B70 verbose 'Partitionsvc' opID=FB7FEBFB-00000742-b5-7 user=vpxuser] InvokePartedUtil /sbin/partedUtil "getptbl" "/vmfs/devices/disks/naa.600c0ff000da0c4b0c85395301000000"
2014-04-01T06:54:53.008Z [2CAC2B70 info 'SysCommandPosix' opID=FB7FEBFB-00000742-b5-7 user=vpxuser] ForkExec(/sbin/partedUtil) 207861
2014-04-01T06:54:53.059Z [2CAC2B70 verbose 'Partitionsvc' opID=FB7FEBFB-00000742-b5-7 user=vpxuser] Output Stream from partedUtil while getting partitions for /vmfs/devices/disks/naa.600c0ff000da0c4b0c85395301000000:
--> msdos
--> 218606 255 63 3511912704
-->
2014-04-01T06:54:53.059Z [2CAC2B70 verbose 'Default' opID=FB7FEBFB-00000742-b5-7 user=vpxuser] current partition format=mbr, partitionFormatChange=true
2014-04-01T06:54:53.059Z [2CAC2B70 verbose 'Default' opID=FB7FEBFB-00000742-b5-7 user=vpxuser] LimitMBRDisk: MBR 2TB limit modifications not required.
2014-04-01T06:54:53.059Z [2CAC2B70 verbose 'Default' opID=FB7FEBFB-00000742-b5-7 user=vpxuser] Available primary : [1, 2, 3, 4, ]
2014-04-01T06:54:53.059Z [2CAC2B70 verbose 'Default' opID=FB7FEBFB-00000742-b5-7 user=vpxuser] Available primary : [1, 2, 3, 4, ]
2014-04-01T06:54:53.059Z [2CAC2B70 verbose 'Default' opID=FB7FEBFB-00000742-b5-7 user=vpxuser] Setting start sector to 2048 for 1MB alignment
2014-04-01T06:54:54.820Z [2D9C2B70 verbose 'SoapAdapter'] Responded to service state request
2014-04-01T06:54:55.338Z [2D940B70 verbose 'Default' opID=FB7FEBFB-00000744-98-b5 user=vpxuser] AdapterServer: target='vim.host.StorageSystem:storageSystem', method='computeDiskPartitionInfo'
2014-04-01T06:54:55.338Z [2D940B70 verbose 'Partitionsvc' opID=FB7FEBFB-00000744-98-b5 user=vpxuser] InvokePartedUtil /sbin/partedUtil "getptbl" "/vmfs/devices/disks/naa.600c0ff000da0c4b0c85395301000000"
2014-04-01T06:54:55.340Z [2D940B70 info 'SysCommandPosix' opID=FB7FEBFB-00000744-98-b5 user=vpxuser] ForkExec(/sbin/partedUtil) 207866
2014-04-01T06:54:55.398Z [2D940B70 verbose 'Partitionsvc' opID=FB7FEBFB-00000744-98-b5 user=vpxuser] Output Stream from partedUtil while getting partitions for /vmfs/devices/disks/naa.600c0ff000da0c4b0c85395301000000:
--> msdos
--> 218606 255 63 3511912704
-->
2014-04-01T06:54:55.399Z [2D940B70 verbose 'Partitionsvc' opID=FB7FEBFB-00000744-98-b5 user=vpxuser] InvokePartedUtil /sbin/partedUtil "getptbl" "/vmfs/devices/disks/naa.600c0ff000da0c4b0c85395301000000"
2014-04-01T06:54:55.400Z [2D940B70 info 'SysCommandPosix' opID=FB7FEBFB-00000744-98-b5 user=vpxuser] ForkExec(/sbin/partedUtil) 207867
2014-04-01T06:54:55.450Z [2D940B70 verbose 'Partitionsvc' opID=FB7FEBFB-00000744-98-b5 user=vpxuser] Output Stream from partedUtil while getting partitions for /vmfs/devices/disks/naa.600c0ff000da0c4b0c85395301000000:
--> msdos
--> 218606 255 63 3511912704
-->
2014-04-01T06:54:55.450Z [2D940B70 verbose 'Default' opID=FB7FEBFB-00000744-98-b5 user=vpxuser] Available primary : [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, ]
2014-04-01T06:54:55.451Z [2D940B70 verbose 'Default' opID=FB7FEBFB-00000744-98-b5 user=vpxuser] Setting start sector to 2048 for 1MB alignment
2014-04-01T06:54:55.527Z [2CAC2B70 verbose 'Default' opID=FB7FEBFB-00000746-a3-f8 user=vpxuser] AdapterServer: target='vim.host.DatastoreSystem:ha-datastoresystem', method='createVmfsDatastore'
2014-04-01T06:54:55.527Z [2CAC2B70 info 'Vimsvc.TaskManager' opID=FB7FEBFB-00000746-a3-f8 user=vpxuser] Task Created : haTask-ha-host-vim.host.DatastoreSystem.createVmfsDatastore-373918026
2014-04-01T06:54:55.527Z [2CAC2B70 verbose 'Hostsvc.FSVolumeProvider' opID=FB7FEBFB-00000746-a3-f8 user=vpxuser] RescanVmfs called
2014-04-01T06:54:55.594Z [2D9C2B70 info 'Hostsvc'] VsanSystemVmkProvider : StorageHotPlugListener: VSAN service not configured to automatically claim storage: ignoring storage event
2014-04-01T06:54:55.594Z [2D9C2B70 verbose 'Hostsvc.DatastoreSystem'] VmfsUpdate: got VMFS message [N11HostdCommon18VmkernelUpdateVmfsE:0x2da51b70] timestamp=61427630162 specific=0 name= label=
2014-04-01T06:54:55.594Z [2D940B70 info 'Hostsvc'] HandleVsanAutoClaimDiskEvent received auto-claim disk event, updating VSAN properties
2014-04-01T06:54:55.595Z [2CAC2B70 verbose 'Partitionsvc' opID=FB7FEBFB-00000746-a3-f8 user=vpxuser] InvokePartedUtil /sbin/partedUtil "setptbl" "/vmfs/devices/disks/naa.600c0ff000da0c4b0c85395301000000" "gpt" "1 2048 3511905389 AA31E02A400F11DB9590000C2911D1B8 0"
2014-04-01T06:54:55.596Z [2CAC2B70 info 'SysCommandPosix' opID=FB7FEBFB-00000746-a3-f8 user=vpxuser] ForkExec(/sbin/partedUtil) 207868
2014-04-01T06:55:01.925Z [2C440B70 verbose 'SoapAdapter'] Responded to service state request
2014-04-01T06:55:02.830Z [FFE40B70 verbose 'Default' opID=SWI-4584c7d2-4e user=vpxuser] AdapterServer: target='vim.PerformanceManager:ha-perfmgr', method='GetPerfCounter'
2014-04-01T06:55:02.841Z [FFE40B70 verbose 'Locale' opID=SWI-4584c7d2-4e user=vpxuser] Default resource used for 'counter.vsanDomObj.writeThroughput.summary' expected in module 'perf'.
2014-04-01T06:55:02.865Z [FFE40B70 verbose 'Default' opID=SWI-4584c7d2-4e user=vpxuser] AdapterServer: target='vim.HostSystem:ha-host', method='retrieveInternalCapability'
2014-04-01T06:55:02.867Z [FFE40B70 verbose 'Default' opID=SWI-4584c7d2-4e user=vpxuser] AdapterServer: target='vim.PerformanceManager:ha-perfmgr', method='queryPerfCounterInt'
2014-04-01T06:55:02.882Z [2C440B70 verbose 'Default' opID=SWI-4584c7d2-4e user=vpxuser] AdapterServer: target='vim.PerformanceManager:ha-perfmgr', method='summarizeStats'
2014-04-01T06:55:24.823Z [2DC80B70 verbose 'SoapAdapter'] Responded to service state request
2014-04-01T06:55:35.626Z [2CAC2B70 info 'Partitionsvc' opID=FB7FEBFB-00000746-a3-f8 user=vpxuser] Unable to set partition information for /vmfs/devices/disks/naa.600c0ff000da0c4b0c85395301000000
2014-04-01T06:55:35.626Z [2CAC2B70 info 'Partitionsvc' opID=FB7FEBFB-00000746-a3-f8 user=vpxuser] Status : 255
--> Output: gpt
--> 0 0 0 0
--> 1 2048 3511905389 AA31E02A400F11DB9590000C2911D1B8 0
-->
--> Error : Error: Connection timed out during write on /dev/disks/naa.600c0ff000da0c4b0c85395301000000
--> WriteNewPtable: Unable to commit to disk
-->
-->
2014-04-01T06:55:35.627Z [2CAC2B70 verbose 'Hostsvc' opID=FB7FEBFB-00000746-a3-f8 user=vpxuser] Failed to update disk partitions for : /vmfs/devices/disks/naa.600c0ff000da0c4b0c85395301000000
2014-04-01T06:55:35.627Z [2CAC2B70 info 'Default' opID=FB7FEBFB-00000746-a3-f8 user=vpxuser] AdapterServer caught exception: vim.fault.PlatformConfigFault
2014-04-01T06:55:35.627Z [2DF80B70 verbose 'Hostsvc.DatastoreSystem'] ReconcileVMFSDatastores called: refresh = true, rescan = false
2014-04-01T06:55:35.627Z [2DF80B70 verbose 'Hostsvc.FSVolumeProvider'] RefreshVMFSVolumes called
2014-04-01T06:55:35.627Z [2CAC2B70 info 'Vimsvc.TaskManager' opID=FB7FEBFB-00000746-a3-f8 user=vpxuser] Task Completed : haTask-ha-host-vim.host.DatastoreSystem.createVmfsDatastore-373918026 Status error
2014-04-01T06:55:35.627Z [2DF80B70 verbose 'Hostsvc.DatastoreSystem'] ReconcileVMFSDatastores: Done discovering new filesystem volumes.
2014-04-01T06:55:35.627Z [2CAC2B70 info 'Solo.Vmomi' opID=FB7FEBFB-00000746-a3-f8 user=vpxuser] Activation [N5Vmomi10ActivationE:0x2de351a0] : Invoke done [createVmfsDatastore] on [vim.host.DatastoreSystem:ha-datastoresystem]
2014-04-01T06:55:35.627Z [2D940B70 verbose 'Hostsvc.DatastoreSystem'] ReconcileVsanDatastores: Discovering new filesystem volumes.
2014-04-01T06:55:35.627Z [2D940B70 verbose 'Hostsvc.DatastoreSystem'] ReconcileVsanDatastores: Refreshing cache.
2014-04-01T06:55:35.627Z [2D940B70 verbose 'Hostsvc.FSVolumeProvider'] RefreshVsanVolumes called
2014-04-01T06:55:35.628Z [2D940B70 verbose 'Hostsvc.DatastoreSystem'] ReconcileVsanDatastores: changes after Expunge: 0
2014-04-01T06:55:35.628Z [2D940B70 verbose 'Hostsvc.DatastoreSystem'] ReconcileVsanDatastores: changes after DiscoverNew: 0
2014-04-01T06:55:35.628Z [2D940B70 verbose 'Hostsvc.DatastoreSystem'] ReconcileVsanDatastores: Done discovering new filesystem volumes.
2014-04-01T06:55:35.627Z [2CAC2B70 verbose 'Solo.Vmomi' opID=FB7FEBFB-00000746-a3-f8 user=vpxuser] Arg spec:
--> (vim.host.VmfsDatastoreCreateSpec) {
--> dynamicType = <unset>,
--> diskUuid = "0200650000600c0ff000da0c4b0c853953010000004d5341323331",
--> partition = (vim.host.DiskPartitionInfo.Specification) {
--> dynamicType = <unset>,
--> partitionFormat = "gpt",
--> chs = (vim.host.DiskDimensions.Chs) {
--> dynamicType = <unset>,
--> cylinder = 218606,
--> head = 255,
--> sector = 63,
--> },
--> totalSectors = 3511912704,
--> partition = (vim.host.DiskPartitionInfo.Partition) [
--> (vim.host.DiskPartitionInfo.Partition) {
--> dynamicType = <unset>,
--> partition = 1,
--> startSector = 2048,
--> endSector = 3511905389,
--> type = "0xfb",
--> guid = <unset>,
--> logical = false,
--> attributes = 0,
--> partitionAlignment = 1048576,
--> }
--> ],
--> },
--> vmfs = (vim.host.VmfsVolume.Specification) {
--> dynamicType = <unset>,
--> extent = (vim.host.ScsiDisk.Partition) {
--> dynamicType = <unset>,
--> diskName = "naa.600c0ff000da0c4b0c85395301000000",
--> partition = 1,
--> },
--> blockSizeMb = 1,
--> majorVersion = 5,
--> volumeName = "5641",
--> },
--> extent = (vim.host.ScsiDisk.Partition) [
--> (vim.host.ScsiDisk.Partition) {
--> dynamicType = <unset>,
--> diskName = "naa.600c0ff000da0c4b0c85395301000000",
--> partition = 1,
--> }
--> ],
--> }
2014-04-01T06:55:35.628Z [2CAC2B70 info 'Solo.Vmomi' opID=FB7FEBFB-00000746-a3-f8 user=vpxuser] Throw vim.fault.PlatformConfigFault
2014-04-01T06:55:35.628Z [2CAC2B70 info 'Solo.Vmomi' opID=FB7FEBFB-00000746-a3-f8 user=vpxuser] Result:
--> (vim.fault.PlatformConfigFault) {
--> dynamicType = <unset>,
--> faultCause = (vmodl.MethodFault) null,
--> text = "Failed to update disk partition information",
--> msg = "",
--> }
2014-04-01T06:55:35.631Z [2CA81B70 info 'Hostsvc' opID=hostd-284e] VsanSystemVmkProvider : GetConfig: Start
2014-04-01T06:55:35.637Z [2CA81B70 info 'Hostsvc' opID=hostd-284e] VsanSystemVmkProvider : GetConfig: Complete
On the MSA i've done a "restore defaults factory" and afterwards configured it as basic as possible.
LUN 101 read/write. (There is not much to chance in the webinterface).
I've done a 4 disk RAID5 and 12 disk RAID6, just to be sure the disks were wiped.
Any suggestions?
Regards Michael.