ioscan问题请教!
本帖最后由 sunnyzhangli 于 2010-06-02 09:39 编辑
大家好,我是新手,用ioscan命令如何显示没被vg使用的磁盘信息?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
本帖最后由 sunnyzhangli 于 2010-06-02 09:39 编辑
大家好,我是新手,用ioscan命令如何显示没被vg使用的磁盘信息?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(7)
ioscan和vgdisplay对比不就行了吗?
ioscan是不能显示有没有给vg使用的,只能显示当前的硬件状态,不包括vg信息.
如果要看vg信息可以用ll /dev/*/group , vgdisplay vg**,但对应ioscan -Cc disk.
ioscan(1M) ioscan(1M)
NAME
ioscan - scan I/O system
SYNOPSIS
/usr/sbin/ioscan [-k|-u] [-e] [-d driver|-C class] [-I instance]
[-H hw_path] [-f[-n]|-F[-n]] [devfile]
/usr/sbin/ioscan -M driver -H hw_path [-I instance]
/usr/sbin/ioscan -t
DESCRIPTION
ioscan scans system hardware, usable I/O system devices, or kernel I/O
system data structures as appropriate, and lists the results. For
each hardware module on the system, ioscan displays by default the
hardware path to the hardware module, the class of the hardware
module, and a brief description.
By default, ioscan scans the system and lists all reportable hardware
found. The types of hardware reported include processors, memory,
interface cards and I/O devices. Scanning the hardware may cause
drivers to be unbound and others bound in their place in order to
match actual system hardware. Entities that cannot be scanned are not
listed.
In the second form shown, ioscan forces the specified software driver
into the kernel I/O system at the given hardware path and forces
software driver to be bound. This can be used to make the system
recognize a device that cannot be recognized automatically; for
example, because it has not yet been connected to the system, does not
support autoconfiguration, or because diagnostics need to be run on a
显示不了
我的意思是从存储划分过来的盘,没有被vg使用的盘不让它显示出来,还请指教!
当然是都显示。ioscan没有啥副作用。
没副作用,楼主试一下,看看就明白啦