Hello, I have an NFS server running on Debian 'testing'. The server is working fine with other computers of the local net ( one with Debian 'testing' , and the other with Windows). Also, the firewall has the right instructions to allow traffic to my NFS client on FreeBSD 10.1. The server directory is: 192.168.2.3:/mnt/datos. The client destination directory is: /mnt/servidor.
Before trying to mount the server directory, the destination directory has the following permissions:
error is my username.
After mounting the server directory with
so I can not see inside of it. If I do (root or normal user)
Neither can I change the directory permissions when it is mounted. However it seems that the server directory has been mounted without problems.
When I unmount the destination directory /mnt/servidor I get:
but the servidor directory has been unmounted, recovering the original permissions.
I can sync directories with the server using
This is my rc.conf:
I also tried disabling rpc_statd_enable, rpc_statd_enable and rpc_enable.
The question is: why are the permissions of the client directory servidor changed?
Thanks in advance.
Before trying to mount the server directory, the destination directory has the following permissions:
Code:
drwxr-xr-x 2 error error 512 Nov 26 21:46 servidor
After mounting the server directory with
#mount_nfs -o nfsv4 192.168.2.3:/mnt/datos /mnt/server
(no error output on the console), the directory permissions change to:
Code:
drwxrwx---+ 11 1000 1000 4096 Nov 23 22:21 servidor
ls servidor
, I get:
Code:
total 0
ls: servidor: Permission denied
df -h
output:
Code:
Filesystem Size Used Avail Capacity Mounted on
/dev/ada0p3 68G 22G 41G 35% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/ada0p4 368G 34M 338G 0% /mnt/datos
procfs 4.0K 4.0K 0B 100% /proc
linprocfs 4.0K 4.0K 0B 100% /compat/linux/proc
fdescfs 1.0K 1.0K 0B 100% /dev/fd
/dev/fuse 0B 0B 0B 100% /usr/home/error/.gvfs
192.168.2.3:/mnt/datos 1.7T 1.6T 104G 94% /mnt/servidor
Code:
umount: 192.168.2.3: MOUNTPROG: RPC: Port mapper failure - RPC: Timed out
I can sync directories with the server using
rsync -av
without problems.This is my rc.conf:
Code:
hostname="error"
performance_cpu_freq="HIGH"
keymap="spanish.iso15.acc.kbd"
keyrate="fast"
firewall_enable="YES"
firewall_type="open" #for testing purpose #
ifconfig_rl0="inet 192.168.1.7 netmask 255.255.255.0"
ifconfig_alx0="inet 192.168.2.4 netmask 255.255.255.0"
defaultrouter="192.168.1.1"
moused_enable="YES"
ntpd_enable="YES"
dumpdev="NO"
hald_enable="YES"
dbus_enable="YES"
kdm4_enable="YES"
devfs_system_ruleset="localrules"
nfs_client_enable="YES"
nfs_client_flags="-n 4"
rpc_enable="YES"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
The question is: why are the permissions of the client directory servidor changed?
Thanks in advance.