1833053 Members
2663 Online
110049 Solutions
New Discussion

/opt file system

 
SOLVED
Go to solution
Norman_21
Honored Contributor

/opt file system

Hi guys,


Could any body advise, after installing the ignite utilty the
/opt file system went up to 91%
.What can be purged in there.
this is very important.
Thanks
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
15 REPLIES 15
T G Manikandan
Honored Contributor
Solution

Re: /opt file system

You can just do a

#du -k /opt |sort -nr|more


and get the descending order of MB usage of the dir's in the /opt.

check them up.
Pete Randall
Outstanding Contributor

Re: /opt file system

One thing you might consider, after examining the du -sk output, is moving Ignite or some other large application to a file system with more room, replacing it with a link to its new location.

Pete

Pete
Rajeev  Shukla
Honored Contributor

Re: /opt file system

If you dont intent to make this as an IgniteUX server then depending on your OS You can remove the SYSCMDS file inside the directory

/opt/ignite/data/Rel....

which is almost 10MB

Rajeev
Norman_21
Honored Contributor

Re: /opt file system

Thanks guys,

Pete could you please give an example.
appreciate it.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
Pete Randall
Outstanding Contributor

Re: /opt file system

Example (assumes /var has room):

mkdir /var/ignite
cd /opt/ignite
find . |cpio -pdumxl /var/ignite
rm -rf /opt/ignite
ln -s /var/ignite /opt/ignite


Pete

Pete
T G Manikandan
Honored Contributor

Re: /opt file system

I am not sure whether ignite would use much space on the /opt file system.

Might be during the time of installation the ignite /opt would have over gone the thresholds.

//The best way is to increase the /opt file system if you have enough space in the volume group//

Revert
Pete Randall
Outstanding Contributor

Re: /opt file system

Minor correcton:


mkdir /var/ignite
cd /opt/ignite
find . |cpio -pdumxl /var/ignite
cd /
rm -rf /opt/ignite
ln -s /var/ignite /opt/ignite


Pete

Pete
Norman_21
Honored Contributor

Re: /opt file system

I think the best way it to attach an output for the /opt/ignite. Please refer to attached and advise.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
T G Manikandan
Honored Contributor

Re: /opt file system

It shows the total size of ignite is 80MB.I do not find any problem with that.

What is the size of the /opt file system.

I am not sure whether you have any unwanted core files there.

like core files,.tar,.gz files.

find /opt -name core -exec rm {} \;

find /opt -name "*.tar" -exec ll {} \;
find /opt -name "*.gz" -exec ll {} \;

Revert
Pete Randall
Outstanding Contributor

Re: /opt file system

If you want to use ignite (and you really, really should), I would advise against removing anything there.

What you really need to do (in order of preference) is:

1) enlarge /opt

2) remove an unused application from /opt

3) move a /opt application somewhere else and replace it with a soft link



Pete

Pete
Robert-Jan Goossens_1
Honored Contributor

Re: /opt file system

Hi,

could you give an ouput off
bdf so we can see where there is space available
# bdf

Robert-Jan.
T G Manikandan
Honored Contributor

Re: /opt file system

What happened ?

You changed your name from AB to 'XMAN'

Anything special!!
Norman_21
Honored Contributor

Re: /opt file system

Thanks again guys,
as you can see the size of the /opt is :
55640 out of 475136.
I agree that the /opt file system should be increased in size.

Hey TG,
I just love the XMAN movie also I like the X-FILES TV Show.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
Norman_21
Honored Contributor

Re: /opt file system

Oops, the size is in KB.

Thanks.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
Norman_21
Honored Contributor

Re: /opt file system

First I used Pete solution:
mkdir /var/ignite
cd /opt/ignite
find . |cpio -pdumxl /var/ignite
cd /
rm -rf /opt/ignite
ln -s /var/ignite /opt/ignite

Then, I resized the LV and now I have more space in /opt file system!

Thanks
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003