Tags:
create new tag
, view all tags

OpenFlow Testbed Network File System (NFS)

This page documents the configuration of Network File System (NFS) on the OpenFlow Testbed. NFS is used to transfer files to and from the Raspberry Pi's to the Server.

Transferring Files

1. ClusterSSH or SSH into the Raspberry Pi's that you will be transferring files.

2. Execute the following command on the Raspberry Pi's

  • sudo mount /mnt/rasp_nfs

3. Files can now be accessed via

  • Raspberry Pi's
    • /mnt/rasp_nfs
  • Server
    • /home/openflow/Desktop/rasp_nfs
    • /srv/rasp_nfs

4. When finished unmount the Raspberry Pi's (Execute on the Raspberry Pi's)

  • sudo umount /mnt/rasp_nfs

NFS/fstab Configuration

Server

/etc/exports
# /etc/exports: the access control list for filesystems which may be exported
#		to NFS clients.  See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes       hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
#
# Example for NFSv4:
# /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
# /srv/nfs4/homes  gss/krb5i(rw,sync,no_subtree_check)
#

/srv/rasp_nfs 192.168.0.0/16(rw,sync,no_root_squash,no_subtree_check)
/srv/rasp_repo 192.168.0.0/16(ro,sync,no_root_squash,no_subtree_check)

Raspberry Pi

/etc/fstab (appended to file)
server:/srv/rasp_nfs	/mnt/rasp_nfs	nfs	rw,noauto	0	0
server:/srv/rasp_repo	/mnt/rasp_repo	nfs	rw,noauto	0	0
Topic revision: r3 - 2013-07-20 - DanielWeldon
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback