From Newsgroup: comp.sys.mac.system
rasberry <
mason@jar.com> wrote:
I have a 15" iMac, Machine Model: PowerMac4,2 CPU Type: PowerPC
G4 (2.1) with what I thought was a 40 MB Hard Drive.
I am operating OS X 10.4.6. At one time I had a TechTool Pro eDrive installed but have since removed it using their removal tool.
If I use Disk Utility or About this Mac, I am told that the Drive
Capacity is 38.0 GB Available Space is 11.5 GB and that 21.6 GB is
used. Available plus Used adds up to 33.1 GB NOT the stated capacity of
38.0 GB.
Something weird is going on.
On my PBG4 (also running 10.4.6, single partition) a Finder Get Info and
Disk Utility on the volume report numbers which agree within 0.01 GB:
used (50.33) + available (5.55) = capacity (55.88).
In Terminal, if I use the "df -g" command, it shows identical figures
(to 1 GB resolution) and "df -m" agrees to 1 MB resolution.
System Profiler doesn't show a "used" figure but its "available" and
"capacity" figures agree with the other two (5.55 and 55.89). It also
shows the capacity of the entire drive as 55.89, so the partition table overhead is too small to register. Disk Utility agrees with System
Profiler as to the drive capacity if I click on the icon for the drive
rather than the icon for the volume.
Doing a Get Info on the Hard drive reports tha capacity as 33 GB with Available Space is 11.5 GB and that 21.6 GB is used.
It sounds like you have an extra 5 GB partition somewhere.
Can anyone explain the discrepancy? How much space do I really have? If
I have really "lost" 5 GB of drive space, how do I get it back?
Disk Utility reporst a single partition on the Maxtor 4D040H2 Hard
Drive of 38.03 GB.
Disk Utility might be lying, if you have clicked on the "Partition" tab.
It shows the partition scheme it is proposing should you wish to
repartition the drive, which might not exactly match the current
partition scheme.
System Profiler should show figures for the capacity of the entire drive
and the capacity of the volume on the drive (as does Disk Utility if you
click on the drive icon and the volume icon). If these figures don't
match, then you either have a hidden partition or some free space which
isn't allocated to a usable partition.
To be absolutely certain, you can use the 'pdisk' command in Terminal to examine the partition map directly. This has to be run as the root user
via 'sudo' and be extremely careful what you type, because it can change
or wipe your partition table if you give it the wrong options.
As an administrative user, type the following command (better still,
copy and paste it).
sudo pdisk --list
(You will be asked to enter your password, which is the normal one for
your administrator account on the computer.)
It should display something resembling this (output for my drive):
Partition map (with 512 byte blocks) on '/dev/rdisk0'
#: type name length base ( size )
1: Apple_partition_map Apple 63 @ 1
2: Apple_Driver43*Macintosh 56 @ 64
3: Apple_Driver43*Macintosh 56 @ 120
4: Apple_Driver_ATA*Macintosh 56 @ 176
5: Apple_Driver_ATA*Macintosh 56 @ 232
6: Apple_FWDriver Macintosh 512 @ 288
7: Apple_Driver_IOKit Macintosh 512 @ 800
8: Apple_Patches Patch Partition 512 @ 1312
9: Apple_HFS T2 117208408 @ 1824 ( 55.9G)
10: Apple_Free 8 @ 117210232
Device block size=512, Number of Blocks=117210240 (55.9G)
DeviceType=0x0, DeviceId=0x0
Drivers-
1: 23 @ 64, type=0x1
2: 36 @ 120, type=0xffff
3: 21 @ 176, type=0x701
4: 34 @ 232, type=0xf8ff
In my case, partition number 9 is the actual volume (originally named
"T2" when I set up the drive). As you can see it shows a capacity of
55.9G, and the total of all the other partitions is less than 2048
blocks (1 MB), so the difference doesn't even register in the total
capacity when measured in GB to one decimal place.
The 10th partition is a small amount of free space: 8 blocks or 4 KB
total; presumably Disk Utility always leaves a tiny bit of free space at
the end.
I suspect you will see your main "Apple_HFS" partition to be about 33 GB
and you will have about 5 GB in the "Apple_Free" partition, or there
will be an additional 5 GB partition which isn't able to be mounted.
This is likely to be a leftover effect of the TechTool Pro eDrive.
Assuming I'm right, the only way to recover this space is to repartition
the drive. Doing this with Disk Utility will wipe the drive, so you
should do something like clone the drive to an external one, confirm
that you have a good copy (and it is bootable), then repartition, then
clone everything back again.
There are some third party tools which can dynamically resize a
partition (especially when increasing the size of a partition into
adjacent free space), but I'd recommend doing a full backup anyway
before attempting something like this.
--
David Empson
dempson@actrix.gen.nz
--- Synchronet 3.18b-Win32 NewsLink 1.113