码迷,mamicode.com
首页 > 其他好文 > 详细

Backup failed with error code 2009

时间:2014-07-16 18:59:05      阅读:284      评论:0      收藏:0      [点我收藏+]

标签:des   style   http   os   art   for   

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,布布扣,bubuko.com

Backup failed with error code 2009

标签:des   style   http   os   art   for   

原文地址:http://www.cnblogs.com/bigsesame/p/3844862.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!