• AIX 输入lsdev -Cc disk 报错 lsdev: 0514-521 Cannot find information in the predefined device configuration database for the customized device hdisk2


    客户新装AIX操作系统,需要将Netapp的存储映射到系统中,安装好Netapp MPIO后,发现多路径有问题,重装多路径软件后,系统识别lun正常,但是多了很多defined的信息,和 lsdev: 0514-521 Cannot find information in the predefined device         

    configuration database for the customized device hdisk2 的报错信息

     解决思路如下:

    删除磁盘时,报错:

    #rmdev -Rdl hdisk12 rmdev: 0514-521 Cannot find information in the predefined device configuration database for the customized device hdisk12.

      这时我们需要删除ODM中的注册信息,才能够正常的删除磁盘

    (root)#odmget -q name=hdisk19 CuAt OK
    (root)#odmget -q name=hdisk19 CuDv
    
    CuDv:
    name = "hdisk19"
    status = 1
    chgstatus = 2
    ddins = "scdisk"
    location = "20-58-3L-4,12"
    parent = "fcp0"
    connwhere = "4,12"
    PdDvLn = "disk/fcscsi/SYMM_BCV"
    (root)#odmdelete -q name=hdisk19 -o CuDv --need to delete
    1 objects deleted
    (root)#odmget -q value3=hdisk19 CuDvDr
    
    CuDvDr:
    resource = "devno"
    value1 = "21"
    value2 = "19"
    value3 = "hdisk19"
    (root)#odmdelete -q value3=hdisk19 -o CuDvDr --need to delete
    1 objects deleted
    (root)#ls -l /dev | grep hdisk19
    brw------- 1 root system 21, 19 Sep 14 2006 /dev/hdisk19
    crw------- 1 root system 21, 19 Sep 14 2006 /dev/rhdisk19
    (root)#rm /dev/hdisk19 /dev/rhdisk19
    

     

    然后查看恢复正常

    (root)#lsdev -Cc disk
    hdisk0 Available 10-60-00-10,0 16 Bit LVD SCSI Disk Drive
    hdisk1 Available 10-60-00-11,0 16 Bit LVD SCSI Disk Drive
    hdisk2 Available 10-60-00-12,0 16 Bit LVD SCSI Disk Drive
    hdisk3 Available 10-60-00-13,0 16 Bit LVD SCSI Disk Drive
    hdisk4 Available 10-60-00-14,0 16 Bit LVD SCSI Disk Drive
    hdisk5 Available 10-60-00-15,0 16 Bit LVD SCSI Disk Drive
    

      

     

  • 相关阅读:
    跳台阶问题
    最大连续子数组和
    寻找和为定值的若干个数
    MySQL- 用Navicat通过隧道连接到远程数据库
    CDH- 测试mr
    Sqoop- sqoop将mysql数据表导入到hive报错
    CDH- CDH大数据集群运维
    Spring- 异常org.xml.sax.SAXParseException; systemId: http://www.springframework.org/schema/context/; lineNumber: 1; columnNumber: 55; 在 publicId 和 systemId 之间需要有空格。
    Spring- 通过Xml的方式完成Bean的实例化
    Spring- Bean的命名
  • 原文地址:https://www.cnblogs.com/elanjie/p/12808865.html
Copyright © 2020-2023  润新知