I thought I tackled the problem.
But still the old raspberry is not binding the CIFs. (It did for a while!)
I checked the rpcbind. It was not started after reboot. I started it and now its running on both machines.:
Code: Select all
ewh@raspberrypi-1 ~ $ sudo systemctl status rpcbind
● rpcbind.service - LSB: RPC portmapper replacement
Loaded: loaded (/etc/init.d/rpcbind)
Drop-In: /run/systemd/generator/rpcbind.service.d
└─50-rpcbind-$portmap.conf
Active: active (running) since wo 2016-11-16 21:08:26 CET; 10min ago
Process: 410 ExecStart=/etc/init.d/rpcbind start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/rpcbind.service
└─434 /sbin/rpcbind -w
nov 16 21:08:26 raspberrypi-1 systemd[1]: Starting LSB: RPC portmapper replacement...
nov 16 21:08:26 raspberrypi-1 rpcbind[410]: Starting rpcbind daemon....
nov 16 21:08:26 raspberrypi-1 systemd[1]: Started LSB: RPC portmapper replacement.
nov 16 21:08:29 raspberrypi-1 systemd[1]: Started LSB: RPC portmapper replacement.
nov 16 21:11:04 raspberrypi-1 systemd[1]: Started LSB: RPC portmapper replacement.
Code: Select all
ewh@raspberrypi-3:~ $ sudo systemctl status rpcbind
● rpcbind.service - LSB: RPC portmapper replacement
Loaded: loaded (/etc/init.d/rpcbind)
Drop-In: /run/systemd/generator/rpcbind.service.d
└─50-rpcbind-$portmap.conf
Active: active (running) since wo 2016-11-16 21:17:32 CET; 1min 42s ago
Process: 1746 ExecStart=/etc/init.d/rpcbind start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/rpcbind.service
└─1756 /sbin/rpcbind -w
nov 16 21:17:32 raspberrypi-3 rpcbind[1746]: Starting rpcbind daemon....
nov 16 21:17:32 raspberrypi-3 systemd[1]: Started LSB: RPC portmapper replacement.
raspberrypi-3 is mounting. correct.
raspberrypi-1 not:
Code: Select all
ewh@raspberrypi-3:~ $ df -h
Bestandssysteem Grootte Gebruikt Besch Geb% Aangekoppeld op
/dev/root 14G 4,0G 8,7G 32% /
devtmpfs 459M 0 459M 0% /dev
tmpfs 463M 0 463M 0% /dev/shm
tmpfs 463M 6,6M 457M 2% /run
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 463M 0 463M 0% /sys/fs/cgroup
/dev/mmcblk0p6 66M 21M 46M 31% /boot
192.168.2.185:/home/ewh 14G 3,7G 9,2G 29% /mnt/PI
//192.168.2.100/NetwerkSchijf/Edward/BackupRasp 1,8T 1,5T 304G 84% /mnt/NAS
tmpfs 93M 0 93M 0% /run/user/1001
tmpfs 93M 0 93M 0% /run/user/1000
/dev/mmcblk0p5 30M 445K 28M 2% /media/ewh/SETTINGS
Code: Select all
ewh@raspberrypi-1 ~ $ df -h
Bestandssysteem Grootte Gebruikt Besch Geb% Aangekoppeld op
/dev/root 14G 3,7G 9,2G 29% /
devtmpfs 459M 0 459M 0% /dev
tmpfs 463M 0 463M 0% /dev/shm
tmpfs 463M 6,8M 457M 2% /run
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 463M 0 463M 0% /sys/fs/cgroup
/dev/mmcblk0p5 60M 20M 40M 33% /boot
//192.168.2.100/NetwerkSchijf/Edward/BackupRasp 1,8T 1,5T 304G 84% /mnt/NAS
tmpfs 93M 0 93M 0% /run/user/106
tmpfs 93M 0 93M 0% /run/user/1001
the command in /etc/fstab: 192.168.2.202:/home/ewh /mnt/PI nfs rw 0 0 is not executed and the system is waiting here.
because if I swop this command in /etc/fstab before: //192.168.2.100/NetwerkSchijf/Edward/BackupRasp /mnt/NAS cifs defaults,rw,username=admin,password=xxxxx,domain=workgroup 0 0.
This line is also not executed. So the /etc/fstab file will never be finished executing.
nmap -sn 192.168.2.202 gives:
Code: Select all
Starting Nmap 6.47 ( http://nmap.org ) at 2016-11-16 22:03 CET
Nmap scan report for 192.168.2.202
Host is up (0.011s latency).
Nmap done: 1 IP address (1 host up) scanned in 0.06 seconds
I do see a difference at the mount directory between both RPI's. At the one the owner is ewh at the other root root:
Code: Select all
drwxrwxrwx 2 root root 4096 apr 1 2015 PI
ewh@raspberrypi-1:/mnt $
drwxrwxrwx 5 ewh 1004 4096 okt 22 16:57 PI
ewh@raspberrypi-3:/mnt $
What could be wrong?