The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-29-2001
sam_pointer sam_pointer is offline
Registered User
  
 

Join Date: Jun 2001
Posts: 35
df and bdf discrepencies

[HP-UX 10.20 with latest GR from hp installed]

I've recently had some space problems on one of our old HP9000 machines. I archived/moved/compressed/trashed some stuff to free up some space on one rather large (and important) logical volume.

As one would expect, when `df -b` is executed some space is shown as free:

/opt (/dev/vg00/lvol5 ) : 509218 Kbytes free

However, space problems are still reported on this volume. Trying another tact I execute `bdf` to ensure that space really has been freed up:

Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol5 6866069 6356851 0 100% /opt

hmmm. Now I deleted the stuff by hand, and the figure reported by 'df -b' sounds ok. To further complicate things,
plain 'ol `df` reports:

/opt (/dev/vg00/lvol5 ): 0 blocks 1020265 i-nodes

And I should add the fsck reports that all is hunky-dory.....

(a) can anybody give me some idea of what is going on
(b) how can I resolve this so that me free space is recognised?

*any* help appreciated and further information supplied on request. Thanks.
  #2 (permalink)  
Old 10-29-2001
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,119
Unix requires that 10% of the disk remain free to insure that files are allocated efficiently. You have used everything that you can on that fs.

bdf says that you have 6866069 total with 6356851 in use. df says that 509218 are free. Those numbers add up.

root can allocate the rest of the disk but non-root users cannot. If root does that, bdf will report the disk at 111% full.

You simply need to free up more space or make /opt larger.

You could use tunefs to change minfree on the volume. Expect system performance to suffer if you do.
  #3 (permalink)  
Old 10-29-2001
sam_pointer sam_pointer is offline
Registered User
  
 

Join Date: Jun 2001
Posts: 35
of course! Thankyou...
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:50 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0