HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Optimal snapshot size
Operating System - HP-UX
1826523
Members
4095
Online
109695
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2006 02:25 AM
04-04-2006 02:25 AM
We use the VxFS snapshot feature during our nightly dataprotector backup. Last night the snapshot file system ran out of space, causing the snapshot to become disabled. How would I go about determining either the optimal snapshot size or the true contents of the snapshot (those files that differ from the source)? Thanks.
msgcnt 1 vxfs: mesg 028: vx_snap_alloc - /dev/eva2/dnx_snap snapshot file system out of space
msgcnt 2 vxfs: mesg 032: vx_disable - /dev/eva2/dnx_snap snapshot file system disabled
msgcnt 1 vxfs: mesg 028: vx_snap_alloc - /dev/eva2/dnx_snap snapshot file system out of space
msgcnt 2 vxfs: mesg 032: vx_disable - /dev/eva2/dnx_snap snapshot file system disabled
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2006 02:30 AM
04-04-2006 02:30 AM
Re: Optimal snapshot size
Realistically, you should prepare for any eventuality that you snapshot may become as large as your source filesystem. More so to mitigate the risks during backups - make sure during your snapshot "window" that no significant filesystem activity (changes) occur. If they do or has the potential -- then prepapre your snapshots such that they have the potential to grow as big as the original...
Hakuna Matata.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2006 02:43 AM
04-04-2006 02:43 AM
Re: Optimal snapshot size
If you do incremental backups, a little more of the size of the backed up data should be the size of your snapshot. If you don't do incremental backups, you can do test incremental backups to get statistics about the amount of modified data.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2006 02:53 AM
04-04-2006 02:53 AM
Solution
The tools supplied directly from Veritas have the ability to actually examine the snapshot buffer usage; the tools supplied in the OEM'ed version of vxfs do not have that ability. The size of the snapshot buffer depends upon two factors: 1) The activity of the original filesystem during the snapshot; 2) the duration of the snapshot. In principle, you could do a block by block read of each file in the two filesystems and gather your data but that seems impractical.
In practice, I have never needed a snapshot buffer larger than about 25% of the original but my backups are finished in about 4 hours and 15% is more typical. Note that only the first update/write of an original block need be written to the snapshot buffer so that the maximum buffer size would be 100% of the original.
One other "gotcha" that is far from obvious is that the logical device that houses the snapshot buffer should be mirrored or otherwise highly available because if the snapshot buffer becomes unavailable, the original filesystem will hang.
In practice, I have never needed a snapshot buffer larger than about 25% of the original but my backups are finished in about 4 hours and 15% is more typical. Note that only the first update/write of an original block need be written to the snapshot buffer so that the maximum buffer size would be 100% of the original.
One other "gotcha" that is far from obvious is that the logical device that houses the snapshot buffer should be mirrored or otherwise highly available because if the snapshot buffer becomes unavailable, the original filesystem will hang.
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP