Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AIX base install using 5GB+?

Status
Not open for further replies.

TimP87

Technical User
Mar 24, 2005
1
US
I'm an AIX newbie and just got an RS/6000 and AIX 5.1 on eBay. It has two hard drives - 4.5GB and 2.2GB. I installed AIX with CDE and told the installer to use both disks. I tried downloading Mozilla but got an out of space error at 8MB. I ran df and this is the output:

[tt]Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 32768 18456 44% 1178 15% /
/dev/hd2 1163264 37512 97% 19264 14% /usr
/dev/hd9var 32768 21056 36% 482 12% /var
/dev/hd3 49152 45760 7% 30 1% /tmp
/dev/hd1 16384 15696 5% 68 4% /home
/proc - - - - - /proc
/dev/hd10opt 49152 25368 49% 433 8% /opt[/tt]

The drives appear to be almost completely full. Is 6.7GB too small to install AIX?? The only software I've installed since the base install is wget and bash. Any advice is appreciated. Thanks!
 
Your currently only using a small amount of the disk space. When you install Aix is doesn't use all the disk, only what is need for a base install. If you run the command `lsvg rootvg`
and look at the "free pps" you will see how much space you have left. You can either increase the size of your current filesystems or create new ones.
 
post your results to "lsvg rootvg" we'll be able to help with that.

You'll probably need to increase /usr to install anything else.

You can do this through "smit chjfs" assuming you are using jfs filesystems ( not jfs2 ).
 
BTW:- if you do "df -m" or "df -g" you can get the sizes in Mb & Gb

Here a little script I wrote to get a little more info.
you will have create the store directory (or change the script) make the file executable "chmod 700 filename", then run using ./scriptname

#!/usr/bin/ksh

#-----------------------------------------
# Recover Disk info
#-----------------------------------------

store='/usr/local/bin/disk'
lspv | awk '{print $1}' > $store/lookup1
a=`hostname`

mv $store/disk_info_$a.txt $store/disk_info_$a.old

cat $store/lookup1 |while read line ; do
for i in $line
do
lspv $i > $store/lookup2
echo "" >> $store/lookup3
cat $store/lookup2| grep PHY >> $store/lookup3
cat $store/lookup2| grep "TOTAL PPs" >> $store/lookup3
cat $store/lookup2| grep "FREE PPs" >> $store/lookup3
lspv -p $i|awk '{print $6}'|grep "^/" > $store/lookup6
sort $store/lookup6 > $store/lookup7
uniq $store/lookup7 > $store/lookup8
cat $store/lookup8 >> $store/lookup3
sed 's/HOT SPARE: no//' < $store/lookup3 > $store/lookup4
sed 's/VG DESCRIPTORS: [0123456789]//' < $store/lookup4 > $store/disk_info_$a.txt
done
done
rm $store/lookup*

Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant.
 
mrm

"df -m" and "df -g" are not available in 5.1 ( the os TmiP87 is running ). These became available in 5.2

df -k is my fav for 5.1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top