I am trying to find the images of AIX 5.2 (or 5.3) installation CDs. Does any one know web links to download? I was not able to find any. I am wonderying if it is not possible at all.
Not possible.
If you need the install filesets (or CDs) you will have to call your sales person or business partner.
Even IBM AIX support cannot provide install media or filesets because they are licenced.
I have achieved the intersting point with your answer. I have a remote AIX server without floppy, tape and RAM CD. There is no other AIX arround. The small volume root partition of the AIX is pretty full
/dev/hd4 65536 49492 25% 1742 6% /
/dev/hd2 1638400 28068 99% 42697 11% /usr
/dev/hd9 65536 640 100% 833 6% /var
/dev/hd3 65536 61608 6% 330 3% /tmp
/dev/hd10 65536 54052 18% 458 3% /opt
/dev/lv00 32964608 6242152 82% 138620 2% /home
but systems requires fixes of 1.2 GBytes.
I supposed that installation CDs that are lost could help in change of disk partitions. It could allow me to manage the inactive disk if I reboot with CD. Well.
Can I install the patch without installation CD?
please post the output of the following commands:
df -m
mount
lsvg
lsvg <vgname> for every vg
lsvg -l rootvg
lspv
lspv <hdiskname> for every disk
lspv -l for every disk
you should immediately clean up the /var directory
start with /var/adm/wtmp and /var/adm/sulog
cheers
funksen
edit:
don't delete wtmp and sulog, just clean the content, with # >/var/adm/wtmp for example
There is an output.
#df -m
Filesystem MB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 64.00 48.33 25% 1742 6% /
/dev/hd2 1600.00 27.41 99% 42697 11% /usr
/dev/hd9var 64.00 0.62 100% 833 6% /var
/dev/hd3 64.00 60.16 6% 328 3% /tmp
/proc - - - - - /proc
/dev/hd10opt 64.00 52.79 18% 458 3% /opt
/dev/lv00 32192.00 6095.85 82% 138620 2% /home
/dev/lv01 34688.00 34.29 100% 129061 2% /home2
# mount
node mounted mounted over vfs date options
-------- --------------- --------------- ------ ------------ ---------------
/dev/hd4 / jfs Mar 01 15:11 rw,log=/dev/hd8
/dev/hd2 /usr jfs Mar 01 15:11 rw,log=/dev/hd8
/dev/hd9var /var jfs Mar 01 15:11 rw,log=/dev/hd8
/dev/hd3 /tmp jfs Mar 01 15:11 rw,log=/dev/hd8
/proc /proc procfs Mar 01 15:12 rw
/dev/hd10opt /opt jfs Mar 01 15:12 rw,log=/dev/hd8
/dev/lv00 /home jfs Mar 01 15:12 rw,log=/dev/hd8
/dev/lv01 /home2 jfs Mar 01 15:12 rw,log=/dev/hd8
#lsvg
rootvg
#lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: 00009ded00004c00000000f
d19498272
VG STATE: active PP SIZE: 64 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1084 (69376 megabytes)
MAX LVs: 256 FREE PPs: 0 (0 megabytes)
LVs: 10 USED PPs: 1084 (69376 megabytes)
OPEN LVs: 9 QUORUM: 2
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: yes
MAX PPs per PV: 1016 MAX PVs: 32
LTG size: 128 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
# lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 1 1 closed/syncd N/A
hd6 paging 8 8 1 open/syncd N/A
hd8 jfslog 1 1 1 open/syncd N/A
hd4 jfs 1 1 1 open/syncd /
hd2 jfs 25 25 1 open/syncd /usr
hd9var jfs 1 1 1 open/syncd /var
hd3 jfs 1 1 1 open/syncd /tmp
lv00 jfs 503 503 1 open/syncd /home
hd10opt jfs 1 1 1 open/syncd /opt
lv01 jfs 542 542 1 open/syncd /home2
#lspv
hdisk0 00009ded19497eb7 rootvg active
hdisk1 00009ded060e7e2e rootvg active
# lspv hdisk0
PHYSICAL VOLUME: hdisk0 VOLUME GROUP: rootvg
PV IDENTIFIER: 00009ded19497eb7 VG IDENTIFIER 00009ded00004c00000000fd1
9498272
PV STATE: active
STALE PARTITIONS: 0 ALLOCATABLE: yes
PP SIZE: 64 megabyte(s) LOGICAL VOLUMES: 9
TOTAL PPs: 542 (34688 megabytes) VG DESCRIPTORS: 2
FREE PPs: 0 (0 megabytes) HOT SPARE: no
USED PPs: 542 (34688 megabytes)
FREE DISTRIBUTION: 00..00..00..00..00
USED DISTRIBUTION: 109..108..108..108..109
#lspv hdisk1
PHYSICAL VOLUME: hdisk1 VOLUME GROUP: rootvg
PV IDENTIFIER: 00009ded060e7e2e VG IDENTIFIER 00009ded00004c00000000fd1
9498272
PV STATE: active
STALE PARTITIONS: 0 ALLOCATABLE: yes
PP SIZE: 64 megabyte(s) LOGICAL VOLUMES: 1
TOTAL PPs: 542 (34688 megabytes) VG DESCRIPTORS: 1
FREE PPs: 0 (0 megabytes) HOT SPARE: no
USED PPs: 542 (34688 megabytes)
FREE DISTRIBUTION: 00..00..00..00..00
USED DISTRIBUTION: 109..108..108..108..109
#lspv -l hdisk0
hdisk0:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
hd5 1 1 01..00..00..00..00 N/A
lv00 503 503 108..100..78..108..109 /home
hd6 8 8 00..08..00..00..00 N/A
hd8 1 1 00..00..01..00..00 N/A
hd4 1 1 00..00..01..00..00 /
hd2 25 25 00..00..25..00..00 /usr
hd9var 1 1 00..00..01..00..00 /var
hd3 1 1 00..00..01..00..00 /tmp
hd10opt 1 1 00..00..01..00..00 /opt
# lspv -l hdisk1
hdisk1:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
lv01 542 542 109..108..108..108..109 /home2
/home2
and /home
are data volumes. It is good to not use the data of these volumes unlike their space. It is possible to use space of /home
6G for example.
forgot one: which AIX-Version?
I would do the following:
make a fs backup or simply copy the /home directory away to an nfs-mount or tape or whatever
delete the filesystem
create a new lv (call it hd1 - makes it easier later on) with type: jfs2, create the /home filesystem just about 5gb smaller than the old one
add 1,6 gb to /user
add 128mb to /var
keep the left space free in the volume group, so you have some reserve the next time you get into trouble
restore the home dir
then clean up filesystems, clean not needed log-files, installation packages and so on
once you have the applications down, you could do the same with /home2, backup - delete - create jfs2 fs and restore
jfs2 provides the possibility to reduce size while applications are using the filesystem
if your os is aix4.3 forget the jfs2 thing, just delete /home and remake it 5gb smaller
don't forget to edit /etc/filesystems
It is AIX 5.2. I have worried about change of size of /usr and /var. Do you state that it will ok for the running system? I have supposed that I need to find any copy of Installation CD to boot the system from it for safely change of current filesystem. I was not able to create any bootable image since there weren't floppy, local tape, CD RAM and another AIX.
no problem to increase the size while applications are running, if you want to make sure shutdown your applications
but for increasing /var and /usr you first have to make /home smaller the way I've written above