Operating System - HP-UX
1833329 Members
3024 Online
110051 Solutions
New Discussion

Re: Removing unwanted filesets - reason is space needed

 
SOLVED
Go to solution
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Adrian,
Thinking of it (yes at home...)your vgdisplay mentions 9 logical volumes this means you have 2 swap filesystems or you have an obsolete file system (lvol9) that you could remove and maybe not have to go through reconfiguring vg00...
what do you see when you type swapinfo -tam ?
If you see 2 swaps in vg00 we can remove one (not the lvol2) and create a new one in another vg
If you only see one, give us the size just to see how wrong I am... this means you have an unused filesystem, is there one commented in /etc/fstab? (Im looking for /dev/vg00/lvol9...)
Else
look at the output of vgdisplay -v vg00 |more
Do you see anything?

Good luck
Victor
Eric Antunes
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Victor:

"Total PE 1023 means 1023 blocks of 4Mb..."

Yes, but with mirror (RAID 1), he still can use only 2Mb. On other RAID levels I don't know...

Adrian:

Try to allocate some space triming the system logs:

SAM->Routine Task->System Log Files->[Select the files you want to trim]->Actions->Trim ->To the Recommended Size

Best Regards,

Eric Antunes

Each and every day is a good day to learn.
Eric Antunes
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Correction:

Adrian have 1023*4Mb=4092Mb, something like 4Gb. If the volume group is mirrored, I'll have only 2Gb available for all logical volumes of this group.
Each and every day is a good day to learn.
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

Victor,

root:INLAND3>which make_recovery
no make_recovery in /usr/sbin /usr/bin /usr/ccs/bin /usr/contrib/bin /opt/nettladm/bin /opt/fc/bin /opt/fcms/bin /opt/upgrade/bin /opt/pd/bin /usr/bin/X11 /usr/contrib/bin/X11 /opt/hparray/bin /opt/graphics/common/bin /sbin /home/root

We do have a tape drive on this machine. It's an HP SureStore Dat8.

Attached is the output of:

root:INLAND3> vgdisplay -v vg00 |more

What do you recommend given this info?
Robert-Jan Goossens_1
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Adrian,

Could you add vgdisplay's for your other volume groups ?

Robert-Jan
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Hi Adrian,
As suspected you see here you have a lvol9 of 2 GB!
So is it swap space?
Type swapinfo -tam and see if its there
Else
Its an unused filesystem! which means you can remove it and extend the others.
If you dont have Ignite-UX installed (no make_recovery...) I would straight away download it and get it installed if I were you but that depends on if you have a DAT in/on your box...

Good luck
Victor
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

Attached is a zip file containing the output from the following commands:

root:INLAND3>vgdisplay -v vg01 | more > vg01_output.txt

root:INLAND3>vgdisplay -v vg02 | more > vg02_output.txt

root:INLAND3>vgdisplay -v vg03 | more > vg03_output.txt

root:INLAND3>vgdisplay -v vg04 | more > vg04_output.txt

root:INLAND3>vgdisplay -v vg05 | more > vg05_output.txt

root:INLAND3>vgdisplay -v vg06 | more > vg06_output.txt

Put them in 1 zip file to avoid posting 6 times...

Given this information, what next?

I had e-mailed the Oracle consultant who is pretty familiar with Sun's UNIX. He was saying that we might have to wipe and start fresh to get space for Oracle 8i or just wipe current LVM configuration and creat a fresh one to get space for HP-UX patches and Oracle 8i install.

Kindest regards to all and thanks for all help and support to date.
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

I forgot to add,
No you have no mirroring since as I said previously you have only one disk in vg00 so the disk is a 4 GB...

Waiting for you swapinfo...

All the best
Victor
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

Victor,

I will download and install the HP-UX Ignite right now.

Attached is the output of the command you said to enter. I'm learning UNIX on the trade as you can see. Thanks for your patience.
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Well as Robert said, if you can scrap the lot send us the vgdisplay of the other vgs and we may assist you in reconfiguring a more "HP" standard volume groups...
It will be perhaps a bit hard for a start but this is a (the best?) good way to learn, in vivo that is...
All the best
Victor
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

