Operating System - HP-UX
1833589 Members
4926 Online
110061 Solutions
New Discussion

Re: Removing unwanted filesets - reason is space needed

 
SOLVED
Go to solution
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

Hi all,

I did:

# /sbin/mount -a
# /sbin/shutdown -r -y now

it is rebooting now...

once it comes back up...I guess this is more towards Victor, will I have to

mount /opt/oracle
mount /opt/oracle1
mounnt /opt/oracle2
...

etc?
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Robert dont tell me you are as mad as I am
Arent you at home with your family?
I have an excuse, I am almost undesired at work and Im watching my park of HP fading away slowly replaced by I* and S* (big I*s)..
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

Rebooted successfully. Attached is the output from the bdf command...
Robert-Jan Goossens_1
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Victor, cut and past from the manual lvextend below

-L logical_volume_size
Increases the size of logical volume to logical_volume_size, where logical_volume_size is specified in units of Mbytes.

Adrian, no if you have the filesystems in you /etc/fstab they will be mounted at boot.
Robert-Jan Goossens_1
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Vitor, I am as mad as you are :-) and my server park is being replaced by MS servers and the databases by sqlserver :-(

I'm home with my family, just was a bit bored
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

This will still present some problems for me with my latest quality patch install though. During the disk space analysis it was complaining that it needed:

46MB free in /var
158MB free in /usr

My bdf is telling me that is have:

506MB free in /var
49MB free in /usr

I still have a problem don't I...
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

So now why didnt the extend work...
what is the output of vgdisplay vg00
and vgdisplay -v vg00?

Adrian If you are willing to get a nice and clean box for oracle 8i, prepare you development troup to say byebye to what they know of this box, a backup could help in the acceptation of something irreversible...
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

Victor,

# vgdisplay vg00 gives:

root:INLAND3>vgdisplay vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 2500
VGDA 2
PE Size (Mbytes) 4
Total PE 1023
Alloc PE 725
Free PE 298
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

and output from # vgdisplay -v vg00 is attached.
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Sorry,
Robert correct me, but my memory serves on old HPUX11 /,/stand and the swap (and ?) had to be contiguous and hold in 2 GB am I right?
So you can forget about lvol3 (/stand)
Are you read to star again?

Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

Victor,

What would wiping clean involve? Would I lose ALL my current Oracle information, configuration, settings...etc?

Robert-Jan Goossens_1
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

correct Victor.

Free PE 298 X 4 = 1192 MB total free left on the disk

Back to single user mode.
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

Victor,

Yes I'm ready to start again...post away. Getting close to closing time here, so will have less "noise" in background.
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

I'm going back to single user mode...going straight back to root:unknown>


.....
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Free PE of almost 300 that means you have more than a GB spare
So what didnt we do?
ah...
/usr, and /tmp

Now you could go for the kamikase method! there is ST Robert with an eye on us (I hope)
is it my keyboard giving trouble? I seem to miss regularly letters...
so kamikase means root at the console
init s
give it a break of 30 seconds
umount -a
bdf
You know how to use fuser, umount, mount by now...
repeat your lesson on lvextend...
that is /dev/vg00/lvol4 and 7

Robert-Jan Goossens_1
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

sorry 894 MB free
Robert-Jan Goossens_1
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

please discard my last answer it is

Free PE 298 X 4 = 1192 MB total free left on the disk
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Well Robert you will agree it seems better than at the beginning of the thread which looked more like a lost battle..., now there is more than just hope!
You are not at work? are you?

Adrian
Yes you will loose all but, the configs are not the same... and you will learn how to configure recuperated disks (thats fun nothing like new disks...) export old vgs create new vgs and more specifically compile a new kernel to meet oracle new requirements... if it has no well what about installing a new java...

More seriously We dont like to see data in/opt it confuses us...
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

Victor,

I'm back at the root:unknown> prompt right now.

So what are you saying is the next step?

Repeat what I did but this time with

# /sbin/lvextend -L XXX /dev/vg00/lvol4
# /sbin/lvextend -L XXX /dev/vg00/lvol7

How much are we extending this time?
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

-L 550 /dev/vg00/lvol7
-L 220 /dev/vg00/lvol4
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Id say 600 for lvol7
there was a reason...
Robert-Jan Goossens_1
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

/dev/vg00/lvol8 921600 370756 518501 42% /var
/dev/vg00/lvol7 385024 330863 50939 87% /usr

from your own output.

# /sbin/lvextend -L 1200 /dev/vg00/lvol8
# /sbin/extendfs -F vxfs /dev/vg00/rlvol8
# /sbin/lventend -L 650 /dev/vg00/lol7
# /sbin/extendfs -F vxfs /dev/vg00/rlvol7

# /sbin/shutdown -r -y now

Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Hey Robert are you also under the clouds? well difficult to see now...
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

Robert,

No # /sbin/mount -a

before the:

# /sbin/shutdown -r -y now

?

Just asking before I reboot...
Robert-Jan Goossens_1
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

ok /sbin/mount -a is good. Check if you need to extend /tmp

RJ

Victor, is it snowing in switzerland :-)
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Keep in mind that using Robert advice, you will need to create some swap elsewhere...
the values I gave you wer more conservative, I havent patched the boxes since a year now...Roberts values are more what I would expect in growth...