NFS Server Installation configuration for Ubuntu 12.04 and ARM Development Board file sharing

Source: Internet
Author: User

Implementation steps:

1. Server side: sudo apt-get install Portmap

2. Server side: sudo apt-get install Nfs-kernel-server

3. Client: sudo apt-get install Nfs-common

4. Server-side configuration: sudo gedit/etc/exports


Added:/home * (Rw,sync,no_root_squash)

(Shared directory) (Allow IP)

(RW permissions are erasable, and Ro is read-only,

Sync means the data is written synchronously to the memory and hard disk, and async means that the data is staged in memory, not directly to the hard disk.

Open client uses root to operate the server's file system, then open No_root_squash, Root_squash not allowed.

5. Server-side boot: sudo/etc/init.d/portmap restart

6. Server-side boot: sudo/etc/init.d/nfs-kernel-server restart

7.arm Board Connection: Host: sudo ifconfig eth0 192.168.9.131 netmask 255.255.255.0

ARM board: ifconfig eth0 192.168.9.102 netmask 255.255.255.0

8.arm on board mount:mount-o nolock 192.168.9.131:/home//mnt/fat/

(Host IP and shared directory) (ARM Board catalog)

Automatic synchronization of files on the arm board after Mount

(

1. Problems occurred:

Reason given by Server:permission denied

Solve:

Server-side boot must be sudo boot, or start failed, service refused

2. Problems occurred:

svc:failed to register LOCKDV1 RPC service (errno 111).

Lockd_up:makesock failed, error=-111

Mount:mounting 192.168.1.101:/home/share on/mnt/hosts Failed:connection refused

Then change to:

Mount-t Nfs-o nolock 192.168.1.101:/home/share/mnt/hosts

3. Problems occurred:

Mount:mounting 192.168.1.101:/home/share on/mnt/hosts failed:device or resource busy

Solve:

This prompt appears after the Mount command on Mount and the device is running without having to mount again

If you want to mount again, you can first umount/mnt/hosts

)


NFS Server Installation configuration for Ubuntu 12.04 and ARM Development Board file sharing

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.