Incident 1542 ( PArtition 80%full ( Resoursce 1 )

Post Reply
kisanbhai

Incident 1542 ( PArtition 80%full ( Resoursce 1 )

Post by kisanbhai »

Hello,

I have this incident " Incident 1542 - Partition 6 is 80 % full ( Resource 1) and on some PABX, it is Resource-2.

Though I got the solutions in the post here, which i would try, just wanted to know what does these Resource-1 or Resource-2 means. Are they related to Main & Standby CPU incase of duplicated CPU system.

Thanks.
krzysioD

Re: Incident 1542 ( PArtition 80%full ( Resoursce 1 )

Post by krzysioD »

incinfo is your friend.
imvho - one is free space, the other one are inodes (the index place for files - in the 99.999% one file is one inode).
download the latest patch for your release - it's quite old bug.
kisanbhai

Re: Incident 1542 ( PArtition 80%full ( Resoursce 1 )

Post by kisanbhai »

krzysioD wrote:incinfo is your friend.
imvho - one is free space, the other one are inodes (the index place for files - in the 99.999% one file is one inode).
download the latest patch for your release - it's quite old bug.

Hi KrzsioD,
Mine is a R9.0 -Patch-12.
I found one post about the same incident, which advice
1 :- To edit /usr4/incid/logrotate.status and change the year from e.g.1992 to 2010.
2 :- To clean up mailqueue: find /var/spool/mqueue -name '*f*'|xargs rm -v

with df -i command i could see that I have too many files in /var/spool/mqueue. All the files start with df. I tried to use '*f*'|xargs rm -v, but it returned with " Argument tool long" error. I also tried to delete with rm -- df*.*, but it dfasedrdf- permission denied. Can i directly use rm *.* in /var/spool/mqueue.I hope i will not delete all other inportant files, if any.
secondly, could you please let me know how to edit logrotate.status.

Thanks
User avatar
enio.eltz
Senior Member
Posts: 1058
Joined: 28 Jul 2009 09:48
Location: Taquara - RS - Brazil

Re: Incident 1542 ( PArtition 80%full ( Resoursce 1 )

Post by enio.eltz »

Hi

I used the following command:

find /var/spool/mqueue '*f*' |xargs rm -v

And the files were removed. Try this way.

Regards.
Enio Eltz Filho
ACFE OXE R12
ACFE OXO C R3
krzysioD

Re: Incident 1542 ( PArtition 80%full ( Resoursce 1 )

Post by krzysioD »

kisanbhai wrote: Mine is a R9.0 -Patch-12.
with df -i command i could see that I have too many files in /var/spool/mqueue. All the files start with df. I tried to use '*f*'|xargs rm -v, but it returned with " Argument tool long" error. I also tried to delete with rm -- df*.*, but it dfasedrdf- permission denied. Can i directly use rm *.* in /var/spool/mqueue.I hope i will not delete all other inportant files, if any.
secondly, could you please let me know how to edit logrotate.status.
some linux/unix training
the editor is imvho 'vi' - its a book about it, but basics are covered in so many places that i would not even try to explain. It's like notepad with no GUI but with macros that are more powerful that winword.exe.
i'm afraid that, there is no 'simple' editor on this PBX, so find a linux guy, he will show you in 10 minutes.
you know xargs magic word, but no 'find' magic word, imvho:

Code: Select all

find /var/spool/mqueue  -name '*f*' |xargs rm -v 
same here: linux guru to be asked what's going on underneath

Code: Select all

rm * 
will gave the very same thing: argument list too long.
and yes: you COULD destroy a lot, if you don't know what's going on. Make a backup - at least !
and second yes: you could upgrade to the lattest patch, ALU resolves some trouble with new patches.
Renato Miranda

Re: Incident 1542 ( PArtition 80%full ( Resoursce 1 )

Post by Renato Miranda »

I'm having the same problem and am unable to resolve.

1542=Partition 6 is 85 per cent full (resource 1).

(1)thomson> df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/hda5 128016 16492 111524 13% /
/dev/hda9 128256 1559 126697 2% /usr2
/dev/hda10 128256 3632 124624 3% /usr3
/dev/hda12 544000 1590 542410 1% /usr4
/dev/hda15 256512 125 256387 1% /usr7
/dev/hda8 102800 223 102577 1% /var
(1)thomson> df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda5 485M 93M 367M 21% /
/dev/hda9 985M 360M 575M 39% /usr2
/dev/hda10 985M 141M 794M 16% /usr3
/dev/hda12 4.1G 127M 3.8G 4% /usr4
/dev/hda15 2.0G 71M 1.8G 4% /usr7
/dev/hda8 388M 312M 57M 85% /var

I used the command: find /var/spool/mqueue '*f*' |xargs rm -v but no solved problem
User avatar
tgn
Member
Posts: 803
Joined: 30 Dec 2009 17:59
Location: Germany

Re: Incident 1542 ( PArtition 80%full ( Resoursce 1 )

Post by tgn »

what about this...

find /var/spool/mqueue -name '*f*' -exec rm -iv '{}' \;

remove the option 'i' from rm if you are sure what you are doing...

regards...
--- back to basics... focus your eyes to the essential things... ---
Post Reply

Return to “MAIN”