tsm 只读模式修改为读写

来源:互联网 发布:软件流程图实例 编辑:程序博客网 时间:2024/06/05 17:45

        最近tsm备份失败,我查看备份居然最近一段时间备份的数据全是空文件夹

        于是我执行dsm手动备份,居然报错(没有足够的空间)

        经过查看,发现磁带全部为只读

查看全部的磁带

Y33610                       TAPEPOOL        GENCLASS             0.0       0.0      Empty 
Y33611                       TAPEPOOL        GENCLASS             0.0       0.0      Empty 
Y33612                       TAPEPOOL        GENCLASS             0.0       0.0      Empty 
Y33613                       TAPEPOOL        GENCLASS             0.0       0.0      Empty 
Y33614                       TAPEPOOL        GENCLASS             0.0       0.0      Empty 
Y33615                       TAPEPOOL        GENCLASS             0.0       0.0      Empty 
Y33616                       TAPEPOOL        GENCLASS             0.0       0.0      Empty 
Y33617                       TAPEPOOL        GENCLASS             0.0       0.0      Empty 
Y33618                       TAPEPOOL        GENCLASS             0.0       0.0      Empty 
Y33619  

一一查看,全部为readonly

修改为readwrite
update vol Y33610 access=readw
update vol Y33611 access=readw
update vol Y33612 access=readw
update vol Y33613 access=readw
update vol Y33614 access=readw
update vol Y33615 access=readw
update vol Y33616 access=readw
update vol Y33617 access=readw
update vol Y33618 access=readw
update vol Y33619 access=readw

 Volume Name: Y33619
             Storage Pool Name: TAPEPOOL
             Device Class Name: GENCLASS
       Estimated Capacity (MB): 0.0
                      Pct Util: 0.0
                 Volume Status: Empty
                        Access: Read/write
        Pct. Reclaimable Space: 0.0
               Scratch Volume?: No
               In Error State?: No
      Number of Writable Sides: 1
       Number of Times Mounted: 0
             Write Pass Number: 0
     Approx. Date Last Written:
        Approx. Date Last Read:
           Date Became Pending:
        Number of Write Errors: 0
         Number of Read Errors: 0
               Volume Location:
Last Update by (administrator): ADMIN
         Last Update Date/Time: 07/25/13   10:32:40
more...   (<ENTER> to continue, 'C' to cancel)

再执行dsm手动备份,成功

DISPLAY=192.168.1.1:1.0

export DISPLAY

dsm

经观察,第二天早上自动备份也正常。

原创粉丝点击