今天发现一台服务器周备份失败,报 156 号错误。具体报错如下:
9/3/2007 2:46:11 PM - Error bpbrm(pid=5732) from client ntbtts01: ERR - failure reading file: E:\!Check\NTBTTS01_20060726.blg (WIN32 5: Unknown error)
9/3/2007 2:46:11 PM - Error bpbrm(pid=5732) from client ntbtts01: ERR - Snapshot Error while reading file: Volume{6f4c932e-3f1e-46aa-8256-e6efb6d359db}\!Check\NTBTTS01_20060726.blg
9/3/2007 2:46:11 PM - Critical bpbrm(pid=5732) from client ntbtts01: FTL - Backup operation aborted!
9/3/2007 2:48:36 PM - end writing; write time: 00:36:35
snapshot error encountered(156)
9/3/2007 2:48:37 PM - Error bpsched(pid=4420) backup of client ntbtts01 exited with status 156 (snapshot error encountered)
查看了一下官方资料,显示这和用于备份 open file 文件的 VSP 或 VSS 配置有关。NetBackup 在备份 open file 的时候,需要利用 VSP 或 VSS( VSS 只适用于 WIN2003 )生成的缓存创建一个 snapshot 文件。
登陆到服务器上发现 C 盘空间严重不足,在清理了硬盘空间后,备份成功。
附:
1. 对于 Client 上 VSP 的配置(不出问题不要随便修改,因为 NetBackup 一般会根据空间大小设定合理的 cache 大小):
NetBackup Administration Console/NetBakcup Management/Host Properties/Clients/Choose one client/Properites/Windows Client/VSP
2. 对于 Client 上的 VSS 配置
compmgmt.msc/右键 Shared Folderss 选择 All Tasks/Configure Shadow Copies/Select the volume on which to make changes, and then click the Settings button/In the Settings dialog box, change the Maximum Size setting to either No Limit or a size large enough to suit the requirements of the installation and usage of VSS