- Code: Select all
# mount
Moderator: Moderators
# mountdon't run "df -h " but smply "mount" to show all mount points
CODE: SELECT ALL
# mount
batvink wrote:I'm not sure, but since it's network related;
could it be caused by a temp. network downtime.?
Or a network cable that is not properly fitting in the socket,
the router somehow got reset, asking new IP from ISP... etc.
Steps to Reproduce:
1. mount via NFS a share on eth0 network
2. watch -n1 "cat /proc/mounts"
3. unplug eth1 cable
result:
There is a blackout in nfs mount
Also, are you by any chance running a program on your server that might
reset the modification time on various directories of your server
(rsync with the -a option is an example of this.)
and the mountpoints in fstab.
can you try, if defining them as -soft or -hard mountpoints helps ?
/usr/portage/distfiles/packages 192.168.0.[n](async,no_subtree_check,rw,no_root_squash)
[...]
/usr/portage/distfiles/packages 192.168.0.7(async,no_subtree_check,rw,no_root_squash)
[...]
/usr/portage/distfiles/packages 192.168.0.[n](async,no_subtree_check,rw,no_root_squash)
# rc-update show | grep dhcp[ 14.053377] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
[ 16.022798] fbcondecor: console 1 using theme 'sabayon'
[ 16.176279] fbcondecor: switched decor state to 'on' on console 1
[ 16.335929] fbcondecor: console 2 using theme 'sabayon'
[ 16.489608] fbcondecor: switched decor state to 'on' on console 2
[ 16.649986] fbcondecor: console 3 using theme 'sabayon'
[ 16.803361] fbcondecor: switched decor state to 'on' on console 3
[ 16.963121] fbcondecor: console 4 using theme 'sabayon'
[ 17.116838] fbcondecor: switched decor state to 'on' on console 4
[ 17.277395] fbcondecor: console 5 using theme 'sabayon'
[ 17.430715] fbcondecor: switched decor state to 'on' on console 5
[ 17.590445] fbcondecor: console 6 using theme 'sabayon'
[ 17.744282] fbcondecor: switched decor state to 'on' on console 6
[ 17.905719] fbcondecor: console 7 using theme 'sabayon'
[ 18.059621] fbcondecor: switched decor state to 'on' on console 7
[ 18.220065] fbcondecor: console 8 using theme 'sabayon'
[ 18.373563] fbcondecor: switched decor state to 'on' on console 8
[ 18.534198] fbcondecor: console 9 using theme 'sabayon'
[ 18.688221] fbcondecor: switched decor state to 'on' on console 9
[ 18.847985] fbcondecor: console 10 using theme 'sabayon'
[ 19.001841] fbcondecor: switched decor state to 'on' on console 10
[ 19.162287] fbcondecor: console 11 using theme 'sabayon'
[ 19.315737] fbcondecor: switched decor state to 'on' on console 11
[ 19.822637] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 19.867676] NET: Registered protocol family 10
[ 21.924994] fbcondecor: switched decor state to 'off' on console 6
[ 22.092003] fbcondecor: console 6 using theme 'sabayon'
[ 22.096264] fbcondecor: switched decor state to 'on' on console 6
[ 22.513577] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 22.539446] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 22.576587] NVRM: GPU at 0000:03:00: GPU-dfcc001a-fe9b-060e-899a-632e665be76b
[ 23.909157] 8021q: 802.1Q VLAN Support v1.8
[ 24.047294] r8169 0000:04:00.0: eth0: link down
[ 24.048732] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 25.545820] r8169 0000:04:00.0: eth0: link up
[ 25.547228] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 27.452446] ondemand governor failed, too long transition latency of HW, fallback to performance governor
[ 27.454967] ondemand governor failed, too long transition latency of HW, fallback to performance governor
[ 27.457462] ondemand governor failed, too long transition latency of HW, fallback to performance governor
[ 27.459938] ondemand governor failed, too long transition latency of HW, fallback to performance governor
[ 28.519129] netlink: 12 bytes leftover after parsing attributes.
[69412.202279] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
[14147.187126] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda pop-up
[14147.187135] cdrom: Uniform CD-ROM driver Revision: 3.20
[14147.187604] sr 8:0:0:0: Attached scsi CD-ROM sr0
[14147.187929] sr 8:0:0:0: Attached scsi generic sg1 type 5
[14190.148733] ISO 9660 Extensions: Microsoft Joliet Level 1
[14190.206340] ISOFS: changing to secondary root
[14429.682276] CPU2: Package power limit notification (total events = 479)
[14429.682281] CPU3: Package power limit notification (total events = 479)
[14429.682289] CPU1: Package power limit notification (total events = 479)
[14429.682294] CPU0: Package power limit notification (total events = 479)
[14429.686255] CPU2: Package power limit normal
[14429.686260] CPU3: Package power limit normal
[14429.686265] CPU1: Package power limit normal
[14429.686269] CPU0: Package power limit normal
[14730.616418] usb 2-1.2: USB disconnect, device number 4
[32501.591671] cfg80211: Calling CRDA to update world regulatory domain
[32504.845339] wlp3s0: authenticate with 10:bd:18:c8:a6:a0
[32504.848404] wlp3s0: send auth to 10:bd:18:c8:a6:a0 (try 1/3)
[32505.048000] wlp3s0: send auth to 10:bd:18:c8:a6:a0 (try 2/3)
[32505.048867] wlp3s0: authenticated
[32505.050003] wlp3s0: associate with 10:bd:18:c8:a6:a0 (try 1/3)
[32505.051401] wlp3s0: RX AssocResp from 10:bd:18:c8:a6:a0 (capab=0x111 status=0 aid=1)
[32505.055582] wlp3s0: associated
[32556.378965] wlp3s0: authenticate with 10:bd:18:ce:8a:60
[32556.381245] wlp3s0: direct probe to 10:bd:18:ce:8a:60 (try 1/3)
[32556.580967] wlp3s0: direct probe to 10:bd:18:ce:8a:60 (try 2/3)
[32556.781462] wlp3s0: send auth to 10:bd:18:ce:8a:60 (try 3/3)
[32556.783321] wlp3s0: authenticated
[32556.784452] wlp3s0: associate with 10:bd:18:ce:8a:60 (try 1/3)
[32556.788802] wlp3s0: RX AssocResp from 10:bd:18:ce:8a:60 (capab=0x431 status=0 aid=4)
[32556.797267] wlp3s0: associated
[45325.956967] cfg80211: Calling CRDA to update world regulatory domain
[45329.250593] wlp3s0: authenticate with 10:bd:18:c8:a6:a0
[45329.255077] wlp3s0: send auth to 10:bd:18:c8:a6:a0 (try 1/3)
[45329.455183] wlp3s0: send auth to 10:bd:18:c8:a6:a0 (try 2/3)
[45329.456081] wlp3s0: authenticated
[45329.457127] wlp3s0: associate with 10:bd:18:c8:a6:a0 (try 1/3)
[45329.458496] wlp3s0: RX AssocResp from 10:bd:18:c8:a6:a0 (capab=0x111 status=0 aid=1)
[45329.461633] wlp3s0: associated
[45364.842478] wlp3s0: authenticate with 10:bd:18:ce:8a:60
[45364.844654] wlp3s0: direct probe to 10:bd:18:ce:8a:60 (try 1/3)
[45365.044338] wlp3s0: direct probe to 10:bd:18:ce:8a:60 (try 2/3)
[45365.244859] wlp3s0: send auth to 10:bd:18:ce:8a:60 (try 3/3)
[45365.246770] wlp3s0: authenticated
[45365.247881] wlp3s0: associate with 10:bd:18:ce:8a:60 (try 1/3)
[45365.251576] wlp3s0: RX AssocResp from 10:bd:18:ce:8a:60 (capab=0x431 status=0 aid=4)
[45365.261595] wlp3s0: associated
I'm not sure, but since it's network related;
could it be caused by a temp. network downtime.?
Or a network cable that is not properly fitting in the socket,
the router somehow got reset, asking new IP from ISP... etc.
Steps to Reproduce:
1. mount via NFS a share on eth0 network
2. watch -n1 "cat /proc/mounts"
3. unplug eth1 cable
result:
There is a blackout in nfs mount
Also, are you by any chance running a program on your server that might
reset the modification time on various directories of your server
(rsync with the -a option is an example of this.)
rsync -avcr --inplace --progress <src> <dst>
NetBSD 6.0 (GENERIC)
Welcome to NetBSD!
$ df -h
Filesystem Size Used Avail %Cap Mounted on
/dev/sd0a 31G 7.0G 22G 23% /
kernfs 1.0K 1.0K 0B 100% /kern
ptyfs 1.0K 1.0K 0B 100% /dev/pts
procfs 8.0K 8.0K 0B 100% /proc
192.168.1.120:/mnt/zfs 3.6T 3.6T 16G 99% /zr
192.168.1.120:/mnt/zfs2 3.5T 3.2T 51G 98% /zr_1
$ uptime
3:12AM up 1 day, 8:41, 1 user, load averages: 0.00, 0.06, 0.11
watch -n1 "cat /proc/mounts"
#!/bin/sh
HOSTNM=`hostname`
DATE=$(date +"%d-%b-%y %H:%M")
df -k | grep zr | grep -v grep > /dev/null
if [ $? == 1 ]; then
echo 'Alert Mount Points Offline!' $HOSTNM $DATE
else echo > /dev/null
fi
if output ==1
mount <mnt_points>
Feb 10 06:27:24 dhcpcd[9150]: eth0: renewing lease of <ip>
Feb 10 06:27:24 dhcpcd[9150]: eth0: acknowledged <ip> from <ip>
Feb 10 06:27:24 dhcpcd[9150]: eth0: leased <ip> for 43200 seconds
Feb 10 06:27:24 NetworkManager[9111]: <info> (eth0): DHCPv4 state changed renew -> renew
Feb 10 06:27:24 NetworkManager[9111]: <info> address <ip>
Feb 10 06:27:24 NetworkManager[9111]: <info> prefix 26 (255.255.255.192)
Feb 10 06:27:24 NetworkManager[9111]: <info> gateway <ip>
Feb 10 06:27:24 NetworkManager[9111]: <info> nameserver '<ip>'
Feb 10 06:27:24 NetworkManager[9111]: <info> nameserver '<ip>'
Feb 10 06:27:24 NetworkManager[9111]: <info> domain name '<domain>'
Feb 10 06:27:24 dbus[8091]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Feb 10 06:27:24 dbus[8091]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
# ifconfig# ifconfigDoes your router assign IP-Lan dynamically ?
When NFS runs , check IP
CODE: SELECT ALL
# ifconfig
When you resume (or turn on) your PC
CODE: SELECT ALL
# ifconfig
if for some reason your IP changes , maybe NFS-server can't assign the same IP
Return to Sabayon Linux General Discussion
Users browsing this forum: No registered users and 0 guests