HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Get the amount used up in a snapshot (OnlineJFS)
Operating System - HP-UX
1832823
Members
3736
Online
110045
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
03-11-2011 12:57 PM
03-11-2011 12:57 PM
If I use du, it obviously does not give me the actual amount of disk space used-up in the snapshot volume because it is reporting the size of the volume that I am cloning and the size of the snapshot volume is defined as much smaller then that (unless I am not using the right option).
How can I get a (fairly) accurate account of how much disk space is being used in the snapshot volume? I want something to monitor the disk space being used as the snapshot is in progress so that I can get an idea as to the size it really needs to be (increase/decrease/leave it alone).
How can I get a (fairly) accurate account of how much disk space is being used in the snapshot volume? I want something to monitor the disk space being used as the snapshot is in progress so that I can get an idea as to the size it really needs to be (increase/decrease/leave it alone).
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2011 06:38 AM
03-12-2011 06:38 AM
Solution
The size required by the snapshot = the size of data added or modified during the lifetime of the snapshot.
If your filesystem contains mostly small files, you might get a good (conservatively high) estimate by calculating the sum of the sizes of all files whose modification time is newer than the snapshot creation time. If your filesystem contains mostly large files, this obviously won't give good results, since only some parts of the large files will have been changed.
At least back in 2002 or so, HP Support used to have a tool called "snapbdf". It would report the usage level of the snapshot volume, both in kilobytes and as a percentage. It seems to be exactly what you need. If you have a support agreement with HP, open a call and request to have it. (It was not available by default, apparently because it was a somewhat experimental tool.)
MK
If your filesystem contains mostly small files, you might get a good (conservatively high) estimate by calculating the sum of the sizes of all files whose modification time is newer than the snapshot creation time. If your filesystem contains mostly large files, this obviously won't give good results, since only some parts of the large files will have been changed.
At least back in 2002 or so, HP Support used to have a tool called "snapbdf". It would report the usage level of the snapshot volume, both in kilobytes and as a percentage. It seems to be exactly what you need. If you have a support agreement with HP, open a call and request to have it. (It was not available by default, apparently because it was a somewhat experimental tool.)
MK
MK
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP