为什么需要每天都执行一下恢复系统分区 |
感谢大佬分享方法,命令可以正常运行,我的黑裙有三块hdd,又用ssd虚拟了一块硬盘做放置套件的不休眠硬盘,所有套件都已移入sdd硬盘中。有三个问题还要请教。 1.其中一块hdd执行了脱离系统分区命令后,直接查看硬盘休眠状态和日志里都显示unknown。其中两条active是手动挂载系统分区后显示活跃。 ![]() 2.另一块硬盘分离系统分区后日志仍一直显示active活跃状态,我没有更改盘位顺序,这块硬盘是第一盘位。请问怎么查看是什么套件或服务调用了硬盘。 ![]() 3.是否ssd硬盘必须是第一盘位才行。 |
把MD0 MD1只保留第一块硬盘,然后hdparm -y 其他硬盘休眠。但是没几分钟就会又重新变active/idle |
qin123 发表于 2024-5-6 09:39
你改成这样,就能在文件夹里看到了 |
楼主好,SSD需要多大的? |
验证了几天,的确有效。我现在系统和套件都装在volume1的ssd上,平常如果只用套件的能力,比如docker,xiaoya,歪批蒽 server之类的,不涉及到数据盘,基本上不会唤醒硬盘。日志如下: Sat Apr 20 02:20:01 CST 2024 sata3: drive state is: standby Sat Apr 20 02:20:01 CST 2024 sata4: drive state is: standby Sat Apr 20 02:40:01 CST 2024 sata2: drive state is: standby Sat Apr 20 02:40:01 CST 2024 sata3: drive state is: standby Sat Apr 20 02:40:01 CST 2024 sata4: drive state is: standby Sat Apr 20 03:00:01 CST 2024 sata2: drive state is: standby Sat Apr 20 03:00:01 CST 2024 sata3: drive state is: standby Sat Apr 20 03:00:01 CST 2024 sata4: drive state is: standby Sat Apr 20 03:20:01 CST 2024 sata2: drive state is: active/idle Sat Apr 20 03:20:01 CST 2024 sata3: drive state is: active/idle Sat Apr 20 03:20:01 CST 2024 sata4: drive state is: active/idle Sat Apr 20 03:40:01 CST 2024 sata2: drive state is: standby Sat Apr 20 03:40:01 CST 2024 sata3: drive state is: standby Sat Apr 20 03:40:01 CST 2024 sata4: drive state is: standby Sat Apr 20 04:00:01 CST 2024 sata2: drive state is: standby Sat Apr 20 04:00:01 CST 2024 sata3: drive state is: standby Sat Apr 20 04:00:01 CST 2024 sata4: drive state is: standby 中间有唤醒,是因为3点设置了硬盘重新挂载,用来同步各盘上系统的raid |