免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3986 | 回复: 7
打印 上一主题 下一主题

ioscan问题请教! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-06-01 16:50 |只看该作者 |倒序浏览
本帖最后由 sunnyzhangli 于 2010-06-02 09:39 编辑

大家好,我是新手,用ioscan命令如何显示没被vg使用的磁盘信息?

论坛徽章:
0
2 [报告]
发表于 2010-06-01 17:04 |只看该作者
没副作用,楼主试一下,看看就明白啦

论坛徽章:
0
3 [报告]
发表于 2010-06-01 21:44 |只看该作者
当然是都显示。ioscan没有啥副作用。

论坛徽章:
0
4 [报告]
发表于 2010-06-02 09:35 |只看该作者
我的意思是从存储划分过来的盘,没有被vg使用的盘不让它显示出来,还请指教!

论坛徽章:
0
5 [报告]
发表于 2010-06-02 10:18 |只看该作者
显示不了

论坛徽章:
0
6 [报告]
发表于 2010-06-02 11:04 |只看该作者
我的意思是从存储划分过来的盘,没有被vg使用的盘不让它显示出来,还请指教!
sunnyzhangli 发表于 2010-06-02 09:35



    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

论坛徽章:
0
7 [报告]
发表于 2010-06-02 16:56 |只看该作者
ioscan是不能显示有没有给vg使用的,只能显示当前的硬件状态,不包括vg信息.
如果要看vg信息可以用ll /dev/*/group , vgdisplay vg**,但对应ioscan -Cc disk.

论坛徽章:
0
8 [报告]
发表于 2010-06-03 22:45 |只看该作者
ioscan和vgdisplay对比不就行了吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP