[Gluster-users] Problem mounting Gluster 3.1 with NFS

Thomas Riske t.riske at uni-assist.de
Fri Dec 10 15:42:27 UTC 2010


I tried to NFS-mount a gluster-volume using the "normal NFS-way" with 
the directory-path:

mount -t nfs /mnt/testmount

This gives me only the following error message:

mount.nfs: mounting failed, reason given by 
server: No such file or directory

But if I understand the information given here correct,
it should be possible to mount the NFS exports like mentioned above...?

The nfs.log looks like the correct options are set in the configuration...

  1: volume test-nfs-client-0
   2:     type protocol/client
   3:     option remote-host
   4:     option remote-subvolume /raid/nfstest
   5:     option transport-type tcp
   6: end-volume
   8: volume test-nfs-write-behind
   9:     type performance/write-behind
  10:     subvolumes test-nfs-client-0
  11: end-volume
  13: volume test-nfs-read-ahead
  14:     type performance/read-ahead
  15:     subvolumes test-nfs-write-behind
  16: end-volume
  18: volume test-nfs-io-cache
  19:     type performance/io-cache
  20:     subvolumes test-nfs-read-ahead
  21: end-volume
  23: volume test-nfs-quick-read
  24:     type performance/quick-read
  25:     subvolumes test-nfs-io-cache
  26: end-volume
  28: volume test-nfs
  29:     type debug/io-stats
  30:     subvolumes test-nfs-quick-read
  31: end-volume
  33: volume nfs-server
  34:     type nfs/server
  35:     option nfs.dynamic-volumes on
  36:     option rpc-auth.addr.test-nfs.allow *
  37:     option nfs3.test-nfs.volume-id 
  38:     subvolumes test-nfs
  39: end-volume

Is this a bug in gluster, or am I missing something here?

Mounting the Gluster-volume with the volume-name over NFS works...
(mount -t nfs /mnt/testmount)

Kind regards,

More information about the Gluster-users mailing list