- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Free block count set to 0 on an almost empty drive
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
01-15-2007 12:09 PM
01-15-2007 12:09 PM
Free block count set to 0 on an almost empty drive
Unfortunately, a misguided soul immediately ran $ANAL/DISK/REPAIR on them before I could save them for posterity. The ANAL/REPAIR worked, i.e. discovered the wrong free block count and fixed it.
Has anybody seen anything like that before?
The volumes are initialized with /LIMIT qualifier, enabling their extension using $SET VOLUME/SIZE
Can one screw it up like that using $SET/VOLUME/SIZE improperly? Any other possible reasons for this scary behaviour?
Thanks for any insights!
Ziggy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2007 01:53 PM
01-15-2007 01:53 PM
Re: Free block count set to 0 on an almost empty drive
ps: SET VOLUME/REBUILD=FORCE is a less intrusive method to fix free block drift than ANAL/DISK/REPAIR.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2007 03:42 PM
01-15-2007 03:42 PM
Re: Free block count set to 0 on an almost empty drive
Although the free block count is *usually* accurate, you can't depend on it being "perfect" at all times. You may even be able to capture times when the number reported for a particular disk is different between nodes.
In some senses the number displayed by SHOW DEVICE is merely cosmetic. It's not considered when attempting to allocate space on the drive. Try allocating some space. If it's there, you'll get it. Discrepancies are most *unlikely* to have anything to do with SET VOLUME. The number itself is stored in the volume allocation lock value block, with nodes adding or subtracting any allocations or deallocations when they take out the lock.
One potential scenario is if a node has just made an allocation or deallocation, then crashes, the lock value block can be lost. Other nodes have a stale value. This could have happened months or years ago, because few people ever check what SHOW DEVICE says. So, if it happens the reported number was too low, you might reach 0 early. THEN you notice.
To fix the free block count use SET VOLUME/REBUILD. If that fails, try SET VOLUME/REBUILD=FORCE, or ANALYZE/DISK/REPAIR.
Back in early V5 days, drifting free space was fairly common (it was pressure from customers to be able to correct drift that resulted in /REBUILD=FORCE). Drift could occur as a result of lock tree migration between nodes, and various other events. Although many (most?) have been fixed, guaranteeing the number is 100% accurate at all times is far more expensive than it's worth. Consider that most of the time, all you care about is there is *some* space, and the number is within an order of magnitude.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2007 07:27 PM
01-15-2007 07:27 PM
Re: Free block count set to 0 on an almost empty drive
Copy a file of substantial size to wim.lis
Then
$ open/read x wim.lis
$ sh dev d (to find how many free blocks)
$ del wim.lis.*
$ sh dev d (should give the same as in previous show command)
$ close x
$ sh dev d (now the free blocks are decreased)
Such an open file will be reported by anal/disk/rep with "wim.lis marked for delete" and nothing is repaired. If something happens to the system, the space is still allocated until you do an anal/disk/rep.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2007 05:10 AM
01-16-2007 05:10 AM
Re: Free block count set to 0 on an almost empty drive
Martin: How do I check if dynamic lock mastering is enabled? BTW, what is it?? :-)
Operator log does not show anything unususal except some Oracle DBAs doing some work (they swear they did not try to extend anything).
John: There was no crash of any kind, nor was there a cluster state transition. The block count was correct or close to correct just minutes before it suddenly went down to zero. I have a system monitoring tool (BMC Patrol), that reported the disk being 2% full at ten uneventful 5-minute intervals, and then suddenly going to 100% full, BMC issuing an alarm. So, it was not a creeping slow change, or something we did not notice before.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2007 06:03 AM
01-16-2007 06:03 AM
Re: Free block count set to 0 on an almost empty drive
If I really wanted to drill down on this and those devices were very little used, then I would mount the problem devices privately and DUMP headers in INDEXF.SYS to 'see' if a file had been there. Or maybe a DFU UNDELETE? but I suspect it is way to late for that.
fwiw,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2007 06:36 AM
01-16-2007 06:36 AM
Re: Free block count set to 0 on an almost empty drive
%ANALDISK-W-FREESPADRIFT, free block count of 0 is incorrect (RVN 1);
the correct value is 63342624
I'd say count of 0 is incorrect... 31 GB disappeared in a second! This was not a slow drift: Just a couple of minutes before the event the count was correct (I know it from monitoring software). Also, this was not a moment of instability: The zero count was not discovered for 18 hours!
There were no interactive users on the cluster at the time of the event.
Ziggy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2007 08:48 AM
01-16-2007 08:48 AM
Re: Free block count set to 0 on an almost empty drive
/Guenther
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2007 09:47 AM
01-16-2007 09:47 AM
Re: Free block count set to 0 on an almost empty drive
I do have a fairly recent update installed(UPDATE 7.0 + a whole bunch of individual fixes that add up more or less to update 8.0), but I will go to HP support site and try to find any newer stuff.
Ziggy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2007 03:42 AM
01-17-2007 03:42 AM
Re: Free block count set to 0 on an almost empty drive
We are still on 7.3-1 with the very last set of patches available if that makes any difference.