autofs timeout

Einrichten des lokalen Netzes, Verbindung zu anderen Computern und Diensten.
Antworten
Benutzeravatar
The Hit-Man
Beiträge: 2253
Registriert: 21.11.2004 17:01:56
Wohnort: Menden ( Sauerland )
Kontaktdaten:

autofs timeout

Beitrag von The Hit-Man » 01.06.2020 19:58:35

per autofs, mounte ich meine NFS freigaben und zwar so:

die auto.master sieht so aus:
/home/u0/mnt /etc/autofs/auto.u0 --ghost

die auto.u0 so:
freetz.basis.home -fstype=nfs,bg,timeo=10,intr,rsize=4096,wsize=4096,vers=3 192.168.10.10:/home

autofs legt mir dann auch die besagten ordner an, in dem die freigabe auch gemountet wird. so weit so gut. nun kann es aber manchmal passieren, das ein NFS server gerade nicht erreichbar ist. so weit auch kein problem. nun ist mir schon mal vorgekommen, das ich auf die freigabe mit spacefm klicke ( denke der file manager wird egal sein ), die gerade nicht online ist.
dann friert erstmal der file manager ein, was auch nicht sonderlich schlimm ist. allerdings dauert es dann immer bis zu einer minute ( gefühlt ), bis der file manager merkt, das die resource gar nicht online ist. kann man diese zeit irgendwie verkürzen? eine art timeout option? habe allerdings schon so einiges ausprobiert, in den NFS client einstellungen und auch in den autofs einstellungen...

unter dmesg bekomme ich dann die gefühlte minute immer ein:

Code: Alles auswählen

[ 1438.561138] NFS4: Couldn't follow remote path
[ 1440.081030] NFS4: Couldn't follow remote path
[ 1441.601366] NFS4: Couldn't follow remote path
[ 1443.121143] NFS4: Couldn't follow remote path
[ 1444.641226] NFS4: Couldn't follow remote path
[ 1446.161079] NFS4: Couldn't follow remote path
[ 1447.681280] NFS4: Couldn't follow remote path
[ 1449.201051] NFS4: Couldn't follow remote path
[ 1450.721086] NFS4: Couldn't follow remote path
[ 1452.241079] NFS4: Couldn't follow remote path
[ 1453.761093] NFS4: Couldn't follow remote path
[ 1455.280974] NFS4: Couldn't follow remote path
[ 1456.801043] NFS4: Couldn't follow remote path
[ 1458.321045] NFS4: Couldn't follow remote path
[ 1459.841145] NFS4: Couldn't follow remote path
[ 1461.361016] NFS4: Couldn't follow remote path
[ 1462.881262] NFS4: Couldn't follow remote path
[ 1464.401123] NFS4: Couldn't follow remote path
[ 1465.921076] NFS4: Couldn't follow remote path
[ 1467.441120] NFS4: Couldn't follow remote path
[ 1468.961185] NFS4: Couldn't follow remote path
[ 1470.481041] NFS4: Couldn't follow remote path
[ 1472.001084] NFS4: Couldn't follow remote path
[ 1473.521033] NFS4: Couldn't follow remote path
[ 1475.041224] NFS4: Couldn't follow remote path
[ 1476.560968] NFS4: Couldn't follow remote path
[ 1478.081075] NFS4: Couldn't follow remote path
[ 1479.601048] NFS4: Couldn't follow remote path
[ 1481.121256] NFS4: Couldn't follow remote path
[ 1482.641067] NFS4: Couldn't follow remote path
[ 1484.160937] NFS4: Couldn't follow remote path
[ 1532.827287] NFS4: Couldn't follow remote path
[ 1534.347574] NFS4: Couldn't follow remote path
[ 1535.867509] NFS4: Couldn't follow remote path
[ 1537.387797] NFS4: Couldn't follow remote path
[ 1538.907445] NFS4: Couldn't follow remote path
[ 1540.427548] NFS4: Couldn't follow remote path
[ 1541.947543] NFS4: Couldn't follow remote path
[ 1543.467554] NFS4: Couldn't follow remote path
[ 1544.987525] NFS4: Couldn't follow remote path
[ 1546.507322] NFS4: Couldn't follow remote path
[ 1548.027512] NFS4: Couldn't follow remote path
[ 1549.547613] NFS4: Couldn't follow remote path
[ 1551.067395] NFS4: Couldn't follow remote path
[ 1552.587685] NFS4: Couldn't follow remote path
[ 1554.107398] NFS4: Couldn't follow remote path
[ 1555.627693] NFS4: Couldn't follow remote path
[ 1557.147477] NFS4: Couldn't follow remote path
[ 1558.667666] NFS4: Couldn't follow remote path
[ 1560.187404] NFS4: Couldn't follow remote path
[ 1561.707681] NFS4: Couldn't follow remote path
[ 1563.227678] NFS4: Couldn't follow remote path
[ 1564.747685] NFS4: Couldn't follow remote path
[ 1566.267387] NFS4: Couldn't follow remote path
[ 1567.787445] NFS4: Couldn't follow remote path
[ 1569.307434] NFS4: Couldn't follow remote path
[ 1570.827497] NFS4: Couldn't follow remote path
[ 1572.347431] NFS4: Couldn't follow remote path
[ 1573.867561] NFS4: Couldn't follow remote path
[ 1575.387412] NFS4: Couldn't follow remote path
[ 1576.907326] NFS4: Couldn't follow remote path
[ 1578.427250] NFS4: Couldn't follow remote path
[ 1579.947361] NFS4: Couldn't follow remote path
[ 1581.467278] NFS4: Couldn't follow remote path
[ 1582.987346] NFS4: Couldn't follow remote path
[ 1584.507362] NFS4: Couldn't follow remote path
[ 1586.027425] NFS4: Couldn't follow remote path
[ 1587.547285] NFS4: Couldn't follow remote path
[ 1589.067509] NFS4: Couldn't follow remote path
[ 1590.587358] NFS4: Couldn't follow remote path
[ 1592.107585] NFS4: Couldn't follow remote path
[ 1593.627283] NFS4: Couldn't follow remote path
[ 1595.147549] NFS4: Couldn't follow remote path
[ 1596.667326] NFS4: Couldn't follow remote path
[ 1598.187422] NFS4: Couldn't follow remote path
[ 1599.707252] NFS4: Couldn't follow remote path
[ 1601.227355] NFS4: Couldn't follow remote path
[ 1602.747203] NFS4: Couldn't follow remote path
[ 1604.267263] NFS4: Couldn't follow remote path
[ 1605.787242] NFS4: Couldn't follow remote path
[ 1607.307145] NFS4: Couldn't follow remote path
[ 1608.827273] NFS4: Couldn't follow remote path
[ 1610.347282] NFS4: Couldn't follow remote path
[ 1611.867230] NFS4: Couldn't follow remote path
[ 1613.387144] NFS4: Couldn't follow remote path
[ 1614.907276] NFS4: Couldn't follow remote path
[ 1616.427308] NFS4: Couldn't follow remote path
[ 1617.947138] NFS4: Couldn't follow remote path
[ 1619.466983] NFS4: Couldn't follow remote path
[ 1620.987213] NFS4: Couldn't follow remote path
[ 1622.507301] NFS4: Couldn't follow remote path
[ 1624.027190] NFS4: Couldn't follow remote path
[ 1625.547037] NFS4: Couldn't follow remote path
[ 1627.067061] NFS4: Couldn't follow remote path
[ 1628.587188] NFS4: Couldn't follow remote path
[ 1630.107103] NFS4: Couldn't follow remote path
[ 1631.627301] NFS4: Couldn't follow remote path
[ 1633.147078] NFS4: Couldn't follow remote path
[ 1634.667149] NFS4: Couldn't follow remote path
[ 1636.187008] NFS4: Couldn't follow remote path
[ 1637.707122] NFS4: Couldn't follow remote path
[ 1639.227129] NFS4: Couldn't follow remote path
[ 1640.747083] NFS4: Couldn't follow remote path
[ 1642.267028] NFS4: Couldn't follow remote path
[ 1643.787057] NFS4: Couldn't follow remote path
[ 1645.307099] NFS4: Couldn't follow remote path
[ 1646.826987] NFS4: Couldn't follow remote path
[ 1648.347094] NFS4: Couldn't follow remote path
[ 1649.866760] NFS4: Couldn't follow remote path
[ 1651.386755] NFS4: Couldn't follow remote path
[ 1652.906840] NFS4: Couldn't follow remote path
[ 1654.426768] NFS4: Couldn't follow remote path
[ 1655.946859] NFS4: Couldn't follow remote path
[ 1657.466955] NFS4: Couldn't follow remote path
[ 1658.986832] NFS4: Couldn't follow remote path
[ 1660.506912] NFS4: Couldn't follow remote path
[ 1662.027239] NFS4: Couldn't follow remote path
[ 1663.546963] NFS4: Couldn't follow remote path
[ 1665.067125] NFS4: Couldn't follow remote path
[ 1666.587008] NFS4: Couldn't follow remote path
[ 1668.106872] NFS4: Couldn't follow remote path
[ 1669.626969] NFS4: Couldn't follow remote path
[ 1671.146798] NFS4: Couldn't follow remote path
[ 1672.666971] NFS4: Couldn't follow remote path
[ 1674.187021] NFS4: Couldn't follow remote path
[ 1675.706762] NFS4: Couldn't follow remote path
[ 1677.226868] NFS4: Couldn't follow remote path
[ 1678.746935] NFS4: Couldn't follow remote path
[ 1680.266875] NFS4: Couldn't follow remote path
[ 1681.786895] NFS4: Couldn't follow remote path
[ 1683.306834] NFS4: Couldn't follow remote path
[ 1684.826914] NFS4: Couldn't follow remote path
[ 1686.346809] NFS4: Couldn't follow remote path
[ 1687.866858] NFS4: Couldn't follow remote path
[ 1689.386784] NFS4: Couldn't follow remote path
[ 1690.906870] NFS4: Couldn't follow remote path
[ 1692.426834] NFS4: Couldn't follow remote path
[ 1693.946789] NFS4: Couldn't follow remote path
[ 1695.466947] NFS4: Couldn't follow remote path
[ 1696.986659] NFS4: Couldn't follow remote path
[ 1698.506911] NFS4: Couldn't follow remote path
[ 1700.026806] NFS4: Couldn't follow remote path
[ 1701.546866] NFS4: Couldn't follow remote path
[ 1703.066802] NFS4: Couldn't follow remote path
[ 1704.586764] NFS4: Couldn't follow remote path

