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

Editing hosts file in iPhone/iPAD

You can now edit the hosts file with a jailbroken iPhone/iPad. Download the hosts file using tool like FileZilla. Default location is /etc/hosts. Download Notepad++ and edit the file. I've edit the file and convert it to ANSI under the Encoding menu. Once completed, upload the file back to the default location.  Try to ping the DNS... It should works!
 Zoom, NASDAQ Stocks Date: 28 Jun 2022 Sell - depends on the MACD + GM_V2_KDJ

Making your iphone to Wifi HotSpot?

Gotten this from a friend really solve my problem. MyWi can be downloaded from Cydia but of course you would probably need to pay it after the trial period.  There is other "cracked" MyWi which you would need to first jailbreak your iphone, and add additional source as follow:- 1. Open your Cydia 2. Goto Manage>Source>Edit>Add 3. Add http://sinfuliphonerepo.com Then, go to Search and look for MyWi (cracked version), download and install it! Tata... you got it working!