no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | linux_faq:force_umount_unreacheable_nfs_share [2021/07/01 20:51] (current) – created admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Проблема ====== | ||
+ | На хосте Ubuntu 20.04 была смонтирована сетевая NFS-шара, | ||
+ | ====== Решение ====== | ||
+ | Нужно найти все процессы, | ||
+ | Посмотреть все процессы, | ||
+ | sudo ps -e -o s,pid,cmd | grep ^D | ||
+ | Убить их все сразу можно так: | ||
+ | for proc in `ps -e -o s,pid,cmd | grep ^D | awk ' | ||
+ | Принудительно отмонтировать шару так: | ||
+ | umount -f /mnt/share |