check number of inodes

David Jenkins david.jenkins at gmail.com
Tue Oct 12 14:31:43 PDT 2004


On Tue, 12 Oct 2004 17:20:12 -0400, Bob Ababurko <smtpgeek at gmail.com> wrote:
> Hello-

Hi Bob,

> 
> I just recieved an error in my logs..or a truck load actually, that
> says that I ran out of inodes in my /var partition.  What command can
> I use to determin the munber of inodes the partition was created with
> per 4k or whatever it is?
> 

man 1 df

[hint: df -i]

> Also can someone lead me to a site or give me some advice on how I
> would reformat this partition?  My logic thus far tells me to copy the
> existing partion over to another partition and then reformat the
> partition, then newfs using the proper switch to give me more than
> enough inodes, which I will figure out after I anwser the first
> question that I have.  Actually, maybe I do not have to reformat....do
> I?  How does one reformat in FreeBSD?  It is format in solaris....so
> it probably not the command ;)

I think perhaps you should read this.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-adding.html

PS - It's worth reading the handbook!

Hope this helps.

David


More information about the freebsd-questions mailing list