OK
As you can see from the output
You have one and only swap of 576 MB defined /dev/vg00/lvol2

So you have 2 GB you can use to extend filesystems in vg00!

Good news no?
Eric Antunes
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Hi,

For Oracle you just need 2 VG:

- VG00, for HP-UX
- VG01, for Oracle DB files (logical volume 1) and RDBMS and APPS executables (logical volume 2)

So, I think you should rebuild all VG's structure.

Best Regards,

Eric Antunes
Each and every day is a good day to learn.
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

Victor,

Yes that is good news! So how do I go about extending vg00? Can I do this from SAM? Could you please explain how I go about doing this?

Eric Antunes
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Victor:

He has no mirroring since he have only one physical volume for VG00. But he should have unless he is confortable with losses/corruption of data and downtimes of several hours...

Eric Antunes



Each and every day is a good day to learn.
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

While you are there,
Can you type:
/usr/sbin/swlist|grep OnLineJFS
and see if you have such output:
$ /usr/sbin/swlist|grep OnLine
B3929BA B.11.00 HP OnLineJFS (Advanced VxFS)

Which means you can do some work online...
(su as extending the filesystems...)

All the best
Victor
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

If you wish to use sam start by removing the /dev/vg00/lvol9

Then it will depends if you have the OnLineJFS installed (because of /var...)
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

Eric,

I don't want any mirroring on this machine. It is just to have a test environment for Oracle.


Victor,

No output from running those commands. What ramifications does that have? Anything more information you need?
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Hi Eric
Well it depends on what is installed on his box dont you agree?
If Adrian says we can start all from scratch AND he has mirror-ux installed, then yes we should think of finding another 4 GB disk and mirror vg00...
Lets see how things go on

Kind regards
Victor
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Adrian,
if you could spare a bit of $$$ I would advise you to buy onLineJFS it will allow you to extend online and (more delicate) if needed reduce you filesystems.
Now using sam means you cannot umount /var since it logs its activities there...
So remove the unwanted filesystem/logical volume with sam, that you can do, then
you will have to go in single user mode the best beeing reboot, interrupt by pressing any key and boot single user

First what would you like to extend
Or would you prefer download Ignite-UX first (not a bad idea...) and start by a make_recovery?
Eric Antunes
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

OK, in this case you can pass mirror.
Each and every day is a good day to learn.
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

Victor,

Can't spare any $$$, actually more like don't have any $$$ ;)

I would like to extend the vg00 so I have more space for /var and /opt so I can install that HP-UX quality pack.

I have the Ignite depot file but I'm downloading the latest pax patch as well as the
related dependencies for it. Once I complete these downloads, installs and reboot(s) I'll post again and we can go from there...
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Adrian,
Just curious, type model, what is the output?
Go in /var/adm/syslog look in syslog.log or OLDsyslog.log for a line like this:
$ cat OLDsyslog.log |grep Physical
the ouput:
Nov 27 18:47:10 racok vmunix: Physical: 2097140 Kbytes, lockable: 1797212 Kbytes, available: 1833496 Kbytes
$
The idea is looking for you RAM in order to see if we need to revise your swap size in order to meet oracle 8i requirements...
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

Victor,

Here is the output from:

root:INLAND3>cat OLDsyslog.log | grep Physical

Sep 28 15:14:56 INLAND3 vmunix:
Physical: 294912 Kbytes,
lockable: 209708 Kbytes,
available: 244660 Kbytes
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

not quite 300MB hum?...
so a secondary swap of identical size to the first on another disk seems to be what we should do this maybe a bit small mind you, what are the prerequisite of oracle for the version you want to install?

What does model say?


Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

Victor,

The machine has 287MB physical RAM. Here are the recommedations for Oracle 8i on HP-UX:

Required Disk Space (typical) 1200MB
Required Disk Space (minimal) 1090MB
Required Disk Space (custom) max up to 1500MB

The minimum physical memory for 8i on HP-UX is:
250MB. We would love to go 9i but 9i needs 500MB min RAM.

Is this the information you were talking about with regards to model?

root:INLAND3>uname -a
HP-UX INLAND3 B.11.00 A 9000/821 2009667710 two-user license