请教:linux下有没有可替代ioscan的命令?
ioscan -fnC disk
linux下没有类似于ioscan的命令,可以检测到硬盘是否正常,就行。
先谢谢了。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
ioscan -fnC disk
linux下没有类似于ioscan的命令,可以检测到硬盘是否正常,就行。
先谢谢了。
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
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]#
非常感谢,ziggler,抓紧时间看看。
linux.wareseeker.com/free-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
# 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