LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1674|回复: 4

请问如何打开SCSI硬盘的写缓存?

[复制链接]
发表于 2006-4-24 05:11:09 | 显示全部楼层 |阅读模式
在SCSI系统上安装linux,默认情况下居然是关闭了写缓存的,硬盘性能大受影响
发表于 2006-4-25 03:09:00 | 显示全部楼层
这个是假象吧,你怎么知道关闭写缓存的?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-27 12:39:18 | 显示全部楼层
Apr  1 22:22:28 localhost SCSI device sda: 8388314 512-byte hdwr sectors (4295 MB)
Apr  1 22:22:28 localhost SCSI device sda: drive cache: write through
回复 支持 反对

使用道具 举报

发表于 2006-4-29 22:48:23 | 显示全部楼层
sg3_utils
看看这个工具有没有用
https://rhn.redhat.com/errata/RHEA-2004-085.html
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-30 12:07:58 | 显示全部楼层
谢谢楼上的热心帮助,已经找到办法,就是使用sdparm:

http://sg.torque.net/sg/sdparm.html
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表