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/c\N0t0l0

type=ddi_pseudo;name=sg;addr=1,0; sg/c\N0t1l0

type=ddi_pseudo;name=sg;addr=2,0; sg/c\N0t2l0

type=ddi_pseudo;name=sg;addr=3,0; sg/c\N0t3l0

type=ddi_pseudo;name=sg;addr=4,0; sg/c\N0t4l0

type=ddi_pseudo;name=sg;addr=5,0; sg/c\N0t5l0

type=ddi_pseudo;name=sg;addr=6,0; sg/c\N0t6l0

type=ddi_pseudo;name=sg;addr=0,1; sg/c\N0t0l1

type=ddi_pseudo;name=sg;addr=1,1; sg/c\N0t1l1

type=ddi_pseudo;name=sg;addr=2,1; sg/c\N0t2l1

type=ddi_pseudo;name=sg;addr=3,1; sg/c\N0t3l1

type=ddi_pseudo;name=sg;addr=4,1; sg/c\N0t4l1

type=ddi_pseudo;name=sg;addr=5,1; sg/c\N0t5l1

type=ddi_pseudo;name=sg;addr=6,1; sg/c\N0t6l1

# 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,如果备份还是失败,进行上面的操作。

Backup failed with error code 2009

时间: 2024-10-11 13:28:44

Backup failed with error code 2009的相关文章

OPatch failed with error code 73(OracleHomeInventory gets null oracleHomeInfo)

1.问题描述 [[email protected]_rac2 oraInventory]$/u01/app/oracle/product/11.2.0/dbhome_1/OPatch/opatch napply /u01/app/oracle/product/11.2.0/dbhome_1/9413827/custom/server/ -local -oh /u01/app/oracle/product/11.2.0/dbhome_1 -id 9413827 错误主要描述 Home name= 

解决安装ipython时Command &quot;python setup.py egg_info&quot; failed with error code 1 in /tmp

最近使用ubuntu16.04 server版安装ipython的时候一直在报错: IPython 6.0+ does not support Python 2.6, 2.7, 3.0, 3.1, or 3.2.      When using Python 2.7, please install IPython 5.x LTS Long Term Support version. python2.7 ipython Command "python setup.py egg_info"

解决Command &quot;python setup.py egg_info&quot; failed with error code 1坎坷路

机器:os x 本地想跑一下一个开源django博客应用,下了源码到里头pip install -r requirements.txt 结果屡次出错,Command "python setup.py egg_info" failed with error code 1 试了多次一直于最后一行这个错误. 我开始以为权限问题,setuptools问题 后来有转机了,我把 requirements.txt里头一个个安装,最后原是psycopg2这个安装有问题 pip我错怪你了,不过把官方源换

x86平台 OPatch failed with error code 73

x86平台升级补丁报错(11204.7) 2016-09-23 05:27:33: The apply patchoutput is Oracle Interim Patch Installer version 11.2.0.3.10 Copyright (c) 2016, Oracle Corporation.  All rights reserved. Oracle Home       :/u01/app/oracle/product/11.2.0/dbhome_1 Central Inv

opatch apply 报错 OPatch failed with error code 73

1.执行opatch apply 报错 OPatch failed with error code 73 [[email protected]_11g 14275605]$ /opt/oracle/product/db_1/OPatch/opatch apply ./ Oracle Interim Patch Installer version 11.2.0.3.0 Copyright (c) 2012, Oracle Corporation.  All rights reserved. Ora

Command &quot;python setup.py egg_info&quot; failed with error code 1一种问题的解决方法

问题描述:无论是你在pycharm中直接使用import and install命令,还是pip的时候出现了Command "python setup.py egg_info" failed with error code 1这样的问题描述,需要考虑可能pip的这个源里面没有对应的python3.5的模块 解决方法:通常可以直接google "XXX for python3.5",或者在github中找到对应的python3.5的项目,将对应的.py文件添加到pyt

OPatch failed with error code 73

前几天给一套LINUX下的RAC数据库打补丁升级,有一台机器更新失败了,相关的异常内容如下: Restoring "/u01/app/oracle/11.2.0/db_1" to the state prior to running NApply... Checking if OPatch needs to invoke 'make' to restore some binaries... Make failed to invoke "/usr/bin/make -f ins

安装了VS2010 sp1 后再安装ASP.NET MVC 3.0的问题(Final Result: Installation failed with error code: (0x80070643), &quot;安装时发生严重错误 &quot; (Ela)

原文:安装了VS2010 sp1 后再安装ASP.NET MVC 3.0的问题(Final Result: Installation failed with error code: (0x80070643), "安装时发生严重错误 " (Ela) 安装了VS2010 sp1 后再安装ASP.NET MVC 3.0的问题(Final Result: Installation failed with error code: (0x80070643), "安装时发生严重错误 &qu

(C++) Assertion failed: !&quot;Bad error code&quot;, file VMem.c, line 715

(C++) Assertion failed: !"Bad error code", file VMem.c, line 715 Misc error. Full error message Assertion failed: !"Bad error code", file VMem.c, line 715 View a screenshot of this error message Cause IDE: C++ Builder 6.0 Project type: