snapshot error encountered(156) for NBU6.5.5

本文介绍了解决NetBackup备份过程中出现的状态码156错误的方法。此错误通常发生在使用VSP或VSS进行开放文件备份时,主要原因是缓存文件空间不足。文章提供了禁用开放文件备份及调整缓存大小的详细步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Document ID: 276739
http://support.veritas.com/docs/276739
STATUS CODE: 156 "snapshot error encountered" occurs when utilizing VSP or VSS for open file backups.

Exact Error Message
snapshot error encountered (156)
Details:
Overview:
STATUS CODE: 156 "snapshot error encountered" occurs when utilizing VERITAS Volume Snapshot Provider (VSP) or Microsoft Volume Shadow Copy Service (VSS) for a client backup.[@more@]

Troubleshooting:
If a backup on a Windows NetBackup (tm) 5.0 or later client fails with status code 156, this indicates that the client is using Windows Open File Backups to protect open or active files. The volume "snapshot" that occurs to facilitate open file backup has failed. This failure is often caused by the VSP/VSS cache file running out of allocated space.

Master Log Files: N/A

Media Server Log Files: N/A

Client Log Files:
bpbkar
6:00:14.156 AM: [452.976] <2> tar_base::V_vTarMsgW: ERR - Snapshot Error while reading file: Volume{43877774-d2zz-4rar-r5id-fg9i49fuje7815}AccountsAkerfeldtdataAmm.txt
6:00:14.171 AM: [452.976] <2> tar_base::V_vTarMsgW: FTL - Backup operation aborted!
6:00:14.218 AM: [452.976] <2> tar_base::V_vTarMsgW: INF - EXIT STATUS 156: snapshot error encountered


Resolution:
Firstly, if Open file backups are not desired for the client, disable them. This will decrease the resources used by the client during backup and resolve any Status 156 errors. The default NetBackup install options are to have open file backups enabled.

To confirm if VSS or VSP open file backups are activated:
1. Within the NetBackup Administration Console, expand Host Properties in the hand pane
2 . Within Host Properties, click Master Server and then the double-click the name of the Master Server in the right pane
3 . Click on the Client Attributes section
4 . If the client in question is listed here, click on the client name. If it is not listed, add and click on the client name.
5. Click the Windows Open File Backup tab
6. Ensure that Enable Windows Open File Backups for this client is not selected if open file backups are not required

If open file backup functionality is needed, the most common cause for snapshot errors is cache file configuration. The steps on changing this depend on whether VSP or VSS is used as the Snapshot Provider.

If VSP is being used as the snapshot provider:
Access the Host Property settings for VSP:
1. Within the NetBackup Administration Console, expand Host Properties in the left pane
2. Within Host Properties, click Clients and then double-click the name of the client in the right pane
3. Expand the Windows Client section and click on VSP to display cache settings

Make sure the Customize the cache sizes check box is not selected. With this not selected, NetBackup automatically determines the best VSP cache file sizes. In most cases, NetBackup will be able to create a large enough VSP cache file for backups if this is not selected.

If errors still occur with this not selected, it is possible to increase the initial VSP cache size and maximum VSP cache size manually. These settings vary depending on the client's requirements. Use caution when manually specifying sizes for the Initial and Maximum Cache Size, since these settings will be used regardless of volume size.

Refer the NetBackup System Administrator's Guide for more information on changing the configuration of VSP cache file sizes. If backups still abort with error status 156 after making changes to the VSP cache file size configuration, there may not be enough free disk space on the affected client. Free up as much disk space on the drives of the affected client as possible.

For Volume Shadow Copy (VSS) (Windows 2003 Only):
Use the following steps to increase the cache size when VSS is used on Windows 2003 Server clients.
1. In Windows, right-click My Computer and select Manage
2. In the console tree, right-click Shared Folders, select All Tasks, and then Configure Shadow Copies
3. Select the volume on which to make changes, and then click the Settings button
4. 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


Products Applied:
NetBackup Enterprise Server 5.0, 5.1
NetBackup Server 5.0, 5.1
Last Updated: May 10 2005 10:02 AM GMT
Expires on: 365 days from publish date
Subscribe Via E-Mail IconSubscribe to receive critical updates about this document

Subjects:
NetBackup Enterprise Server
Application: Backup
Best Practice: Backup, Configuration
NetBackup Server
Application: Backup
Best Practice: Backup, Configuration

Languages:
English (US)

Operating Systems:
Windows 2000

Advanced Server, Datacenter Server, Server

Windows NT

4.0 Server SP6a

Windows Server 2003

DataCenter, Enterprise Server, Standard Server

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/789833/viewspace-1038374/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/789833/viewspace-1038374/

根据您提供的错误消息,出现了一个问题:无法通过名称为`new-snapshot-demo`的VolumeSnapshot获取数据源类型的处理程序,因为该快照尚未绑定。 出现这个错误的原因可能是由于以下几个可能的情况: 1. VolumeSnapshot未正确创建或绑定:请确保使用正确的命令和参数创建了名为`new-snapshot-demo`的VolumeSnapshot,并确保它已成功绑定到相应的存储卷。 2. 快照绑定过程中出现问题:如果在创建快照时遇到错误,可能会导致快照无法正确绑定。请检查创建快照的过程中是否存在任何错误,并根据需要重新创建快照。 3. 存储后端问题:某些存储后端可能不支持VolumeSnapshot功能。请确保您使用的存储后端已经正确配置和支持VolumeSnapshot。 解决此问题的一种方法是重新创建快照并确保它正确绑定到存储卷。您可以执行以下操作: 1. 删除名为`new-snapshot-demo`的VolumeSnapshot: ``` kubectl delete volumesnapshot new-snapshot-demo ``` 2. 重新创建名为`new-snapshot-demo`的VolumeSnapshot: ``` kubectl apply -f <snapshot配置文件> ``` 确保在快照配置文件中指定了正确的StorageClass和其他必要的参数。 3. 检查新创建的快照是否已正确绑定: ``` kubectl get volumesnapshot new-snapshot-demo ``` 确保在输出中看到快照,并检查其绑定状态。 如果问题仍然存在,请提供更多详细信息以便进一步帮助您解决问题。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值