You are not logged in.

#26 2024-09-17 12:27:15

gzyms
Member
Registered: 2023-11-09
Posts: 3

Re: Terminal freezes with majority of commands [SOLVED]

Ok, I also got it. It hangs on resolving a dangling mount path (host behind VPN, which is disconnected at the moment). It happens in two moments:

1. When I go back along the commands' history, by pressing the up arrow, as soon as it hits the command -

ls /mnt/unaccessible-mount

it freezes for about 15 seconds.
2. When I use

Ctrl+R

to interactively search back in command history, (bck-i-search)

I don't expect this to happen, since my fstab entry for that mount contains options especially for avoiding such a behavior, i.e. _netdev, noauto and x-systemd options:

# fstab entry
1.2.3.4:/host/path    /mntf/unaccessible-mount    nfs    _netdev,user,noauto,x-systemd.after=network-online.target,x-systemd.automount,x-systemd.device-timeout=10,x-systemd.mount-timeout=10,x-systemd.idle-timeout=3min 0 0

It seems it was working ok before and suddenly (randomly?) broke.

Offline

#27 2024-09-17 13:40:14

seth
Member
Registered: 2012-09-03
Posts: 56,521

Re: Terminal freezes with majority of commands [SOLVED]

https://wiki.archlinux.org/title/NFS#Mo … /etc/fstab - use a soft mount.
This has actually nothing to do with the topic of the ancient thread, so please neither necrobump nor hijack threads.

Offline

Board footer

Powered by FluxBB