
10

Linux 下挂载硬盘后一段时间不用,会自动休眠并且卸载是怎么回事?
source link: https://www.v2ex.com/t/802479
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Linux 下挂载硬盘后一段时间不用,会自动休眠并且卸载是怎么回事?
- 比如有一个硬盘,我
mount
上了 - 但是我并没有使用,过了一段时间后,发现挂载点里面没数据,一看
df -h
发现没了 - 于是我又查
blkid
发现硬盘还是在的,于是再次执行mount
又上来了... - 所以猜测,是不是大容量硬盘(usb)不用一段时间后会休眠?之前这块硬盘挂到 winodws 上也有类似情况,时间长不用,盘符是在的,但是双击进去发现很卡,同时硬盘转速会提升,然后大约 5.6 秒后才能进去,但是 windows 处理的相对好一些,至少盘符还是在的,linux 直接没了,只告诉你硬件还在....
5 条回复 • 2021-09-17 11:06:24 +08:00
huntagain2008 7 分钟前
小白我平常用 Windows11,每天下午重启电脑通过 U 盘启动改用 ArchLinux+kde plasma 。
办公电脑只有 1T 的 hdd 并无 ssd,该 hdd 的两个分区 C 盘和 D 盘总是会自动挂载到 /run/media,作为练习,我也手动 mount 到 /home/ht/Documents/disk 使用没有任何问题。
你这个帖子的标题完全是你的猜测。而且我不知道你表达的是 fstab 的持久挂载,还是仅仅重启电脑就不再挂载了。
办公电脑只有 1T 的 hdd 并无 ssd,该 hdd 的两个分区 C 盘和 D 盘总是会自动挂载到 /run/media,作为练习,我也手动 mount 到 /home/ht/Documents/disk 使用没有任何问题。
你这个帖子的标题完全是你的猜测。而且我不知道你表达的是 fstab 的持久挂载,还是仅仅重启电脑就不再挂载了。
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK