Newbie question - where has my disk space gone?

Newbie question - where has my disk space gone?

Post by Dr. David Kirkb » Tue, 08 Jul 2003 07:33:37



I sent this a few hours ago, but it seems not to have got here. Sorry
if its a duplicate.

I've spent most of the weekend trying to install AIX 5.2 on a used IBM
RS/6000 7025 F50 server. Initially there was a hardware problem (loose
cable I think), but finally I got the system up and running.

The machine has 3 x 4.5 Gb disks. When I installed the OS, I selected
all 3 disks for installation. I was rather surprised it never gave me
any chance to select partition names, sizes etc. But once installation
was finished I now have this situation.

# df -g
Filesystem    GB blocks      Free %Used    Iused %Iused Mounted on
/dev/hd4           0.02      0.01   62%     1484    19% /
/dev/hd2           0.93      0.01   99%    26767    11% /usr
/dev/hd9var        0.02      0.01   43%      451    12% /var
/dev/hd3           0.02      0.02    4%       52     1% /tmp
/dev/hd1           0.01      0.01    4%       18     1% /home
/proc                 -         -    -         -     -  /proc
/dev/hd10opt       0.02      0.00  100%      584    10% /opt
/dev/cd0           0.56      0.00  100%   292579   100% /mnt

Ignoring the 560 Mb cdrom which I've got mounted on /mnt, the total
disk space allocated seems 1.02 Gb, which is not a lot considering the
disks have a total capacity of 13.5 Gb. I believe the swap partition
is 512 Mb in AIX 5.2, but that still leaves another 12 Gb unaccounted
for.

As someone who knows Solaris reasonably well, this seems odd. Perhaps
someone can explain to me what is happening here.

--
Dr. David Kirkby,
Senior Research Fellow,
Department of Medical Physics,
University College London,
11-20 Capper St, London, WC1E 6JA.
Tel: 020 7679 6408 Fax: 020 7679 6269
Internal telephone: ext 46408

 
 
 

Newbie question - where has my disk space gone?

Post by Ian Northeas » Tue, 08 Jul 2003 08:27:48



> I sent this a few hours ago, but it seems not to have got here. Sorry
> if its a duplicate.

> I've spent most of the weekend trying to install AIX 5.2 on a used IBM
> RS/6000 7025 F50 server. Initially there was a hardware problem (loose
> cable I think), but finally I got the system up and running.

> The machine has 3 x 4.5 Gb disks. When I installed the OS, I selected
> all 3 disks for installation. I was rather surprised it never gave me
> any chance to select partition names, sizes etc. But once installation
> was finished I now have this situation.

> # df -g
> Filesystem    GB blocks      Free %Used    Iused %Iused Mounted on
> /dev/hd4           0.02      0.01   62%     1484    19% /
> /dev/hd2           0.93      0.01   99%    26767    11% /usr
> /dev/hd9var        0.02      0.01   43%      451    12% /var
> /dev/hd3           0.02      0.02    4%       52     1% /tmp
> /dev/hd1           0.01      0.01    4%       18     1% /home
> /proc                 -         -    -         -     -  /proc
> /dev/hd10opt       0.02      0.00  100%      584    10% /opt
> /dev/cd0           0.56      0.00  100%   292579   100% /mnt

> Ignoring the 560 Mb cdrom which I've got mounted on /mnt, the total
> disk space allocated seems 1.02 Gb, which is not a lot considering the
> disks have a total capacity of 13.5 Gb. I believe the swap partition
> is 512 Mb in AIX 5.2, but that still leaves another 12 Gb unaccounted
> for.

> As someone who knows Solaris reasonably well, this seems odd. Perhaps
> someone can explain to me what is happening here.

This is normal for AIX. AIX contains a logical volume manager in the
base OS. All filesystems can be enlarged at will, nondisruptively, so
the installer creates them at the minimum size.

If you enter "lsvg rootvg" you should see the space you really have.

You can use smitty/storage management to enlarge filesystems as you
require. It's reasonably obvious. Normally you want to enlarge
filesystems not logical volumes. When you enlarge a filesystem the
logical volume is automatically enlarged to suit. The converse is not
the case.

