Tag Archives: Console

Use Console to Connect ESX to a NAS

UPDATED 12/5/2009 to include vSphere commands.

This is a quick note, mostly to help remind me and hopefully help someone else out.

You can use standard Linux commands to connect an ESX host to a NAS (Network Attached Storage) device.  You can use a NAS to store things like ISO’s and backups.  I have many gig’s of ISO’s and I really don’t like them taking up valuable storage on my ESX host.  In production, they’d be taking up SAN space, so I offload them to a Buffalo Terastation, and use Linux commands to mount the Terastation so that ESX can utilize it.

First you can make a directory under vmimages.

mkdir /vmimages/ISO2

ISO2 is the directory that you are creating.  For me, ISO already points to a local directory on my server where I keep one or two ISO’s that I am continually using.  Then you can run the command:

(ESX 3.5)  mount –t smbfs //[nas]/[folder] /vmimages/ISO2
(vSphere) mount –t cifs //[nas]/[folder] /vmimages/ISO2

Continue reading Use Console to Connect ESX to a NAS

Advertisement

Use Console to Connect ESX to a NAS

This is a quick note, mostly to help remind me and hopefully help someone else out.

You can use standard Linux commands to connect an ESX host to a NAS (Network Attached Storage) device.  You can use a NAS to store things like ISO’s and backups.  I have many gig’s of ISO’s and I really don’t like them taking up valuable storage on my ESX host.  In production, they’d be taking up SAN space, so I offload them to a Buffalo Terastation, and use Linux commands to mount the Terastation so that ESX can utilize it.

After logging into the ESX console using the root account or a root privileged account, you can make a directory under vmimages.

mkdir /vmimages/ISO2

ISO2 is the directory that you are creating.  For me, ISO already points to a local directory on my server where I keep one or two ISO’s that I am continually using.  Then you can run the command:

mount –t smbfs //[nas]/[folder] /vmimages/ISO2

Continue reading Use Console to Connect ESX to a NAS