-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
91 additions
and
20 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
32 changes: 32 additions & 0 deletions
32
src/linux-system-administration/Linux-command-ls-is-invaild-in-some-directory.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
title: Linux ls命令在某个目录下无反应 | ||
icon: page | ||
author: Jelly | ||
date: 2023-12-29 | ||
category: | ||
- Linux | ||
tag: | ||
- Linux | ||
- 运维 | ||
sticky: false | ||
star: false | ||
--- | ||
|
||
首先可以看下内核 | ||
|
||
```sh | ||
dmesg | ||
``` | ||
|
||
这里发现的是里面挂载了一个nfs目录, 但是该nfs目录已经失效, 也就是访问的时候timeout了, 所以没能成功访问 | ||
|
||
查看下nfs挂载点 | ||
```sh | ||
mount -t nfs4 | ||
``` | ||
|
||
只要将该目录取消挂载即可, 这里挂载的nfs目录为 `~/Alist/Ayaka` | ||
|
||
```sh | ||
umount -l ~/Alist/Ayaka | ||
``` |