Hi
I have a NFSv4 share on a server, where I can connect an Ubuntu client, the share is correctly mounted on Ubuntu.
Now I want to mount the same share from another FreeBSD server (both server and client are 12.1 version).
My rc.conf seems to be correct:
The permissions are correctly set on server, my IP is in the list of clients for this share.
When I try to mount the share I get an error about the local directory (destination of the mount):
The directory
When I try to truss the command I see the source of the failure:
The result of
I tried this command from
What's going wrong here??
NOTE:
The system is installed on ZFS root.
I have a NFSv4 share on a server, where I can connect an Ubuntu client, the share is correctly mounted on Ubuntu.
Now I want to mount the same share from another FreeBSD server (both server and client are 12.1 version).
My rc.conf seems to be correct:
Code:
nfsuserd_enable="YES"
nfscbd_enable="YES"
nfs_client_enable="YES"
When I try to mount the share I get an error about the local directory (destination of the mount):
Code:
# mount_nfs -o nfsv4 -o sec=sys 10.192.20.16:/NFSROOT/GLE-data/bimp/data /mnt/nfs
mount_nfs: nmount: /mnt/nfs: No such file or directory
/mnt/nfs
exists, the owner is root, it is world readable/writable. Idem for /mnt
.When I try to truss the command I see the source of the failure:
Code:
fstatat(AT_FDCWD,"/mnt",{ mode=drwxrwxrwx ,inode=31,size=3,blksize=4096 },AT_SYMLINK_NOFOLLOW) = 0 (0x0)
fstatat(AT_FDCWD,"/mnt/nfs",{ mode=drwxrwxrwx ,inode=3125,size=2,blksize=131072 },AT_SYMLINK_NOFOLLOW) = 0 (0x0)
fstatat(AT_FDCWD,"/mnt/nfs",{ mode=drwxrwxrwx ,inode=3125,size=2,blksize=131072 },0x0) = 0 (0x0)
nmount(0x800675000,16,0x0) ERR#2 'No such file or directory'
fstatat
system call seems to be OK (0x0), but nmount returns error (!?)I tried this command from
/root
and from /
What's going wrong here??
NOTE:
The system is installed on ZFS root.