Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inodes vs Blocks

Status
Not open for further replies.

JohnKeck

MIS
Jul 21, 1999
3
US
Our system is on HP-UX v10.2. When I do a df -v, my /apps drive shows as 84% full; when I do a bdf, it shows as 94% full. I'm not too concerned because from what I can gather, the bdf command doesn't include free inodes; however, I'd like to make sure that I understand exactly what inodes are before I dismiss it altogether. (I realize that 84% is still high, but we're planning on replacing the file server in 3-6 months anyway). Thanks!!
 
inodes (identification nodes) are a method by which the filesystem keeps tabs on blocks and their content. In effect, they are entities of a table that contains a list of filenames and their associated starting block location. <br>
<br>
Inodes are more important then, than blocks as if you run out of inodes before you run out of blocks (chunks of disk) you can't use the rest of those blocks, as the filesystem has no way of referencing them.
 
John,<br>
<br>
The other gotcha may be if /apps is a JFS formatted file system. I've found that JFS is flakey when reporting free space in a bdf. We had 2gb Oracle data files (which hadn't been filled up in Oracle yet) and a JFS bdf reported that the 2 gb file system still had free space.<br>
<br>
I don't know of workarounds short of doing rough calculations by hand with something like du.<br>
<br>
slars
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top