VSAN-Troubleshooting-Reference-Manual
VSAN-Troubleshooting-Reference-Manual
VSAN-Troubleshooting-Reference-Manual
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Diagnostics and <strong>Troubleshooting</strong> <strong>Reference</strong> <strong>Manual</strong> – Virtual SAN<br />
Known issue: Migration complete but Maintenance<br />
Mode not entered<br />
Note that the vsan.resync_dashboard command may not display the full<br />
information about a resynchronization activity. Therefore if a host in the Virtual<br />
SAN cluster is placed into maintenance mode, and full data migration is requested,<br />
but is still in progress when the vsan.resync_dashboard reports no bytes to<br />
sync, it could well mean that other objects, for example templates, are still<br />
resync’ing.<br />
> vsan.resync_dashboard ie-vsan-01<br />
2014-11-06 12:07:45 +0000: Querying all VMs on <strong>VSAN</strong> ...<br />
2014-11-06 12:07:45 +0000: Querying all objects in the system from cs-ie-h01.ie.local ...<br />
2014-11-06 12:07:45 +0000: Got all the info, computing table ...<br />
+-----------+-----------------+---------------+<br />
| VM/Object | Syncing objects | Bytes to sync |<br />
+-----------+-----------------+---------------+<br />
+-----------+-----------------+---------------+<br />
| Total | 0 | 0.00 GB |<br />
+-----------+-----------------+---------------+<br />
The following commands will help check if this is the case:<br />
vsan.disks_stats<br />
First, use vsan.disks_stats on the host that is being placed into maintenance<br />
mode. Check for any disks that still have a significant amount of used space and a<br />
number of components greater than 0. Note that display name of the disk. In the<br />
example below, cs-ie-03.ie.local is the host placed into maintenance mode.<br />
> vsan.disks_stats 0<br />
+--------------------------------------+--------------------+-------+------+-----------+------+----------+---------+<br />
| | | | Num | Capacity | | | Status |<br />
| DisplayName | Host | isSSD | Comp | Total | Used | Reserved | Health |<br />
+--------------------------------------+--------------------+-------+------+-----------+------+----------+---------+<br />
| naa.600508b1001c9c8b5f6f0d7a2be44433 | cs-ie-h03.ie.local | SSD | 0 | 186.27 GB | 0 % | 0 % | OK (v1) |<br />
| naa.600508b1001cd259ab7ef213c87eaad7 | cs-ie-h03.ie.local | MD | 1 | 136.50 GB | 16 % | 0 % | OK (v1) |<br />
| naa.600508b1001ceefc4213ceb9b51c4be4 | cs-ie-h03.ie.local | MD | 0 | 136.50 GB | 1 % | 0 % | OK (v1) |<br />
| naa.600508b1001cb11f3292fe743a0fd2e7 | cs-ie-h03.ie.local | MD | 0 | 136.50 GB | 1 % | 0 % | OK (v1) |<br />
| naa.600508b1001c9b93053e6dc3ea9bf3ef | cs-ie-h03.ie.local | MD | 0 | 136.50 GB | 1 % | 0 % | OK (v1) |<br />
| naa.600508b1001c2b7a3d39534ac6beb92d | cs-ie-h03.ie.local | MD | 0 | 136.50 GB | 1 % | 0 % | OK (v1) |<br />
| naa.600508b1001c1a7f310269ccd51a4e83 | cs-ie-h03.ie.local | MD | 0 | 136.50 GB | 1 % | 0 % | OK (v1) |<br />
+--------------------------------------+--------------------+-------+------+-----------+------+----------+---------<br />
<br />
vsan.disk_object_info<br />
In the output above, there is only one component left on the disk in question. All<br />
other disks are empty on that host. Next, use the vsan.disk_object_info to see<br />
what objects and components are still on the disk, using the display name from the<br />
previous command as an argument.<br />
> vsan.disk_object_info ie-vsan-01 naa.600508b1001c79748e8465571b6f4a46<br />
Physical disk naa.600508b1001c79748e8465571b6f4a46 (52191bcb-7ea5-95ff-78af-<br />
2b14f72d95e4):<br />
V M W A R E S T O R A G E B U D O C U M E N T A T I O N / 1 9 3