System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

extend / redirect ... space of /opt for software installation

 
SOLVED
Go to solution
Gary L
Super Advisor

extend / redirect ... space of /opt for software installation

Hi

I'm going to install SE client agent APPQcime.depot into all our HP-UX servers, but there is no enough space in /opt in most of our servers. I don't have Online JFS AND those server could not be rebooted to single user mode to extend the LV for increasing the size of /opt, those are all production servers.

As you know /opt just be assigned 2GB when someone installed the OS five years ago, so there is no file/data could be deleted in /opt for free more space. And SE agent could not be redirect to install to another place, only /opt.

There is some disk space free in vg00, I could create a new file system there. So, can someone suggest a solution to redirect or link or xxx to logical "increase" the size of /opt so that the agent could be installed into /opt.

Thanks a lot, any answers will be very appreciate.

-G
7 REPLIES
G V R Shankar
Valued Contributor
Solution

Re: extend / redirect ... space of /opt for software installation

Hi G,

Assume the software is going to reside under /opt/software

Create a new FS and mount it on /opt/software or

Mount it on /software and create link between /opt/software to /software

Cheers,

Ravi.
Gary L
Super Advisor

Re: extend / redirect ... space of /opt for software installation

Hi G V R Shankar

Thanks a lot for your fast reply.

I have checked, the SE agent will be installed into /opt dir directly, the new folder was named /opt/APPQcime 400MB.

I could create a new FS name /APPQcime, could you please provide me more details about how to link /opt/APPQcime to /APPQcime?

1. create 500GB new FS /APPQcime
2. mkdir -p /opt/APPQcime ?
3. link ? how? run which command? ln?
please write down the full command(s)

thanks.
Gary L
Super Advisor

Re: extend / redirect ... space of /opt for software installation

# ln -s /opt/APPQcime /APPQcime ?

After above actions , does the install process will put the data in /AppQcime not to /opt?
G V R Shankar
Valued Contributor

Re: extend / redirect ... space of /opt for software installation

Hi G,

I would prefer the following steps

1. create 500GB new FS /APPQcime

A. Create a new FS.

2. mkdir -p /opt/APPQcime

This is correct

3. link ? how? run which command? ln?

Why to link, when you can mount it on /opt/APPQcime

mount -F vxfs LV_Name /opt/APPQcime

Cheers

Ravi.
Gary L
Super Advisor

Re: extend / redirect ... space of /opt for software installation

Thx,

one more question:
If I don't wanna create a new FS, just using /tmp/APPQcim as the software destination then I must link it to /opt/APPQcim via command ln -s, right?
Gary L
Super Advisor

Re: extend / redirect ... space of /opt for software installation

I have tried, below steps worked without create new FS

1. # mkdir -p /tmp/APPQcime

2. # ln -s /tmp/APPQcime /opt
Gary L
Super Advisor

Re: extend / redirect ... space of /opt for software installation

solved.