theducks.org

Archive for December, 2013

I did a recent migration of SAN to NAS for a client recently, and had to unmount all of their datastores. This little one liner lists all SAN volumes, then gets rid of them.. # esxcfg-scsidevs -m | sed -e ‘s/\:1 //g’ | awk ‘{ printf(“esxcli storage filesystem unmount -l %s;\nsleep 1;\nesxcli storage core device […]