mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
busybox-initramfs/scripts/init: tweak default nfs mount options
- do soft instead of hard nfs mounts - decrease timeo,retrans default timeo (70) * our retrans (10) is a bit too high, causing long lock-ups on resume from suspend with /storage on nfs (due to a non-related connman bug) I have a very basic nfs knowledge, but IMO if 2 retrans with 3 sec timeout fails, there is a general networking problem and the nfs share is "broken" anyway (loosy network or so) ref #2596
This commit is contained in:
parent
cffec309f8
commit
9c1020f1d4
@ -274,7 +274,7 @@
|
|||||||
|
|
||||||
[ "$NFS_OPTIONS" = "$1" ] && NFS_OPTIONS=
|
[ "$NFS_OPTIONS" = "$1" ] && NFS_OPTIONS=
|
||||||
|
|
||||||
mount_common "$NFS_EXPORT" "$2" "$3,nolock,retrans=10,$NFS_OPTIONS" "nfs"
|
mount_common "$NFS_EXPORT" "$2" "$3,nolock,soft,timeo=3,retrans=2,$NFS_OPTIONS" "nfs"
|
||||||
}
|
}
|
||||||
|
|
||||||
mount_part() {
|
mount_part() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user