免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7068 | 回复: 4

请教:linux下有没有可替代ioscan的命令? [复制链接]

论坛徽章:
0
发表于 2010-01-12 16:18 |显示全部楼层
10可用积分
ioscan -fnC disk

linux下没有类似于ioscan的命令,可以检测到硬盘是否正常,就行。

先谢谢了。

最佳答案

查看完整内容

There are a set of tools you can use, that will do most what ioscan does.One tool you will find on most Redhat is# sysreportthis is in fact use to gather as much information as posible to send to redhat so they can help you with "Probems", This will gather HW and SW information create a report for diagnotic purpose only and send this via mail to Redhat but you can run this and not send the mail (I ...

论坛徽章:
0
发表于 2010-01-12 16:19 |显示全部楼层

回复 #1 eeeef 的帖子

There are a set of tools you can use, that will do most what ioscan does.

One tool you will find on most Redhat is
# sysreport

this is in fact use to gather as much information as posible to send to redhat so they can help you with "Probems", This will gather HW and SW information create a report for diagnotic purpose only and send this via mail to Redhat but you can run this and not send the mail (It will ask you to send the mail manualy)! I use this one in a while to save elsewhere in case of disaster so I now exactly what I had ! (The whole report is in a tar.bz2 file in /tmp)

there are also is also a lot of informations to be found by reading the file in the /proc directory like
#cat /proc/cupinfo

hope this help you along.

J-P (Jean-Pierre)


http://forums13.itrc.hp.com/serv ... amp;threadId=699370

论坛徽章:
0
发表于 2010-01-12 16:23 |显示全部楼层
linux.wareseeker.com/free-ioscan/

论坛徽章:
0
发表于 2010-01-12 16:26 |显示全部楼层
非常感谢,ziggler,抓紧时间看看。

论坛徽章:
0
发表于 2010-01-15 16:35 |显示全部楼层
ioscan -fnC disk 作用是查看硬盘的
bash-2.04# ioscan -fnC disk

Class     I  H/W Path       Driver     S/W State   H/W Type     Description
============================================================================
disk      0  0/0/3/0.0.0.0  sdisk      CLAIMED     DEVICE       TEAC    DV-28E-C
                           /dev/dsk/c0t0d0   /dev/rdsk/c0t0d0
disk      3  0/1/1/0.0.0    sdisk      CLAIMED     DEVICE       HP 73.4GST373453LC
                           /dev/dsk/c2t0d0   /dev/dsk/c3t0d0   /dev/rdsk/c2t0d0  /dev/rdsk/c3t0d0
disk      2  0/1/1/0.1.0    sdisk      CLAIMED     DEVICE       HP 73.4GST373453LC
                           /dev/dsk/c2t1d0     /dev/dsk/c2t1d0s2   /dev/rdsk/c2t1d0    /dev/rdsk/c2t1d0s2
                           /dev/dsk/c2t1d0s1   /dev/dsk/c2t1d0s3   /dev/rdsk/c2t1d0s1  /dev/rdsk/c2t1d0s3
bash-2.04#

linux通用的是命令是fdisk

[root@snort etc]# fdisk -l

Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          25      200781   83  Linux
/dev/sda2              26        1330    10482412+  83  Linux
/dev/sda3            1331        1967     5116702+  83  Linux
/dev/sda4            1968        9726    62324167+   5  Extended
/dev/sda5            1968        9726    62324136   8e  Linux LVM
[root@snort etc]#
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP