Hi folks
I am really frustrated with NFS4 and finally have to resort to forums to solve my issue.
I have an Ubuntu 12.04 server running NFSv4 and it has two storage directories (mounted from GFS, but thats irrelevant i guess)
df -h
Code:
gfs:/vol00 7.2T 2.1T 4.8T 31% /data/digcolproc
gfs:/vol01 7.2T 137M 6.8T 1% /data/devbackup
As suggested by NFS4, i have made a bind to it to /exports
--- /etc/fstab
Code:
gfs:/vol00 /data/digcolproc glusterfs defaults 0 0
/data/digcolproc /exports/digcolproc none bind 0 0
gfs:/vol01 /data/devbackup glusterfs defaults 0 0
/data/devbackup /exports/devbackup none bind 0 0
Here is the /etc/exports
Code:
/exports 10.24.86.0/24(rw,sync,fsid=0,crossmnt,no_subtree_check)
/exports/digcolproc 10.24.86.0/24(rw,sync,no_subtree_check)
/exports/devbackup 10.24.86.0/24(rw,sync,no_subtree_check)
----
First issue:
On restarting nfs-kernel-server, i get the following
Code:
exportfs: /exports/devbackup requires fsid= for NFS export
exportfs: /exports/digcolproc requires fsid= for NFS export
----
Second issue
If i still ignore it and proceed to mount those directories in the client side, it tells me its mounted but i don't think it mounts the right directory. there is nothing inside it (but on the server there are lots of files). Also the size is 42 GB while it should be 7.2 TB :-/
Code:
Filesystem Size Used Avail Use% Mounted on
10.24.86.70:/digcolproc 42G 1.6G 38G 4% /data
10.24.86.70:/devbackup 42G 1.6G 38G 4% /data2
Here is the /etc/fstab of the client side
Code:
10.24.86.70:/digcolproc /data nfs4 defaults 0 0
10.24.86.70:/devbackup /data2 nfs4 defaults 0 0
Can someone please help me figure out what am doing wrong here?
Thanks a lot