df command / partitions on my new mac book

Joined
Oct 1, 2008
Messages
11
Reaction score
0
Points
1
I have a new MacBook Pro that I bought used.

It did not come with a disk so I borrowed someones and reinstalled the OS.

It had several partitions on it so I used diskutil to merge all the partitions on one disk.

Here is the before and after snapshots:
Before

Filesystem Size Used Avail Capacity Mounted on
/dev/disk0s2 145Gi 45Gi 100Gi 31% /
devfs 109Ki 109Ki 0Bi 100% /dev
fdesc 1.0Ki 1.0Ki 0Bi 100% /dev
map -hosts 0Bi 0Bi 0Bi 100% /net
map auto_home 0Bi 0Bi 0Bi 100% /home
/dev/disk1s2 290Gi 190Gi 100Gi 66% /Users/savona
/dev/disk0s3 41Gi 54Mi 41Gi 1% /Volumes/TEMP



After

Filesystem Size Used Avail Capacity Mounted on
/dev/disk0s2 186Gi 45Gi 141Gi 25% /
devfs 109Ki 109Ki 0Bi 100% /dev
fdesc 1.0Ki 1.0Ki 0Bi 100% /dev
map -hosts 0Bi 0Bi 0Bi 100% /net
map auto_home 0Bi 0Bi 0Bi 100% /home
/dev/disk1s2 290Gi 149Gi 141Gi 52% /Users/savona


So as I was doing this I noticed that it looks like I have 2 physical disks on this computer?

1) /dev/disk0s2 186Gi 45Gi 141Gi 25% /
2) /dev/disk1s2 290Gi 149Gi 141Gi 52% /Users/savona

This is how 2 physical disks usually look on solaris anyway, which I have some experience with (no experience with MAC at all).


So my question is if this is a new install and I only installed a few programs (no media or anything else) how is 52% of my home directory used already?


So my question is... Does this macbook have 2 drives? (one 300GIG and one 200 GIG??) or am I reading it wrong?

Second question, what is using 150 GIG of my home drive already?
 

chscag

Well-known member
Staff member
Admin
Joined
Jan 23, 2008
Messages
65,248
Reaction score
1,833
Points
113
Location
Keller, Texas
Your Mac's Specs
2017 27" iMac, 10.5" iPad Pro, iPhone 8, iPhone 11, iPhone 12 Mini, Numerous iPods, Monterey
First, I suggest you purchase a disk set for your MBP as you will probably need it in the future.

Looking at what you posted, it appears you still have two partitions existing on the internal hard drive unless there is an additional removable hard drive inserted in the bus slot on the MBP. (It's physically impossible to have two internal hard drives in a MBP)

Try again... This time boot the machine with install DVD disk One and run the Disk Utility direct from the DVD. Erase the HDD first, create a single partition and format it as HFS+, and then install the operating system.

Regards.
 
OP
V
Joined
Oct 1, 2008
Messages
11
Reaction score
0
Points
1
Sorry for the late reply...

Wouldn't the fact that it shows disk0 and disk1 mean there is 2 physical drives? This is true for Solaris, cant say about MAC as I am new to it.



Filesystem Size Used Avail Capacity Mounted on
/dev/disk0s2 186Gi 45Gi 141Gi 25% /
devfs 109Ki 109Ki 0Bi 100% /dev
fdesc 1.0Ki 1.0Ki 0Bi 100% /dev
map -hosts 0Bi 0Bi 0Bi 100% /net
map auto_home 0Bi 0Bi 0Bi 100% /home
/dev/disk1s2 290Gi 149Gi 141Gi 52% /Users/savona


Where is the bus slot for the second drive? I dont see anything removable.
 

rman


Retired Staff
Joined
Dec 24, 2002
Messages
12,637
Reaction score
168
Points
63
Location
Los Angeles, California
Your Mac's Specs
14in MacBook Pro M1 Max 32GB 2TB
Here is mine:

df -g
Filesystem 1G-blocks Used Available Capacity Mounted on
/dev/disk0s2 465 98 366 22% /
devfs 0 0 0 100% /dev
fdesc 0 0 0 100% /dev
map -hosts 0 0 0 100% /net
map auto_home 0 0 0 100% /home
/dev/disk1s2 465 110 354 24% /Volumes/Mac HD
/dev/disk2s2 465 89 376 20% /Volumes/Macintosh HD 2
/dev/disk3s2 99 94 5 95% /Volumes/Macintosh HD BK
/dev/disk3s3 365 165 199 46% /Volumes/Mac HD 3

I have four internal disks as you can see

/dev/disk0s2
/dev/disk1s2
/dev/disk2s2

The disk below has two partitions
/dev/disk3s2
/dev/disk3s3
 
Joined
Mar 9, 2004
Messages
9,065
Reaction score
331
Points
83
Location
Munich
Your Mac's Specs
Aluminium Macbook 2.4 Ghz 4GB RAM, SSD 24" Samsung Display, iPhone 4, iPad 2
Check Disk Utility. You should see one physical disk show up with several partitions...
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top