VMware Cloud Community
azerrad
Contributor
Contributor
Jump to solution

How to check san connection status via log

hello,

i am using esx 3.0.1 ,the esx itself is on local sas drives,but all of the storage groups(datastores) on san and all of my vm's are there.

sometimes all of my vm's on specific esx fails ,and i think that maybe the fiber card losing the connection to the san,when i am looking on the vmkernel+messages logs (after every time that problem occur) i dont know what to look for,but every time its happening i can see at all of the logs :

"

9:09 esx4 vmkernel: 25:00:36:02.762 cpu2:1588)WARNING: Swap: vm 1589: 1528: Failed to open swap file '/volumes/45da6121-363a350b-5315-00145e1c4950/givoliTest/givoliTest-803109c8.vswp': Lock was not free

Mar 18 16:19:09 esx4 vmkernel: 25:00:36:02.762 cpu2:1588)WARNING: Swap: vm 1589: 2448: Failed to initialize swap file '/volumes/45da6121-363a350b-5315-00145e1c4950/givoliTest/givoliTest-803109c8.vswp'

Mar 18 16:19:09 esx4 vmkernel: 25:00:36:02.762 cpu2:1588)WARNING: World: vm 1589: 702: init fn swap failed with: No swap file!

Mar 18 16:19:09 esx4 vmkernel: 25:00:36:02.762 cpu2:1588)WARNING: World: vm 1589: 1533: WorldInit failed: trying to cleanup.

what is "init fn swap failed with: No swap file!" ?

2) how can i check via putty, connection history to san ?

3) how can i check what is the latest time that my esx performed reboot ?

Reply
0 Kudos
1 Solution

Accepted Solutions
ZMkenzie
Enthusiast
Enthusiast
Jump to solution

2) how can i check via putty, connection history to san ?

To see connections to the san you can perform this command:

root]# esxcfg-vmhbadevs -m

If you want to see the status of the SAN connections (preferred paths and so on) you should use this command:

root]# esxcfg-mpath -l

From your log it seems that your VMFS volume is full. Have you tried to free some space and see if the problem still occurs?

3) how can i check what is the latest time that my esx performed reboot ?

*nix "uptime" command will return the time since last boot

View solution in original post

Reply
0 Kudos
2 Replies
ZMkenzie
Enthusiast
Enthusiast
Jump to solution

2) how can i check via putty, connection history to san ?

To see connections to the san you can perform this command:

root]# esxcfg-vmhbadevs -m

If you want to see the status of the SAN connections (preferred paths and so on) you should use this command:

root]# esxcfg-mpath -l

From your log it seems that your VMFS volume is full. Have you tried to free some space and see if the problem still occurs?

3) how can i check what is the latest time that my esx performed reboot ?

*nix "uptime" command will return the time since last boot

Reply
0 Kudos
azerrad
Contributor
Contributor
Jump to solution

hi,

thank you for your reply,and for yours coomad line.

Reply
0 Kudos