zoukankan      html  css  js  c++  java
  • Backup failed with error code 2009

    Issue

     All media managers services failed to start after rebuilding sg drivers

    Error

    Error nbjm (pid=27800) NBU status: 2009, EMM status: All compatible drive paths are down, but media is available 

    Failed to get status code information (2009)

    Solution

     1. Back up the existing configuration files:

    # cp /kernel/drv/st.conf /kernel/drv/st.conf.old

    # mv /kernel/drv/sg.conf /kernel/drv/sg.conf.old
    # cp /etc/devlink.tab /etc/devlink.tab.old
     
    2. Remove the existing SCSI targets and LUNs from the /kernel/drv/st.conf file:
    (Take note of how many targets and luns there are)
    name="st" class="scsi"
    target=0 lun=0
    Make sure to remove all of them, or duplicates will be added when the configuration is re-run.
     
    3. Remove the targets and LUNs from the /etc/devlink.tab. This is usually near the end of the file. They look like this:
     
    # begin SCSA Generic devlinks file - creates nodes in /dev/sg
     
    type=ddi_pseudo;name=sg;addr=0,0; sg/cN0t0l0
    type=ddi_pseudo;name=sg;addr=1,0; sg/cN0t1l0
    type=ddi_pseudo;name=sg;addr=2,0; sg/cN0t2l0
    type=ddi_pseudo;name=sg;addr=3,0; sg/cN0t3l0
    type=ddi_pseudo;name=sg;addr=4,0; sg/cN0t4l0
    type=ddi_pseudo;name=sg;addr=5,0; sg/cN0t5l0
    type=ddi_pseudo;name=sg;addr=6,0; sg/cN0t6l0
    type=ddi_pseudo;name=sg;addr=0,1; sg/cN0t0l1
    type=ddi_pseudo;name=sg;addr=1,1; sg/cN0t1l1
    type=ddi_pseudo;name=sg;addr=2,1; sg/cN0t2l1
    type=ddi_pseudo;name=sg;addr=3,1; sg/cN0t3l1
    type=ddi_pseudo;name=sg;addr=4,1; sg/cN0t4l1
    type=ddi_pseudo;name=sg;addr=5,1; sg/cN0t5l1
    type=ddi_pseudo;name=sg;addr=6,1; sg/cN0t6l1
    # end SCSA devlinks
     
    4. You must change to the following directory to run the configuration commands. Type them exactly as shown or the configuration will be created at the wrong location:
    # cd /usr/openv/volmgr/bin/driver
     
    5. Use the following command to create the new configuration files. Use the numbers you noted from the original st.conf for max_targets and max_luns:
    # ../sg.build all -mt <max_targets> -ml <max_luns>
     
    6. Append the generated st.conf to the OS configuration file:
    # cat st.conf >> /kernel/drv/st.conf
     
    7. Unload the sg driver:
    # rem_drv sg
     
    8. Use the following script to re-create the /kernel/drv/sg.conf and append the /etc/devlink.tab file. This will also reload the sg driver when complete:
    # ./sg.install
     
    9. Verify that all devices have been installed properly:
    # /usr/openv/volmgr/bin/sgscan all conf -v
     
       
     

    Article URL http://www.symantec.com/docs/TECH188691

    另外,可先尝试在device monitor里将设备path up,如果备份还是失败,进行上面的操作。

  • 相关阅读:
    慢sql
    drf 和django 字段参数解析
    django uwsgi
    django 中间件原理图和实现方法
    解决 控制台console导入模型报错 django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured.
    版本控制器 django全局和局部配置
    极客论坛Cpu瓶颈定位思路
    jmeter grpc 自定义开发java请求案例
    论文阅读笔记四十七:Generalized Intersection over Union: A Metric and A Loss for Bounding Box Regression(CVPR2019)
    论文阅读笔记四十六:Feature Selective Anchor-Free Module for Single-Shot Object Detection(CVPR2019)
  • 原文地址:https://www.cnblogs.com/bwdata/p/3844862.html
Copyright © 2011-2022 走看看