As you chose all 3 disks at installation time you now have a root volume
group which contains them all. This may not be the best setup. However,
it is not fixed and it is possible to rearrange things to a large extent
without any backup/restore or even rebooting.

I suggest that you read up on the LVM. It is one of the areas where AIX
differs greatly from Solaris.

IMHO the LVM is one of the things in AIX which is noticeably superior to
what Solaris offers. Another is mksysb, which is worth looking at if you
have a tape drive (or DVD writer) in your system. It is a facility to
make a directly bootable system backup which can be restored just by
booting the tape (RS/6000s will boot from tape, unlike SPARCs).

We don't call it "Ain't unIX" for nothing you know:)

Good luck with AIX,

Regards, Ian

 
 
 

Newbie question - where has my disk space gone?

Post by Dr. David Kirkb » Tue, 08 Jul 2003 10:32:11




> > I've spent most of the weekend trying to install AIX 5.2 on a used IBM
> > RS/6000 7025 F50 server. Initially there was a hardware problem (loose
> > cable I think), but finally I got the system up and running.

> > The machine has 3 x 4.5 Gb disks. When I installed the OS, I selected
> > all 3 disks for installation. I was rather surprised it never gave me
> > any chance to select partition names, sizes etc. But once installation
> > was finished I now have this situation.

> > # df -g
> > Filesystem    GB blocks      Free %Used    Iused %Iused Mounted on
> > /dev/hd4           0.02      0.01   62%     1484    19% /
> > /dev/hd2           0.93      0.01   99%    26767    11% /usr
> > /dev/hd9var        0.02      0.01   43%      451    12% /var
> > /dev/hd3           0.02      0.02    4%       52     1% /tmp
> > /dev/hd1           0.01      0.01    4%       18     1% /home
> > /proc                 -         -    -         -     -  /proc
> > /dev/hd10opt       0.02      0.00  100%      584    10% /opt
> > /dev/cd0           0.56      0.00  100%   292579   100% /mnt

> > Ignoring the 560 Mb cdrom which I've got mounted on /mnt, the total
> > disk space allocated seems 1.02 Gb, which is not a lot considering the
> > disks have a total capacity of 13.5 Gb. I believe the swap partition
> > is 512 Mb in AIX 5.2, but that still leaves another 12 Gb unaccounted
> > for.

> > As someone who knows Solaris reasonably well, this seems odd. Perhaps
> > someone can explain to me what is happening here.

> This is normal for AIX. AIX contains a logical volume manager in the
> base OS. All filesystems can be enlarged at will, nondisruptively, so
> the installer creates them at the minimum size.

Quite neat I must say!

Quote:> If you enter "lsvg rootvg" you should see the space you really have.

# lsvg rootvg
VOLUME GROUP:   rootvg                   VG IDENTIFIER:
0002459800004c00000000f638057fbe
VG STATE:       active                   PP SIZE:        8 megabyte(s)
VG PERMISSION:  read/write               TOTAL PPs:      1611 (12888
megabytes)
MAX LVs:        256                      FREE PPs:       1414 (11312
megabytes)
LVs:            11                       USED PPs:       197 (1576
megabytes)
OPEN LVs:       10                       QUORUM:         2
TOTAL PVs:      3                        VG DESCRIPTORS: 3
STALE PVs:      0                        STALE PPs:      0
ACTIVE PVs:     3                        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

Whilst I've not read the documentation yet, I can see those numbers
make a lot more sence.  

Quote:> As you chose all 3 disks at installation time you now have a root volume
> group which contains them all. This may not be the best setup.

Thanks for that. I really did not have much idea what I was doing -
this is my first play with IBM UNIX boxes. I have quite a range of
UNIX hardware for testing software - Solaris, Linux, OpenBSD, NetBSD,
HP-UX, Tru64, AIX of course and soon IRIX. However, Solaris is the
only one I'm reasonably confortable with - since I've been using it a
long while.

Quote:> However,
> it is not fixed and it is possible to rearrange things to a large extent
> without any backup/restore or even rebooting.

That's good. I will want to remove at least one of the 4.5 Gb disks
and replace it/them with something bigger. I only have 3 caddies (or
whatever they are called), so to add a disk, I need to remove one,
despite the fact the machine can take 6 disks in its present state and
18 if I add some hardware. It's only for a home computer, so I don't
need any more space.

Quote:> I suggest that you read up on the LVM. It is one of the areas where AIX
> differs greatly from Solaris.

Will do. I'll try to find a book on AIX.

Quote:> IMHO the LVM is one of the things in AIX which is noticeably superior to
> what Solaris offers. Another is mksysb, which is worth looking at if you
> have a tape drive (or DVD writer) in your system. It is a facility to
> make a directly bootable system backup which can be restored just by
> booting the tape (RS/6000s will boot from tape, unlike SPARCs).

mksysb is interesting. There will not be any data of any great value
on the machine, but it does have a 24 Gb DDS-3 tape drive, so I'll
look at that.

Old versions of SunOs are bootable from tape, but as you rightly say,
that is not the case with Solaris. That is a retrograde step I feel.

My Sun has a 40 Gb DDS-4 tape drive with a 'One button disaster'
facility, but in practice that is no use on Solaris without other
software - Veritas probably, although I've not looked at it.

Quote:> Good luck with AIX,

It looks like I'm going to need it. I seem to have hit more problems
during the install phase than I did with HP-UX or Tru64, both of which
are new to me too.

--
Dr. David Kirkby,
Senior Research Fellow,
Department of Medical Physics,
University College London,
11-20 Capper St, London, WC1E 6JA.
Tel: 020 7679 6408 Fax: 020 7679 6269
Internal telephone: ext 46408

 
 
 

Newbie question - where has my disk space gone?

Post by snogfest hosebea » Tue, 08 Jul 2003 10:39:12



> I sent this a few hours ago, but it seems not to have got here. Sorry
> if its a duplicate.

> I've spent most of the weekend trying to install AIX 5.2 on a used IBM
> RS/6000 7025 F50 server. Initially there was a hardware problem (loose
> cable I think), but finally I got the system up and running.

> The machine has 3 x 4.5 Gb disks. When I installed the OS, I selected
> all 3 disks for installation. I was rather surprised it never gave me
> any chance to select partition names, sizes etc. But once installation
> was finished I now have this situation.

> # df -g
> Filesystem    GB blocks      Free %Used    Iused %Iused Mounted on
> /dev/hd4           0.02      0.01   62%     1484    19% /
> /dev/hd2           0.93      0.01   99%    26767    11% /usr
> /dev/hd9var        0.02      0.01   43%      451    12% /var
> /dev/hd3           0.02      0.02    4%       52     1% /tmp
> /dev/hd1           0.01      0.01    4%       18     1% /home
> /proc                 -         -    -         -     -  /proc
> /dev/hd10opt       0.02      0.00  100%      584    10% /opt
> /dev/cd0           0.56      0.00  100%   292579   100% /mnt

> Ignoring the 560 Mb cdrom which I've got mounted on /mnt, the total
> disk space allocated seems 1.02 Gb, which is not a lot considering the
> disks have a total capacity of 13.5 Gb. I believe the swap partition
> is 512 Mb in AIX 5.2, but that still leaves another 12 Gb unaccounted
> for.

> As someone who knows Solaris reasonably well, this seems odd. Perhaps
> someone can explain to me what is happening here.

> --
> Dr. David Kirkby,
> Senior Research Fellow,
> Department of Medical Physics,
> University College London,
> 11-20 Capper St, London, WC1E 6JA.
> Tel: 020 7679 6408 Fax: 020 7679 6269
> Internal telephone: ext 46408


Hi David.

"smit" is your best friend.

Also
man lsvg
man lspv
man lslv

HTH
Henry

 
 
 

Newbie question - where has my disk space gone?

Post by Dr. David Kirkb » Tue, 08 Jul 2003 11:36:46




> > I sent this a few hours ago, but it seems not to have got here. Sorry
> > if its a duplicate.

> > I've spent most of the weekend trying to install AIX 5.2 on a used IBM
> > RS/6000 7025 F50 server. Initially there was a hardware problem (loose
> > cable I think), but finally I got the system up and running.

> > The machine has 3 x 4.5 Gb disks. When I installed the OS, I selected
> > all 3 disks for installation. I was rather surprised it never gave me
> > any chance to select partition names, sizes etc. But once installation
> > was finished I now have this situation.

> > # df -g
> > Filesystem    GB blocks      Free %Used    Iused %Iused Mounted on
> > /dev/hd4           0.02      0.01   62%     1484    19% /
> > /dev/hd2           0.93      0.01   99%    26767    11% /usr
> > /dev/hd9var        0.02      0.01   43%      451    12% /var
> > /dev/hd3           0.02      0.02    4%       52     1% /tmp
> > /dev/hd1           0.01      0.01    4%       18     1% /home
> > /proc                 -         -    -         -     -  /proc
> > /dev/hd10opt       0.02      0.00  100%      584    10% /opt
> > /dev/cd0           0.56      0.00  100%   292579   100% /mnt

> > Ignoring the 560 Mb cdrom which I've got mounted on /mnt, the total
> > disk space allocated seems 1.02 Gb, which is not a lot considering the
> > disks have a total capacity of 13.5 Gb. I believe the swap partition
> > is 512 Mb in AIX 5.2, but that still leaves another 12 Gb unaccounted
> > for.

> > As someone who knows Solaris reasonably well, this seems odd. Perhaps
> > someone can explain to me what is happening here.

> > --
> > Dr. David Kirkby,
> > Senior Research Fellow,
> > Department of Medical Physics,
> > University College London,
> > 11-20 Capper St, London, WC1E 6JA.
> > Tel: 020 7679 6408 Fax: 020 7679 6269
> > Internal telephone: ext 46408

> Hi David.

> "smit" is your best friend.

> Also
> man lsvg
> man lspv
> man lslv

> HTH
> Henry

Thanks. I'll take a look at the documentation and smit.
--
Dr. David Kirkby,
Senior Research Fellow,
Department of Medical Physics,
University College London,
11-20 Capper St, London, WC1E 6JA.
Tel: 020 7679 6408 Fax: 020 7679 6269
Internal telephone: ext 46408

 
 
 

Newbie question - where has my disk space gone?

Post by RobH » Tue, 08 Jul 2003 17:06:12







<SNIP>

Quote:> > I suggest that you read up on the LVM. It is one of the areas where
AIX
> > differs greatly from Solaris.

> Will do. I'll try to find a book on AIX.

Search for the AIX certification guides on
www.redbooks.ibm.com

You can download them in PDF format and they are very good introductions
to the idiosyncrasies of AIX.

--
RobH
The future's dim, the future's mono.

 
 
 

Newbie question - where has my disk space gone?

Post by Dr. David Kirkb » Tue, 08 Jul 2003 17:55:33



> > Will do. I'll try to find a book on AIX.

> Search for the AIX certification guides on
> www.redbooks.ibm.com

> You can download them in PDF format and they are very good introductions
> to the idiosyncrasies of AIX.

> --
> RobH
> The future's dim, the future's mono.

Thanks, they look *very* useful. It's nice they are available in html,
pdf and you can buy a hardcopy if you want.

--
Dr. David Kirkby,
Senior Research Fellow,
Department of Medical Physics,
University College London,
11-20 Capper St, London, WC1E 6JA.
Tel: 020 7679 6408 Fax: 020 7679 6269
Internal telephone: ext 46408

 
 
 

1. Newbie question - Disk Space Discrepancy - UMSDOS under VFAT

Please help.

I have recently installed Linux (UMSDOS) [because I didn't want to
repartition!] and it seems to be eating my hard drive.

My drive is partitioned into 5 x 400meg (approx)  partitions C through to
G.  Linux has the whole G drive.  When I check the size of the Linux
directory under Win95 it reports that Linux is using 272meg.  When I check
the root directory which is empty except for the Linux subdirectory then
Win95 reports 376m.

Any ideas?  I didn't think I was using anywhere near this amount of space.
Can I get some space back somehow?

2. rxvt transparency

3. Newbie question WRT disk space, CPU

4. Unbootable machine

5. Fairly typical newbie question: How much disk space?

6. scanning program for Linux

7. disk space going away

8. RPC: Program not registered, need help!

9. Disk Space gone missing?

10. Where did my disk space go?!?!

11. Where did all of my disk space go?

12. Disk Space gone missing??? Help!

13. Where does my disk space go to?