Arm-linux Mount NFS File system

Source: Internet
Author: User

NFS (Network File system), with NFS can be mounted on the virtual machine directory on the Development Board, so that when the virtual machine Linux cross-compilation will not need to use the SD card to copy the compiled executable files to the Development Board to run, saving development time.

1. First install NFS in Linux

Sudo-s

Apt-get Install Portmap

Apt-get Intsall Nfs-kernel-server

2. Edit the exports file again

Vi/etc/exports

Add a line/forlinux/root * (Rw,sync,no_root_squash)

(First Linux directory to have forlinux/root this directory)

3. Start NFS

/etc/init.d/portmap start

/ect/init.d/nfs start

Then detect if NFS is really running

/etc/init.d/portmap status

If you see the is running instructions are already running.

4. Determine the IP address of the Development Board and virtual machine Linux

Virtual machine with bridge mode

Modify the IP address of the Development Board and virtual machine so that the same network segment

You can ping the other IP in the Development Board or the virtual machine terminal, if the general rules network is normal.

5. Mount NFS on the Development Board

Enter the Linux system on the Development Board to perform MOUNT-T NFS 192.168.0.233:/forlinux/root mnt/nfs-o nolock

Virtual machine IP: Virtual machine NFS Directory mounted to the Development Board directory

You can then devolve the directory to the virtual machine at the bottom of the Mnt/nfs.

6. Use Umount/mnt/nfs to uninstall

If not uninstalled, the next time the development Board will be mounted again when the prompt is busy, you need to first umount and then mount.

enjoy!

Arm-linux Mount NFS File system

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.