zoukankan      html  css  js  c++  java
  • 【转】AIX系统错误之--磁盘错误

    AIX系统错误之--磁盘错误

    来源:http://blog.csdn.net/yujin2010good/article/details/40075485

    系统环境:

    操作系统:AIX 5.3.8

    Oracle:  Oracle 10gR2

    案例分析

       在阵列上划分lun后,AIX系统识别后磁盘状态为defined状态:

    [root@aix214:/]#lsdev -c disk

    hdisk0 defined 06-08-02     Other FC SCSI Disk Drive

    hdisk1 Available 08-08-00-3,0 16 Bit LVD SCSI Disk Drive

    hdisk2 Available 06-08-02     Other FC SCSI Disk Drive

    hdisk3 Available 06-08-02     Other FC SCSI Disk Drive

    转换“Available”时报错:

    [root@aix214:/]#mkdev -l hdisk0

    Method error (/usr/lib/methods/cfgscsidisk):

            0514-040 Error initializing a device into the kernel.

     

    通过ODM库查询磁盘信息:

    [root@aix214:/]#odmget -q"name=hdisk0" CuDv

    1
    2
    3
    4
    5
    6
    7
    8
    9
    CuDv:
            name = "hdisk0"
            status = 0         ;;flag id=0
            chgstatus = 0
            ddins = "scsidisk"
            location = "06-08-02"
            parent = "fscsi0"
            connwhere = "1"
            PdDvLn = "disk/fcp/osdisk"

     

     

     

     

     

    [root@aix214:/]#odmget -q"name=hdisk2" CuDv(正常状态磁盘)

    1
    2
    3
    4
    5
    6
    7
    8
    9
    CuDv:
            name = "hdisk2"
            status = 1            ;;flag id=1
            chgstatus = 0
            ddins = "scsidisk"
            location = "06-08-02"
            parent = "fscsi0"
            connwhere = "2"
            PdDvLn = "disk/fcp/osdisk"

     

     

     

     

     

    解决方法:(清除ODM信息)

    wKiom1Q7k5WSHQHkAAEjx8EAtHg700.jpg

    系统重新启动后:

    [root@aix214:/]#lsdev -c disk

    1
    2
    3
    4
    hdisk0 Available 06-08-02     Other FC SCSI Disk Drive
    hdisk1 Available 08-08-00-3,0 16 Bit LVD SCSI Disk Drive
    hdisk2 Available 06-08-02     Other FC SCSI Disk Drive
    hdisk3 Available 06-08-02     Other FC SCSI Disk Drive

     

     

     

    @至此,问题解决!

     
     
  • 相关阅读:
    Scott Mitchell 的ASP.NET 2.0数据教程
    asp.net单点登录 一个账号只能在一个地方登录
    javascript关键字加亮加连接
    Windows环境变量
    IE支持HTML5的解决方法
    JavaScript test() 方法及判断是否为iPhone|iPad|iPod
    《C#4.0中文视频教程共20课完整版》下载
    DataView.RowFilter 的使用
    SQL Server中如何备份到异机
    完美兼容IE、FF、Opera的Ajax类支持get、post、自定义回调函数
  • 原文地址:https://www.cnblogs.com/fengaix6/p/7684403.html
Copyright © 2011-2022 走看看