Disk Space -

I know I have posted this question before, but I still just don't understand how to determine disk space. This server is an IBM RS6000 running on AIX version 4.2.1.

I in essence need to know the following if anyone can assist me.

1) I need to know how many drives are configured in the server.
2) I need to know how to read the output from the command
df and then df -k The results are different.

df command produces the following:
Filesystem 512-blocks Free %Used Iused %Iused Mounted On
/dev/hd4 65536 30168 54% 1422 9% /
/dev/hd2 1785856 421888 77% 28840 13% /usr
/dev/hd9var 573440 114960 80% 2692 4% /var
/dev/hd3 2097152 2026656 4% 84 1% /tmp
/dev/hd1 196608 37072 82% 3821 16% /home
/dev/lv00 901120 199488 78% 4546 5% /apps
/dev/lv02 12222464 669136 95% 14938 1% /appsdata

When using the df -k command, the results are basically the same, except the sizes are half of the above output.

/dev/hd4 32768 15084 54% 1422 9% /
/dev/hd2 892928 210944 77% 28840 13% /usr
/dev/hd9var 286720 57480 80% 2692 4% /var
/dev/hd3 1048576 1013332 4% 84 1% /tmp
/dev/hd1 98304 18536 82% 3821 16% /home
/dev/lv00 450560 99724 78% 4546 5% /apps
/dev/lv02 6111232 334568 95% 14938 1% /appsdata

I am needing to add additional disc drives to this server. I also need to find out how the drives are currently mirrored... I know I need to get an AIX O/S handbook, Just trying to figure this out right now. Thanks for your help.

If I understand what you are asking, you are unable to count in bytes, is that correct? df -k is in kilobytes. Try df -h, which puts it in human readable mode, i.e. easier to read.

If you want to know how many physical hard disks are installed you could use the command smit disk or disks
by looking through the smit main menu you should be able to figure out how to look at the mirror side of things aswell.