Feed on
Posts
Comments

Tag Archive 'ESX'

Command prompt colours

Here’s an old trick which works great on ESX servers (thanks to this article on Linux Journal for reminding me).  It turns your prompt different colours to highlight when you are logged in as root:
To make the prompt red when you’re running as root add this to /root/.bashrc:
PS1=”\[\e[31m\]\u@\h:\w#\[\e[m\] “
To make the prompt green when [...]

Read Full Post »

Corrupted vmdk and vmsd files

I wanted to blog here about a silly mistake I made yesterday.
I need to expand a VM’s disk and was using the ol’ vmkfstools -X. However, I obviously do this all too flippantly and forgot to check if there was any snapshots. oops. That sunken feeling.
I corrupted the vmdk and the snapshot vmsd file.
Here’s how [...]

Read Full Post »