Created
December 11, 2013 17:34
-
-
Save jcpowermac/7914853 to your computer and use it in GitHub Desktop.
Detached LUN Fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
naa=`esxcli storage core device detached list | awk 'NR > 2 {print $1}'` | |
for n in $naa ; do | |
`esxcli storage core device detached remove -d $n` | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment