Skip to main content

Add Storage in VMware ESXi

Have you tried to add storage in your VMware environment after the initial setup and configuration? In my case, I needed to add storage for more space to copy virtual machine files. This is also the same approach to access a USB drive to import a vmx and vmdk files (virtual machine and data storage).

For this article, I will provide a step by step procedure on how to add your USB drive from one of your Windows Server (or workstation).

Let's use a Windows Server 2003 for reading your USB drive. By default, the NFS service is not enable. So, you have to add this service first. Go to Start, Control Panel, Add or Remove Programs, Add/Remove Windows Components, Other Network and Print Services, and select all for Microsoft Services for NFS.

You asked, Why enable NFS Service? The VMware is based using Linux, so you need to enable NFS service to share your network drive or folder.

Share a USB drive or folder. Open your Windows Explorer and browse your USB drive. In your USB drive, let's share the TEMP folder (the TEMP is the folder you want to give VMware read only access). Give Everyone a read-only permission.

Use NFS Sharing. Click the NFS Sharing tab (if you don't see this tab, please add it first), select Share this folder, put check on Allow anonymous access, and put check on Allow root access (as shown in the picture below). Click OK to finish.

Add storage to VMware. Login to your vSphere Client, choose one of your physical host (192.168.xxx.xxx), click the Configuration tab, in Hardware click Storage to see your existing Datastores/Devices.

Click on Add Storage, select Network File System. In Locate Network File System properties, enter the IP address (or hostname) of the server e.g. 192.168.xxx.xxx (this is your VM server), enter the Folder name, in our example we use TEMP. Click Next to continue, click Finish.


If you got an error similar to this "Call "HostDatastoreSystem.CreateNasDatastore" for object "datastoreSystem-9" on vCenter Server "YOUR_SERVER_HERE" failed.
Operation failed, diagnostics report: Sysinfo error on operation returned status : Bad parameter. Please see the VMkernel log for detailed error information" for object
"


You can fix it by doing ... resetting your NFS Server service. Try it and it should work.



If this helped you, please take the time to share this post by sharing using Google+, Facebook, or Twitter.





Comments

Popular posts from this blog

Alternative Social Networks

If you are planning to create your  social network  e.g. similar to Facebook. Here's a short list of alternative software's: Open Source and Free​ http://buddypress.org/  - Wordpress (Open Source and Free) http://elgg.org/  - (Open Source and Free) Commercial Social Networks software http://www.socialengine.com/  ($299 Stand Alone, $29/mo Cloud) http://www.jomsocial.com/  (run with Joomla, need to know CMS) http://www.boonex.com/  (very expensive, $399 for Standard) http://www.anahitapolis.com/ http://www.oxwall.org/ http://sharetronix.com/ http://www.moosocial.com/ http://www.jcow.net/ http://phpdolphin.com http://www.grou.ps  (from free to Commercial, I left my networks and they are selling it  http://www.phpfox.com/  (I used this before, it's hard to maintain. I moved to NING but left too after it was sold to another company) http://www.ning.com  (I don't recommend using this service, it's hard to export your data when it's time to move) S

Learning Vulnerability Scanning by KING.NET

Learning Vulnerability Scanning is fun and easy. So I hope you enjoy reading this short how to guide on how to use vulnerability scanning to secure your servers and networks. NMAP is the swiss tool that you need to learn if you're serious in Cyber Security profession. The NMAP tool can be use with NSE scripting (Nmap Scripting Engine) to automate your tasks. For example using NSE Script using a  single vulnerability (cold fusion)  to scan our test lab machine. root@kali:~# nmap -v -p 80  --script http-vuln-cve2010-2861  10.11.1.220 Starting Nmap 6.47 ( http://nmap.org ) at 2016-07-22 17:34 EDT NSE: Loaded 1 scripts for scanning. NSE: Script Pre-scanning. Initiating ARP Ping Scan at 17:34 Scanning 10.11.1.220 [1 port] Completed ARP Ping Scan at 17:34, 0.04s elapsed (1 total hosts) Initiating Parallel DNS resolution of 1 host. at 17:34 Completed Parallel DNS resolution of 1 host. at 17:35, 13.01s elapsed Initiating SYN Stealth Scan at 17:35 Scanning 10.11.1.220 [1 port] Comp