usw...
Wer HTML postet oder gepostetes HTML quotet oder sich gepostetes oder
gequotetes HTML beschafft, um es in Verkehr zu bringen, wird geplonkt.

damals windows, früher ubuntu, danach debian, heute arch-linux ;)

Benutzeravatar
unitra
Beiträge: 646
Registriert: 15.06.2002 21:09:38
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: 127.128.129.130

Re: autofs timeout

Beitrag von unitra » 02.06.2020 15:22:39

Nein. Nicht ohne Weiteres, und nicht einfach so. Also generell kann man die Zeit nicht so einfach verkürzen.
The Hit-Man hat geschrieben: ↑ zum Beitrag ↑
01.06.2020 19:58:35
kann man diese zeit irgendwie verkürzen?

Benutzeravatar
The Hit-Man
Beiträge: 2253
Registriert: 21.11.2004 17:01:56
Wohnort: Menden ( Sauerland )
Kontaktdaten:

Re: autofs timeout

Beitrag von The Hit-Man » 02.06.2020 15:34:24

das ist nicht schön ... aber weiß dann bescheid...
Wer HTML postet oder gepostetes HTML quotet oder sich gepostetes oder
gequotetes HTML beschafft, um es in Verkehr zu bringen, wird geplonkt.

damals windows, früher ubuntu, danach debian, heute arch-linux ;)

Benutzeravatar
unitra
Beiträge: 646
Registriert: 15.06.2002 21:09:38
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: 127.128.129.130

Re: autofs timeout

Beitrag von unitra » 02.06.2020 15:46:33

Es ist nicht so einfach, aber nicht unmöglich.

Eventuell hilft Dir die Lektüre hier, anhand einer bestimmten Fehlermeldung erläutert was man machen könnte. Das ist keine Copy/Paste Anleitung https://access.redhat.com/solutions/28211, aber da stehen Lösungsansätze erklärt mit denen man was anfangen könnte.
The Hit-Man hat geschrieben: ↑ zum Beitrag ↑
02.06.2020 15:34:24
das ist nicht schön ... aber weiß dann bescheid...

willy4711

Re: autofs timeout

Beitrag von willy4711 » 03.06.2020 10:55:16

Schau mal hier unter NFS-Freigabe
https://wiki.ubuntuusers.de/Autofs/#Die ... -Map-Datei
Da steht einiges dazu. Wird wohl bei jedem Dateimanager ähnlich sein.

Benutzeravatar
The Hit-Man
Beiträge: 2253
Registriert: 21.11.2004 17:01:56
Wohnort: Menden ( Sauerland )
Kontaktdaten:

Re: autofs timeout

Beitrag von The Hit-Man » 04.06.2020 07:39:29

@willy4711
die --strict option kannte ich noch gar nicht. werde die mal ausprobieren.
Wer HTML postet oder gepostetes HTML quotet oder sich gepostetes oder
gequotetes HTML beschafft, um es in Verkehr zu bringen, wird geplonkt.

damals windows, früher ubuntu, danach debian, heute arch-linux ;)

Benutzeravatar
unitra
Beiträge: 646
Registriert: 15.06.2002 21:09:38
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: 127.128.129.130

Re: autofs timeout

Beitrag von unitra » 04.06.2020 10:16:45

Die Fehlermeldung bezieht sich auf das die NFS version 4. In der autfos Anweisung ist explizit Version 3 konfiguriert. Ein vernünftiger Ansatz wäre alles anzgleichen und NFS4 überall einzusetzten, eventuell ist ein Teil des Problems dann schon gelöst.
The Hit-Man hat geschrieben: ↑ zum Beitrag ↑
01.06.2020 19:58:35

die auto.u0 so:

Code: Alles auswählen

freetz.basis.home        -fstype=nfs,bg,timeo=10,intr,rsize=4096,wsize=4096,vers=3 192.168.10.10:/home
...

unter dmesg bekomme ich dann die gefühlte minute immer ein:

Code: Alles auswählen

[ 1438.561138] NFS4: Couldn't follow remote path

Benutzeravatar
The Hit-Man
Beiträge: 2253
Registriert: 21.11.2004 17:01:56
Wohnort: Menden ( Sauerland )
Kontaktdaten:

Re: autofs timeout

Beitrag von The Hit-Man » 04.06.2020 11:03:02

NFS4 geht leider nicht überall...
Wer HTML postet oder gepostetes HTML quotet oder sich gepostetes oder
gequotetes HTML beschafft, um es in Verkehr zu bringen, wird geplonkt.

damals windows, früher ubuntu, danach debian, heute arch-linux ;)

Antworten