Operating System - HP-UX
1748202 Members
3058 Online
108759 Solutions
New Discussion юеВ

need an advice with running out space and ignite server

 
SOLVED
Go to solution
Asya
Regular Advisor

need an advice with running out space and ignite server

Hi,

I'm trying to figure out the best way to solve our problem.

I have an ignite server with 2 drives. One drive (main one) holds all logical volumes. It's almost out of space.... Another drive is currently unused.

I have two options:
1. moving /var/opt/ignite to another drive. What will that require? Do i need to do swcopy for that? What about all config files that are poiting to /var/opt/ignite for depots?

2. moving whole /opt partition to another drive. I'm not exactly sure how it's done. If you could point me to correct literature, I would really appreciate. I found some online, but i'm not sure if this what i need. I've never really done it before and very nervous because it's a production server.

Please let me know what's the best way to work around my problem...

Thank you!
6 REPLIES 6
DCE
Honored Contributor

Re: need an advice with running out space and ignite server


1. Back up the entire system

2. either add the unused drive to vg00, or createe a new vg for it

3. Create a lv on the new drive of the size you /var/opt/ignite to be

4. mount the new lvol to temporary mount point

5. make sure no ignite processes are running

6. move the data in var/opt/ignite to the temporary mount point point

7. unmount the temporary mount point

8. mount the new lvol on /var/opt/ignite


Alternative method:

1. Back up the entire system

2. either add the unused drive to vg00, or createe a new vg for it

3. Create a lv on the new drive of the size you /var/opt/ignite to be

4. delete all of the information in /var/opt/ignite

5. permanantly mount the new lvol to /var/opt/ignite

6. restore the /var/opt/ignite info from tape
Asya
Regular Advisor

Re: need an advice with running out space and ignite server

Thank you for your prompt response.

I think adding unused drove to vg00 is a good thing to do without major changes to the system.

How do i do it? I am pretty sure i know how to do it...i've looked through SAM and understand how it works. I just want to make sure that what i'll do is correct. Can you please recommend me any documentation for this matter?

Thank you
IT_2007
Honored Contributor
Solution

Re: need an advice with running out space and ignite server

Just done few weeks ago since I had same problem.

Create new vg on unused disk like vg01
create new logical volume.
create mount point as /var/opt/ignite.new
mount new logical volume onto it.

make sure that you are not running any ignite processes.

use tar command and redirect to destination.

or you can use cp command.

Once it is copied to new destination then remove /var/opt/ignite.

unmount /var/opt/ignite.new.
create /var/opt/ignite directory
mount new logical volume to /var/opt/ignite
IT_2007
Honored Contributor

Re: need an advice with running out space and ignite server

If you want to add it to vg00 then do this way:

pvcreate /dev/rdsk/newdisk

newdisk = cXtYdZ findout from ioscan.

vgextend /dev/vg00 /dev/dsk/newdisk

lvcreate -L /dev/vg00

mkfs -F vxfs -o largefiles /dev/vg00/rlvol??

mkdir /var/opt/ignite.new

mount /dev/vg00/lvol?? /var/opt/ignite.new
Asya
Regular Advisor

Re: need an advice with running out space and ignite server

Thank you all.

I did as IT_2007 suggested and it seemed to have worked. I will test how ignite works next week when i'll need to re-ignite server.

Thanks again!!!
Asya
Regular Advisor

Re: need an advice with running out space and ignite server

found a solutin.