На одном из серверов отвалилась примонтированная nfs папка, отмонтировал через umount -fl и далее ни какие попытки примонтировать ее обратно не прокатывают :( Nfs сервер, немного пересетапливал, допускаю что конект мог потеряться, но сотня других машин конекты восстановила и работает нормально, а здесь - тупик какой-то :)
NFS Клиент :
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15.
[root@pgdb2 ~]# mount -t nfs4 -o auto nfs:/export/ /mnt ^C
[root@pgdb2 ~]# tracepath nfs
1?: [LOCALHOST] pmtu 1500
1: nfs1 0.195ms reached
1: nfs1 0.122ms reached
Resume: pmtu 1500 hops 1 back 1
[root@pgdb2 ~]# mount -t nfs4 -o auto nfs:/export/ /mnt
^C
[root@pgdb2 ~]# mount -vvv -t nfs4 -o auto nfs:/export/ /mnt
mount.nfs4: timeout set for Tue Jan 7 16:22:35 2020
mount.nfs4: trying text-based options 'vers=4.1,addr=192.168.90.43,clientaddr=192.168.90.42'
^C
[root@pgdb2 ~]# mount -vvv -t nfs4 -o auto nfs:/export/ /mnt
mount.nfs4: timeout set for Tue Jan 7 16:25:13 2020
mount.nfs4: trying text-based options 'vers=4.1,addr=192.168.90.43,clientaddr=192.168.90.42'
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29.
[root@pgdb2 ~]# rpcinfo -p nfs
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 33204 status
100024 1 tcp 60878 status
100005 1 udp 20048 mountd
100005 1 tcp 20048 mountd
100005 2 udp 20048 mountd
100005 2 tcp 20048 mountd
100005 3 udp 20048 mountd
100005 3 tcp 20048 mountd
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 3 tcp 2049 nfs_acl
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100227 3 udp 2049 nfs_acl
100021 1 udp 51626 nlockmgr
100021 3 udp 51626 nlockmgr
100021 4 udp 51626 nlockmgr
100021 1 tcp 41201 nlockmgr
100021 3 tcp 41201 nlockmgr
100021 4 tcp 41201 nlockmgr
[root@pgdb2 ~]#
NFS сервер :
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29.
[root@nfs1 ~]# tcpdump -i bond1 -n host 192.168.90.42 -v
tcpdump: listening on bond1, link-type EN10MB (Ethernet), capture size 262144 bytes
16:15:15.244155 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.90.42 tell 192.168.90.8, length 46
16:15:27.287280 IP (tos 0x0, ttl 1, id 0, offset 0, flags [DF], proto UDP (17), length 1500)
192.168.90.42.32885 > 192.168.90.43.44444: UDP, length 1472
16:15:27.287319 IP (tos 0xc0, ttl 64, id 34909, offset 0, flags [none], proto ICMP (1), length 576)
192.168.90.43 > 192.168.90.42: ICMP 192.168.90.43 udp port 44444 unreachable, length 556
IP (tos 0x0, ttl 1, id 0, offset 0, flags [DF], proto UDP (17), length 1500)
192.168.90.42.32885 > 192.168.90.43.44444: UDP, length 1472
16:15:27.287784 IP (tos 0x0, ttl 1, id 0, offset 0, flags [DF], proto UDP (17), length 1500)
192.168.90.42.32885 > 192.168.90.43.44445: UDP, length 1472
16:15:27.287803 IP (tos 0xc0, ttl 64, id 34910, offset 0, flags [none], proto ICMP (1), length 576)
192.168.90.43 > 192.168.90.42: ICMP 192.168.90.43 udp port 44445 unreachable, length 556
IP (tos 0x0, ttl 1, id 0, offset 0, flags [DF], proto UDP (17), length 1500)
192.168.90.42.32885 > 192.168.90.43.44445: UDP, length 1472
16:15:32.292120 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.90.42 tell 192.168.90.43, length 28
16:15:32.292161 ARP, Ethernet (len 6), IPv4 (len 4), Reply 192.168.90.42 is-at ec:f4:bb:c5:f1:78, length 46
16:20:19.477971 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.90.42 tell 192.168.90.8, length 46
16:22:13.218664 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.90.42 tell 192.168.90.8, length 46
16:25:45.367646 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.90.42 tell 192.168.90.8, length 46
16:30:29.840272 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.90.42 tell 192.168.90.8, length 46
16:31:31.450107 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.90.42 tell 192.168.90.8, length 46
16:43:32.996073 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.90.42 tell 192.168.90.8, length 46
^C
13 packets captured
15 packets received by filter
0 packets dropped by kernel
913 packets dropped by interface
[root@nfs1 ~]#
и попыток конекта не было ...
телнетом не порты :
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11.
[root@pgdb2 ~]# telnet nfs 111
Trying 192.168.90.43...
Connected to nfs.
Escape character is '^]'.
^CConnection closed by foreign host.
[root@pgdb2 ~]# telnet nfs 2049
Trying 192.168.90.43...
Connected to nfs.
Escape character is '^]'.
^CConnection closed by foreign host.
[root@pgdb2 ~]#
все успешно :
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41.
[root@nfs1 ~]# tcpdump -i bond1 -n host 192.168.90.42 -v
tcpdump: listening on bond1, link-type EN10MB (Ethernet), capture size 262144 bytes
16:47:59.668993 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.90.42 tell 192.168.90.8, length 46
16:48:15.877631 IP (tos 0x10, ttl 64, id 19084, offset 0, flags [DF], proto TCP (6), length 60)
192.168.90.42.41768 > 192.168.90.43.sunrpc: Flags [S], cksum 0x72fb (correct), seq 4090135449, win 29200, options [mss 1460,sackOK,TS val 1228720405 ecr 0,nop,wscale 7], length 0
16:48:15.877663 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 60)
192.168.90.43.sunrpc > 192.168.90.42.41768: Flags [S.], cksum 0x35d5 (incorrect -> 0xc983), seq 4076403195, ack 4090135450, win 43440, options [mss 1460,sackOK,TS val 1209810097 ecr 1228720405,nop,wscale 11], length 0
16:48:15.877720 IP (tos 0x10, ttl 64, id 19085, offset 0, flags [DF], proto TCP (6), length 52)
192.168.90.42.41768 > 192.168.90.43.sunrpc: Flags [.], cksum 0xa11f (correct), ack 1, win 229, options [nop,nop,TS val 1228720405 ecr 1209810097], length 0
16:48:17.636349 IP (tos 0x10, ttl 64, id 19086, offset 0, flags [DF], proto TCP (6), length 57)
192.168.90.42.41768 > 192.168.90.43.sunrpc: Flags [P.], cksum 0x9440 (correct), seq 1:6, ack 1, win 229, options [nop,nop,TS val 1228722164 ecr 1209810097], length 5
16:48:17.636382 IP (tos 0x0, ttl 64, id 50509, offset 0, flags [DF], proto TCP (6), length 52)
192.168.90.43.sunrpc > 192.168.90.42.41768: Flags [.], cksum 0x35cd (incorrect -> 0x942b), ack 6, win 22, options [nop,nop,TS val 1209811856 ecr 1228722164], length 0
16:48:17.636439 IP (tos 0x0, ttl 64, id 50510, offset 0, flags [DF], proto TCP (6), length 52)
192.168.90.43.sunrpc > 192.168.90.42.41768: Flags [R.], cksum 0x35cd (incorrect -> 0x1fd4), seq 1, ack 6, win 22, options [nop,nop,TS val 0 ecr 1228722164], length 0
16:48:20.879707 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.90.43 tell 192.168.90.42, length 46
16:48:20.879725 ARP, Ethernet (len 6), IPv4 (len 4), Reply 192.168.90.43 is-at ec:f4:bb:c6:55:50, length 28
16:48:27.957455 IP (tos 0x10, ttl 64, id 8570, offset 0, flags [DF], proto TCP (6), length 60)
192.168.90.42.55074 > 192.168.90.43.nfs: Flags [S], cksum 0xe415 (correct), seq 3259881791, win 29200, options [mss 1460,sackOK,TS val 1228732485 ecr 0,nop,wscale 7], length 0
16:48:27.957500 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 60)
192.168.90.43.nfs > 192.168.90.42.55074: Flags [S.], cksum 0x35d5 (incorrect -> 0x7b4c), seq 1342123287, ack 3259881792, win 43440, options [mss 1460,sackOK,TS val 1209822177 ecr 1228732485,nop,wscale 11], length 0
16:48:27.957565 IP (tos 0x10, ttl 64, id 8571, offset 0, flags [DF], proto TCP (6), length 52)
192.168.90.42.55074 > 192.168.90.43.nfs: Flags [.], cksum 0x52e7 (correct), ack 1, win 229, options [nop,nop,TS val 1228732486 ecr 1209822177], length 0
16:48:29.652987 IP (tos 0x10, ttl 64, id 8572, offset 0, flags [DF], proto TCP (6), length 57)
192.168.90.42.55074 > 192.168.90.43.nfs: Flags [P.], cksum 0x4648 (correct), seq 1:6, ack 1, win 229, options [nop,nop,TS val 1228734181 ecr 1209822177], length 5
16:48:29.653014 IP (tos 0x0, ttl 64, id 18169, offset 0, flags [DF], proto TCP (6), length 52)
192.168.90.43.nfs > 192.168.90.42.55074: Flags [.], cksum 0x35cd (incorrect -> 0x4673), ack 6, win 22, options [nop,nop,TS val 1209823872 ecr 1228734181], length 0
16:48:29.653123 IP (tos 0x0, ttl 64, id 18170, offset 0, flags [DF], proto TCP (6), length 52)
192.168.90.43.nfs > 192.168.90.42.55074: Flags [F.], cksum 0x35cd (incorrect -> 0x4671), seq 1, ack 6, win 22, options [nop,nop,TS val 1209823873 ecr 1228734181], length 0
16:48:29.653149 IP (tos 0x0, ttl 64, id 18171, offset 0, flags [DF], proto TCP (6), length 52)
192.168.90.43.nfs > 192.168.90.42.55074: Flags [R.], cksum 0x35cd (incorrect -> 0x010b), seq 2, ack 6, win 22, options [nop,nop,TS val 0 ecr 1228734181], length 0
16:48:29.653201 IP (tos 0x10, ttl 64, id 8573, offset 0, flags [DF], proto TCP (6), length 52)
192.168.90.42.55074 > 192.168.90.43.nfs: Flags [F.], cksum 0x45a1 (correct), seq 6, ack 2, win 229, options [nop,nop,TS val 1228734181 ecr 1209823873], length 0
16:48:29.653221 IP (tos 0x10, ttl 64, id 64434, offset 0, flags [DF], proto TCP (6), length 40)
192.168.90.43.nfs > 192.168.90.42.55074: Flags [R], cksum 0x1dfe (correct), seq 1342123289, win 0, length 0
^C
18 packets captured
133 packets received by filter
0 packets dropped by kernel
53 packets dropped by interface
[root@nfs1 ~]#
причем где-то через сутки "отпустит" и нормально примонтируется....
чего-бы пнуть на "клиенте" ?
|