flashor 发表于 2005-5-23 18:42:59

hdparm不能查看scsi硬盘信息?

hdparm不能查看scsi硬盘信息?

是否用别的命令?

高手指点一下

谢谢

neptune 发表于 2005-5-23 18:51:02

hdparm /dev/sda不行吗?

flashor 发表于 2005-5-23 19:24:47

hdparm /dev/sda不行吗?

是的,不行
具体提示我忘记了

我man hdparm,发现没有一项是跟scsi有关的,都是IDE的

flashor 发表于 2005-5-23 19:33:37

BUGS
       As noted above, the -m sectcount and -u 1 options should be used with
       caution at first, preferably on a read-only filesystem.Mostdrives
       workwellwiththese features, but a few drive/controller combina-
       tions are not 100% compatible.   Filesystemcorruptionmayresult.
       Backup everything before experimenting!

       [color=darkred]Someoptions (eg. -r for SCSI) may not work with old kernels as nec-
       essary ioctl()'s were not supported.[/color]

       Although this utility is intended primarily for use with (E)IDEhard
       diskdevices,several of the options are also valid (and permitted)
       for use with SCSI hard disk devices and MFM/RLL harddiskswithXT
       interfaces.


2.4.x的内核太旧了?

neptune 发表于 2005-5-27 21:17:52

也许吧, 帮你顶

bwb 发表于 2005-5-28 11:03:51

试试这个:
#cat /proc/diskstats
或:
#cat /proc/partitions
页: [1]
查看完整版本: hdparm不能查看scsi硬盘信息?