Skip to main content

Making your Mac OS X as the NFS server

I'm trying to setup a shared storage for ESXi HA and vMotion demo purpose on VMware Fusion. I guess the easiest way with be enabling the native NFS in Mac rather than powering another iSCSI storage such as OpenFiler, FreeNAS, Lefthand VSA, VMware VSA, etc.. 


To view your VMnet, type ifconfig in Terminal.


  1. Edit /etc/exportssudo vi /etc/exports Add a line like the following (I'm using NAT network for my ESXi network, hence using the VMnet8 interface with the range of 172.16.17.0/24.):
    /Users -maproot=root -network 172.16.17.0 -mask 255.255.255.0
  2. Enable nfsdsudo nfsd enable
  3. Test your work: showmount -e
  4. You can view the nfsd status: sudo nfsd status
  5. To restart the nfsdsudo nfsd restart
You can now try to connect ESXi to the NFS or using Mac's Finder to test the connection. Try this... Launch Finder, and press "Shift+Command+G" and type "/net/YourComputerIP/Users".



Other method, you can refer to http://support.apple.com/kb/TA22243


Comments

  1. On ML 10.8.4 -mask in exports gives an error in Console "getaddrinfo for -mask failed"

    Removing both -network & -mask makes NFS server work

    https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man5/exports.5.html

    ReplyDelete
  2. However, they have reportedly come to some agreement with certain apps available for the Android, I suppose to challenge the growing presence of Apple's power. Togel Singapore

    ReplyDelete
  3. In the Grand Theft Auto series (with the latest installment being The Ballad of Gay Tony), you do just that. Bandar Q

    ReplyDelete

Post a Comment

Popular posts from this blog

VMware VRNI 3.5 NTP is working but not healthy

We have experienced this problem where some of the major services not started. You will not be able to connect to the vRNI via web -> https://<ip_address_of_vrni_platform>>. This probably caused by NTP insync. You need to manually start these services. Login with Consoleuser / and default password if not changed before via venter web console. Run services restart and wait for couple minutes (it took me 5-6 mins). Types of Users  User name  Password  Admin UI  admin@local Set this password in the Activate License window during installation. SSH User  support ark1nc0113ct0r CLI User  consoleuser ark1nc0ns0l3 Note It is recommended that the users change the default passwords immediately after the deployment.  Procedure 1 Navigate to  https://<vRealize Network Insight Platform IP address> .  2 Log in to the product UI with the corresponding user name and password. ...

Packaging MS Office 2013 Professional Plus with Thinapp 4.7.3

I can't find the link to package MS Office 2013 but only MS Office 2010 as here . I'm packaging MS Office 2013 the same way MS office 2010 did and it works. Some notes to be taken:- Always run the thinapp with local administrator privilege. Make sure you modify the config.xml (located on proplusr.ww folder), save it and run the setup in command prompt, e.g.. setup.exe /config c:\tmp\config.xml I will choose to run thinapp with VMware Fusion/Workstation with SSD and snapshot. This will allow you to easily revert the snapshot anytime you like. Since the whole Office will be packaged, always select option "Run all from my computer" Always remember to run the application a couple times after installation Always remember to activate the license before proceeding with post-scan I've not installed .net framework as suggested by some blog and the Office 2013 is working. I will run the application and testing to see how it goes. So far, I've thinapp MS o...

vSphere Replication - checking the replication status

Enable SSH on ESXi host (you can do this using vCenter) Download putty or any SSH client and log in with root access vim-cmd vmsvc/getallvms ~ # vim-cmd hbrsvc Commands available under hbrsvc/: vmreplica.abort vmreplica.pause vmreplica.create vmreplica.queryReplicationState vmreplica.disable vmreplica.reconfig vmreplica.diskDisable vmreplica.resume vmreplica.diskEnable vmreplica.startOfflineInstance vmreplica.enable vmreplica.stopOfflineInstance vmreplica.getConfig vmreplica.sync vmreplica.getState  See more at: http://www.virtuallyghetto.com/2011/07/hbr-host-based-replication-cli-for-srm.html#sthash.mpqbyGmw.dpuf http://www.virtuallyghetto.com/2011/07/hbr-host-based-replication-cli-for-srm.html