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

转载于:https://www.cnblogs.com/bwdata/p/3844862.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值