Re: Increasing or Freeing inodes

2010-03-17 Thread Mike Bird
On Wed March 17 2010 17:34:50 Mike Bird wrote:
> (1) You don't have an inode shortage.  You have 99%/89%/99% inodes free.
> (2) You can confirm this with "df -i".
> (3) Hardlinks do not consume any inodes, only directory space.
> (4) You're short of blocks (not inodes) on your 6GB root drive.
> (5) "du -x --max-depth=1 /" may help to show what is using those 6GB.

Correction: (4) and (5) should of course say 564GB, not 6GB.  6GB is
the (approx 1%) free space remaining.

--Mike Bird


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201003171742.45724.mgb-deb...@yosemite.net



Re: Increasing or Freeing inodes

2010-03-17 Thread Mike Bird
On Wed March 17 2010 03:38:27 Siju George wrote:
> I got this warning from nagios about one of my debian systems
>
> DISK WARNING - free space: /var 426 GB (54% inode=99%): / 6 GB (1%
> inode=89%): /boot 173 GB (99% inode=99%):
>
> I am runnig backuppc on this server and I guess it is those hardlinks
> that are consuming the inodes.

(1) You don't have an inode shortage.  You have 99%/89%/99% inodes free.
(2) You can confirm this with "df -i".
(3) Hardlinks do not consume any inodes, only directory space.
(4) You're short of blocks (not inodes) on your 6GB root drive.
(5) "du -x --max-depth=1 /" may help to show what is using those 6GB.

--Mike Bird


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201003171734.50354.mgb-deb...@yosemite.net



Re: Increasing or Freeing inodes

2010-03-17 Thread Paul E Condon
On 20100317_222432, Siju George wrote:
> On Wed, Mar 17, 2010 at 9:14 PM, Stefan Monnier
>  wrote:
> >> I am runnig backuppc on this server and I guess it is those hardlinks
> >> that are consuming the inodes.
> >
> > hardlinks do not use inodes (they only use up space in the directory in
> > which they appear).  But every symlink and every directory does use an
> > inode.
> >
> 
> Oh! Any idea how i can find why the inodes got used up while there is
> around 50% of free space in the partition?
> 
> DISK WARNING - free space: /var 426 GB (54% inode=99%): / 6 GB (1%
> inode=89%): /boot 173 GB (99% inode=99%):
> 

This is somewhat brute force, but might give you an idea of what is happening:

# find  -ls |less

You will get an unsorted list of all in-use inodes and what they are being
used for (I think). Scan it looking for clues to source of your problem.
Or, maybe, send output of find command to a file and sort the file by some
plausible criterion and then look at result with less. You might find a lot
of soft links and learn something from their names, which might give you
a clue to how to fix.

HTH
-- 
Paul E Condon   
pecon...@mesanetworks.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100317230038.ga7...@big.lan.gnu



Re: Increasing or Freeing inodes

2010-03-17 Thread Siju George
On Wed, Mar 17, 2010 at 9:14 PM, Stefan Monnier
 wrote:
>> I am runnig backuppc on this server and I guess it is those hardlinks
>> that are consuming the inodes.
>
> hardlinks do not use inodes (they only use up space in the directory in
> which they appear).  But every symlink and every directory does use an
> inode.
>

Oh! Any idea how i can find why the inodes got used up while there is
around 50% of free space in the partition?

DISK WARNING - free space: /var 426 GB (54% inode=99%): / 6 GB (1%
inode=89%): /boot 173 GB (99% inode=99%):

thanks

--Siju


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/b713df2c1003170954x52509aefj33f7695f060e6...@mail.gmail.com



Re: Increasing or Freeing inodes

2010-03-17 Thread Stefan Monnier
> I am runnig backuppc on this server and I guess it is those hardlinks
> that are consuming the inodes.

hardlinks do not use inodes (they only use up space in the directory in
which they appear).  But every symlink and every directory does use an
inode.


Stefan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/jwvvdcv7y4w.fsf-monnier+gmane.linux.debian.u...@gnu.org



Re: Increasing or Freeing inodes

2010-03-17 Thread Stan Hoeppner
Tom H put forth on 3/17/2010 7:25 AM:
>> I got this warning from nagios about one of my debian systems
>> DISK WARNING - free space: /var 426 GB (54% inode=99%): / 6 GB (1%
>> inode=89%): /boot 173 GB (99% inode=99%):
>> I am runnig backuppc on this server and I guess it is those hardlinks
>> that are consuming the inodes.
>> Is there any way to increase the inode nos?
> 
> If this is extX, AFAIK you have to back up you data, re-run mkfs with
> "-N " to change the inode count, and restore your data.

May as well use "mkfs.xfs" instead, and never have to worry about inodes
again.  XFS uses variable inodes and thus never runs out.

-- 
Stan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ba0d8f6.7000...@hardwarefreak.com



Re: Increasing or Freeing inodes

2010-03-17 Thread Javier Barroso
On Wed, Mar 17, 2010 at 1:35 PM, Siju George  wrote:
> On Wed, Mar 17, 2010 at 5:55 PM, Tom H  wrote:
>>
>> > I got this warning from nagios about one of my debian systems
>> > DISK WARNING - free space: /var 426 GB (54% inode=99%): / 6 GB (1%
>> > inode=89%): /boot 173 GB (99% inode=99%):
>> > I am runnig backuppc on this server and I guess it is those hardlinks
>> > that are consuming the inodes.
>> > Is there any way to increase the inode nos?
>>
>> If this is extX, AFAIK you have to back up you data, re-run mkfs with
>> "-N " to change the inode count, and restore your data.
>>
>
> Thanks
>
> How do I find the No. of inodes left for me to use?
df -i

Which filesystem is better for partitions which are going to host too
many hard links ? I always use ext3, but I think it is slow in system
with many hard links, i don't known if other filesystems are better.
A fast google search didn't find any response to this question

Thank you very much !


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/81c921f31003170551o1d0e7f2l3a75c7174e1d6...@mail.gmail.com



Re: Increasing or Freeing inodes

2010-03-17 Thread Siju George
On Wed, Mar 17, 2010 at 5:55 PM, Tom H  wrote:
>
> > I got this warning from nagios about one of my debian systems
> > DISK WARNING - free space: /var 426 GB (54% inode=99%): / 6 GB (1%
> > inode=89%): /boot 173 GB (99% inode=99%):
> > I am runnig backuppc on this server and I guess it is those hardlinks
> > that are consuming the inodes.
> > Is there any way to increase the inode nos?
>
> If this is extX, AFAIK you have to back up you data, re-run mkfs with
> "-N " to change the inode count, and restore your data.
>

Thanks

How do I find the No. of inodes left for me to use?

Thanks

--Siju


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/b713df2c1003170535i4e5773b3jd56182fb4106a...@mail.gmail.com



Re: Increasing or Freeing inodes

2010-03-17 Thread Tom H
> I got this warning from nagios about one of my debian systems
> DISK WARNING - free space: /var 426 GB (54% inode=99%): / 6 GB (1%
> inode=89%): /boot 173 GB (99% inode=99%):
> I am runnig backuppc on this server and I guess it is those hardlinks
> that are consuming the inodes.
> Is there any way to increase the inode nos?

If this is extX, AFAIK you have to back up you data, re-run mkfs with
"-N " to change the inode count, and restore your data.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/6d4219cc1003170525o10565b29s2323280f0f8b2...@mail.gmail.com