Accessing PragmaDrive - pragmagrid/ipop GitHub Wiki

#Getting Started

Install IPOP

As a first step install IPoP GVPN on your system.
GVPN setup

Set up NFS (Ubuntu Linux).

1. Install NFS client.

sudo apt-get update
sudo apt-get install portmap nfs-common

2. Create a directory to be used as mount-point for NFS.

mkdir pragmadrive

3. Mount NFS share drive.

sudo mount 10.254.0.1:/home/ipop-user/PragmaDrive pragmadrive/

If you want to mount the export using IPv6 address use

sudo mount [fd50:dbc:41f2:4a3c:c31d:cee6:fefa:7f9]:/home/ipop-user/PragmaDrive pragmadrive/

Where 10.254.0.1 is IPOP address of the NFS server and '/home/ipop-user/PragmaDrive' is the path of the NFS share on the server. For IPv6 version "fd50:dbc:41f2:4a3c:c31d:cee6:fefa:7f9" is the IPv6 address of the NFS export.

4. Test if you can access the contents on the remote drive.

$ df -kh
Filesystem                                                           Size  Used Avail Use% Mounted on
/dev/sda1                                                            455G   48G  385G  11% /
none                                                                 4.0K     0  4.0K   0% /sys/fs/cgroup
udev                                                                 1.9G  4.0K  1.9G   1% /dev
tmpfs                                                                384M  1.3M  383M   1% /run
none                                                                 5.0M     0  5.0M   0% /run/lock
none                                                                 1.9G  228K  1.9G   1% /run/shm
none                                                                 100M   52K  100M   1% /run/user
10.254.0.1:/home/ipop-user/PragmaDrive                                36G  4.3G   30G  13% /home/saumitra/pragmadrive
[fd50:dbc:41f2:4a3c:c31d:cee6:fefa:7f9]:/home/ipop-user/PragmaDrive   36G  4.3G   30G  13% /home/saumitra/pragmadrive6


$ cat pragmadrive/welcome.txt 
Welcome to PragmaDrive!!!

I used directories "pragmadrive","pragmadrive6" to mount the exports via IPv4 and via IPv6 respectively.If you can see the contents of remote file "welcome.txt" you are good to go.

References:
NFS tutorial for Ubuntu

Ubuntu- NFS Docs-Official

NFS with IPv6