NBU删除不存在的磁带的问题
本帖最后由 asmboy001 于 2010-11-14 19:26 编辑
[root@lenovo62 ~]# available_media
media media robot robot robot side/ ret size status
ID type type # slot face level KBytes
----------------------------------------------------------------------------
CatalogBackup pool
DataStore pool
NetBackup pool
SL0400 HCART2 NONE - - - 1 16648416 ACTIVE
SL0700 HCART2 TLD 0 1 - 1 20817536 ACTIVE
SL0701 HCART2 TLD 0 2 - 4 71227424 ACTIVE
SL0702 HCART2 TLD 0 3 - - - AVAILABLE
SL0703 HCART2 TLD 0 4 - - - AVAILABLE
SL0704 HCART2 TLD 0 5 - - - AVAILABLE
SL0705 HCART2 TLD 0 6 - - - AVAILABLE
SL0706 HCART2 TLD 0 7 - - - AVAILABLE
SL0707 HCART2 TLD 0 8 - - - AVAILABLE
SL0400,sl0406磁带已经不存在了,SL070*的磁带是后来新换的
我想把SL0400删除不成功
[root@lenovo62 ~]# bpexpdate -d 0 -m sl0400
Media SL0400 is due to expire at 11/24/2010 17:23:41
Are you sure that the data on this media is not critical to
your business, and you are sure you want to delete SL0400 y/n (n)? y
invalid command parameter
[root@lenovo62 ~]# vmdelete -m sl0400
cannot delete assigned volume (92)
[root@lenovo62 ~]# bpmedialist
Server Host = lenovo62
id rl images allocated last updated density kbytes restores
vimages expiration last read <------- STATUS ------->
--------------------------------------------------------------------------------
SL0400 1 1 11/10/2010 12:27 11/10/2010 17:23 hcart2 16648416 0
0 11/24/2010 17:23 11/10/2010 12:51
SL0406 11 0 11/10/2010 12:56 11/10/2010 12:56 hcart2 0 0
0 INFINITY N/A
SL0700 1 2 11/12/2010 14:28 11/14/2010 19:16 hcart2 20817536 0
2 11/28/2010 19:16 11/14/2010 19:02
SL0701 4 1 11/12/2010 14:36 11/12/2010 14:36 hcart2 71227424 0
1 01/13/2011 14:36 11/14/2010 19:07
这个嘛原因
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
1) 先用这个命令查一下pool_number
vmquery -m SL0400
2) 然后用这个
vmquery -deassignbyid SL0400 <pool_number> 0
用bpexpdate把磁带过期了就可以删.
现在LZ是bpexpdate时出错了.
可以把image信息删掉不,然后再删除,无牙给点力,哈哈{:3_189:}
NBU里面记录SL0400 有image,所以不能删除
加 -force看看,
你环境中是不是有其他media server