备份 文件 到 disk (继续上次的试验) (二)

来源:互联网 发布:无权限新建数据库 编辑:程序博客网 时间:2024/06/07 10:11

今天继续 上次的测试:
备份到disk 上,报错:

ANS1228E Sending of object '/shp' failed
ANS1311E Server out of data storage space

ANS1999E Selective processing of '/shp' stopped.

检查一下:

sm: TSM_SVR1>q stg

Storage         Device          Estimated       Pct       Pct     High     Low     Next Stora-
Pool Name       Class Name       Capacity      Util      Migr      Mig     Mig     ge Pool   
                                                                   Pct     Pct    
-----------     ----------     ----------     -----     -----     ----     ---     -----------
ARCHIVEPOOL     DISK                5.0 M       0.0       0.0       90      70                                                                                                        
ATM_DISK_P      DISK                0.0 M       0.0       0.0       90      70               
ATM_TAPE_P      LTO2                0.0 M       0.0       0.0       90      70               
BACKUPPOOL      DISK               10.0 M       0.1       0.0       90      70               

tsm: TSM_SVR1>q v

Volume Name                  Storage         Device         Estimated       Pct      Volume
                             Pool Name       Class Name      Capacity      Util      Status
------------------------     -----------     ----------     ---------     -----     --------
/opt/tivoli/tsm/server/-     ARCHIVEPOOL     DISK               5.0 M       0.0     On-Line
 bin/archive.dsm                                                                           
/opt/tivoli/tsm/server/-     BACKUPPOOL      DISK              10.0 M       0.1     On-Line
 bin/backup.dsm                                                                            
CO0001                       BA_TAPE_PO-     LTO2               1.0 G       0.0     Filling
                              OL                                                           
CO0002                       BA_TAPE_PO-     LTO2               1.0 G       0.0     Filling

发现确实没有在硬盘上,没有可疑存放文件的tsm 文件,原来,disk 也得建 volume:

tsm: TSM_SVR1>define volume atm_disk_p /opt/tivoli/tsm/server/bin/atm_bk.dsm formatsize=100
ANR2491I Volume Creation Process starting for /opt/tivoli/tsm/server/bin/atm_bk.dsm, Process Id 2.
ANS8003I Process number 2 started.

tsm: TSM_SVR1>q request
ANR8346I QUERY REQUEST: No requests are outstanding.
ANS8001I Return code 11.

tsm: TSM_SVR1>q v

Volume Name                  Storage         Device         Estimated       Pct      Volume
                             Pool Name       Class Name      Capacity      Util      Status
------------------------     -----------     ----------     ---------     -----     --------                                                                        
/opt/tivoli/tsm/server/-     ATM_DISK_P      DISK             100.0 M       0.0     On-Line
 bin/atm_bk.dsm                                                                            
 
下面开始备份:
备份成功:

Selective Backup processing of '/shp' finished without failure.

检查一下备份情况:
[root@localhost bin]# ./dsmc q backup /shp -inactive -subdir=yes

           Size        Backup Date                Mgmt Class           A/I File
           ----        -----------                ----------           --- ----
         4,096  B  04/03/2008 07:27:14           MG_ATM_DAILY           I  /shp
[root@localhost bin]# date
Thu Apr  3 07:28:24 EDT 2008

原创粉丝点击