免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 6004 | 回复: 10
打印 上一主题 下一主题

NBU5:奇怪的96号错(已解决) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-03-13 21:11 |只看该作者 |倒序浏览
新加了全新的带,加到scratch pool\r\n在数据库备份时开始mount该带,(后vmquery也看到转到database pool)\r\n但还是报96错\r\n(以前96号错这样处理都ok)\r\n\r\n连加了几盒新带同样如此\r\n用tpclean清洗了驱动器还是不行\r\n\r\nbperror看到信息如下1,请教可能是什么问题导致\r\n那个Error(0x10) MediaDev(0x84) bptm在troublehooting的对应什么代码?0x10 0x84?\r\n\r\n\r\nbperror看到的该job信息如下:\r\n===========================\r\n03/13/2008 20:41:29 V1 S:gdclaf C:gdgrp01 J:484501 (U:484501,0)\r\n  Info(0x4) Backup(0x4) bpsched\r\n  added backup job (jobid=484501) for client gdgrp01, policy D_gdgrp01,\r\n  schedule Default-Application-Backup part 0 to NetBackup scheduler work queue\r\n\r\n03/13/2008 20:41:31 V1 S:gdclaf C:gdgrp01 J:484501 (U:484501,0)\r\n  Info(0x4) Backup(0x4) bpsched\r\n  started backup job for client gdgrp01, policy D_gdgrp01, schedule\r\n  Default-Application-Backup on storage unit gdgrp01-hcart2-robot-tld-0\r\n\r\n03/13/2008 20:41:34 V1 S:gdclaf C:gdgrp01 J:484501 (U:484501,0)\r\n  Info(0x4) Backup(0x4) bpsched\r\n  client gdgrp01 handling path /orange_tcp/100/4807\r\n\r\n03/13/2008 20:53:47 V1 S:gdgrp01 C:gdgrp01 J:484501 (U:484501,0)\r\n  Error(0x10) MediaDev(0x84) bptm\r\n  FREEZING media id B002L2, it is unmountable and cannot be used for backups\r\n\r\n03/13/2008 20:53:48 V1 S:gdgrp01 C:gdgrp01 J:484501 (U:484501,0)\r\n  Error(0x10) MediaDev(0x84) bptm\r\n  Media Manager volume pool database has no more unassigned media in robotic\r\n  device TLD(0)\r\n\r\n03/13/2008 20:53:52 V1 S:gdgrp01 C:gdgrp01 J:484501 (U:484501,0)\r\n  Info(0x4) BackStat(0x44) bpsched\r\n  CLIENT gdgrp01  POLICY D_gdgrp01  SCHED Default-Application-Backup  EXIT\r\n  STATUS 96 (unable to allocate new media for backup, storage unit has none\r\n  available)\n\n[ 本帖最后由 huguozhi 于 2008-3-17 13:59 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2008-03-14 09:55 |只看该作者
如果磁带没有问题,我猜是条码不匹配。

论坛徽章:
0
3 [报告]
发表于 2008-03-14 10:29 |只看该作者
谢谢两位。\r\n\r\n请问什么叫barcode不匹配呢?\r\n加了新带后做了Inventory 也认到了\r\n以前96号带不够 都这么处理,没问题的\r\n\r\n是不是通讯方面或驱动器问题?\r\n主要是0x84代码在哪查?troubleshooting也看不到头绪

论坛徽章:
0
4 [报告]
发表于 2008-03-14 10:37 |只看该作者
bperror看到的media信息:\r\n#bperror -media看最近media情况如下(mediaid=B002L2)\r\n03/13/2008 20:53:47 gdgrp01 gdgrp01  FREEZING media id B002L2, it is unmountable\r\n                    and cannot be used for backups\r\n03/13/2008 20:53:48 gdgrp01 gdgrp01  Media Manager volume pool database has no\r\n                    more unassigned media in robotic device TLD(0)\r\n\r\n\r\n在java界面\r\n20:41:35  started procedd bpbrm (pid=909)\r\n20:41:35  connecting\r\n20:46:15 started procedd bptm(pid=919)\r\n20:41:38 connected;connecttime 0:00:00\r\n20:41:40 mounting B002L2\r\n20:58:25 Error bptm(pid=919) FREEZING media id B002L2,it is unmountable and cannot be used for backups\r\n20:58:25 Error bptm(pid=919) Media Manager volume pool databases has no more unassigned  media in robot device TLD(0)\r\n20:53:51 end writing\r\n\r\nunbale to allocate new media for backup,storage unit has none available(96)\r\n\r\n\r\n96号错就是没带可用了,但mount了那么久,然后报没带\r\n而且换了几盒新带均如此 郁闷阿\n\n[ 本帖最后由 huguozhi 于 2008-3-14 10:40 编辑 ]

论坛徽章:
0
5 [报告]
发表于 2008-03-14 11:02 |只看该作者
databases里头的磁带都还能用吗?\r\n看看/opt/openv/netbackup/bin/goodies/available_media的结果

论坛徽章:
0
6 [报告]
发表于 2008-03-14 11:14 |只看该作者
关注一下.\"barcode不匹配是说你的条形码可能识别的有问题...\"个人理解...

论坛徽章:
1
CU十二周年纪念徽章
日期:2013-10-24 15:41:34
7 [报告]
发表于 2008-03-14 13:07 |只看该作者
磁带是不是以前被其他软件用过?如果是将NBU中允许覆盖的属性选上,或者将有问题的磁带做label,然后再备份。

论坛徽章:
0
8 [报告]
发表于 2008-03-16 21:26 |只看该作者
看看磁带的类型和磁带机的类型是不是不一致?也就是和mapping说到的意思是一样的。

论坛徽章:
0
9 [报告]
发表于 2008-03-17 09:03 |只看该作者
多谢大家 问题解决了\r\n\r\n#ioscan -fnCtape的磁带机路径与\r\n#tpconfig -l显示的磁带机路径不一致。\r\n\r\n通过下面sh在MediaServer上运行解决:\r\n#!/bin/sh\r\n# adddrive.sh\r\n# add NBU driver \r\nexport PATH=$PATH:/usr/openv/volmgr/bin\r\n\r\n# delete old driver\r\ntpconfig -l|grep drive| awk \'{print \"tpconfig -delete -drive \" $3}\'|sh\r\n\r\n# add new driver beyond ioscan\r\nioscan -fnkCtape|awk \'BEGIN { iii=0} /CLAIMED.*Ultrium 2/ {iii=iii+1;getline;getline;printf( \"tpconfig -add -drive -type hcart2 -path %s -asciiname HPUltrium2-SCSI%d -index %d -shared yes -drstatus UP -robot 0 -robtype tld -robdrnum %d;sleep 1\\n\", $4, iii,iii,iii)}\'|sh\r\n\r\n# reboot ltid\r\n/usr/openv/volmgr/bin/stopltid\r\n/usr/openv/volmgr/bin/ltid

论坛徽章:
0
10 [报告]
发表于 2008-03-17 14:00 |只看该作者
虽然已解决  但奇怪:\r\n\r\nMediaServer端tpconfig -l看到的与ioscan -fnCtape看到的磁带机路径不一致 \r\n\r\n数据库逻辑日志不能mount带,导致FREEZE带;\r\n但为什么文件系统可以备份呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP