Blog

ESXi 6.0 unable to add storage

When trying to format a new disk with VMFS on an ESXi host v 6.0 the page does not show available volumes and eventually times out, or you can the LUN and then when the automatic rescan happens hosts begin to drop out of vCenter and go inaccessible..

Error interacting with configuration file /etc/vmware/lunTimestamps.log: Timeout while waiting for lock, /etc/vmware/lunTimestamps.log.LOCK, to be released. Another process has kept this file locked for more than 30 seconds. The process currently holding the lock is smartd(PID). This is likely a temporary condition. Please try your operation again.

the following errors are seen in the vmkernel logs

2016-07-05T09:27:20.305Z cpu28:3611758 opID=a68ce84c)FSS: 5327: No FS driver claimed device ‘control’: No filesystem on the device
2016-07-05T09:27:20.334Z cpu28:3611758 opID=a68ce84c)FSS: 5327: No FS driver claimed device ‘naa.: No filesystem on the device
2016-07-05T09:27:20.409Z cpu42:3611758 opID=a68ce84c)FSS: 5327: No FS driver claimed device ‘naa.:1’: No filesystem on the device
2016-07-06T08:58:36.616Z cpu13:42774 opID=d90a96f8)FSS: 5327: No FS driver claimed device ‘naa.:1’: No filesystem on the device
2016-07-06T08:58:36.629Z cpu13:42774 opID=d90a96f8)FSS: 5327: No FS driver claimed device ‘naa.:1’: No filesystem on the device
2016-07-06T08:58:36.675Z cpu13:42774 opID=d90a96f8)FSS: 5327: No FS driver claimed device ‘naa.:1’: No filesystem on the device
2016-07-06T08:58:36.686Z cpu13:42774 opID=d90a96f8)FSS: 5327: No FS driver claimed device ‘naa.:2’: No filesystem on the device
2016-07-06T08:58:36.709Z cpu13:42774 opID=d90a96f8)FSS: 5327: No FS driver claimed device ‘naa.:1’: No filesystem on the device
2016-07-06T08:58:36.710Z cpu13:42774 opID=d90a96f8)FSS: 5327: No FS driver claimed device ‘control’: No filesystem on the device

 

2015-09-20T19:45:53.317Z cpu8:33761)ScsiDeviceIO: 2324: Cmd(0x4136da1d4f80) 0x12, CmdSN 0x891c4d from world 0 to dev “naa.” failed H:0x2 D:0x0 P:0x0 Possible sense data: 0x0 0x0 0x0.
2015-09-20T19:46:33.318Z cpu16:32845)ScsiDeviceIO: 2337: Cmd(0x4136da1d4f80) 0x12, CmdSN 0x891c4d from world 0 to dev “naa.” failed H:0x5 D:0x0 P:0x0 Possible sense data: 0x0 0x0 0x0.
2015-09-20T19:50:13.284Z cpu21:33761)ScsiDeviceIO: 2324: Cmd(0x4136c2d00d00) 0x12, CmdSN 0x891cd0 from world 0 to dev “naa.” failed H:0x2 D:0x0 P:0x0 Possible sense data: 0x0 0x0 0x0.
2015-09-20T19:50:53.288Z cpu16:32845)ScsiDeviceIO: 2337: Cmd(0x4136c2d00d00) 0x12, CmdSN 0x891cd0 from world 0 to dev “naa.” failed H:0x5 D:0x0 P:0x0 Possible sense data: 0x0 0x0 0x0.
2015-09-20T19:50:53.294Z cpu1:33761)ScsiDeviceIO: 2324: Cmd(0x4136c2d00d00) 0x12, CmdSN 0x891cd1 from world 0 to dev “naa.” failed H:0x2 D:0x0 P:0x0 Possible sense data: 0x0 0x0 0x0.
2015-09-20T19:51:33.298Z cpu39:32868)ScsiDeviceIO: 2337: Cmd(0x4136c2d00d00) 0x12, CmdSN 0x891cd1 from world 0 to dev “naa.” failed H:0x5 D:0x0 P:0x0 Possible sense data: 0x0 0x0 0x0.
2015-09-20T19:55:13.307Z cpu39:33761)ScsiDeviceIO: 2324: Cmd(0x4136cd882a00) 0x12, CmdSN 0x891d54 from world 0 to dev “naa.” failed H:0x2 D:0x0 P:0x0 Possible sense data: 0x0 0x0 0x0.
2015-09-20T19:55:53.298Z cpu30:32859)ScsiDeviceIO: 2337: Cmd(0x4136cd882a00) 0x12, CmdSN 0x891d54 from world 0 to dev “naa.” failed H:0x5 D:0x0 P:0x0 Possible sense data: 0x0 0x0 0x0.
2015-09-20T19:55:53.299Z cpu36:33761)ScsiDeviceIO: 2324: Cmd(0x4136cd882a00) 0x12, CmdSN 0x891d55 from world 0 to dev “naa.” fail

 

This issue is a bug in version 6 of ESXi which is apparently resolved in u2, the issue is down to the SmartD service, which is a disk monitoring Daemon and cannot detect SSD or flash storage as the volumes when presented. the fix is to upgrade ESXi or the work around is to disable the service completely..

from the esxcli run the following commands

/etc/init.d/smartd status – This will tell you the status of the service

/etc/init.d/smartd stop – This will stop the service

chkconfig smartd – this will tell you the state of the service

chkconfig smartd off – this will disable the server from starting

you can then run the above commands to check to make sure its off and disbaled

 

Leave a Comment

Your email address will not be published. Required fields are marked *