System Profiler will not recognize installed hard drive if drive is in use by VMWare
System Information will not recognize installed Hard Drive (Boot Camp) when in use by VMWare.
I work in IT for a School District and I am creating a Script that system information about the computer. I am testing this on a Mac Pro with two internal hard drives. One drive is Mac OS 10.8 and the other drive is a Boot Camp Drive that is used by VMWare Fusion.
When I run System Information via the GUI or system_profiler via Terminal, both drives show up just fine. However, if I launch VMWare Fusion and run Windows from my Boot Camp drive, then run System Information via the GUI or system_profiler via Terminal, the Boot Camp Drive is no longer listed as an installed drive.
Example:
In the Terminal, I enter the following command.
system_profiler SPStorageDataType
Then it returns this information.
Storage:
Lion Client:
Available: 217.84 GB (217,836,306,432 bytes)
Capacity: 639.28 GB (639,275,270,144 bytes)
Mount Point: /
File System: Journaled HFS+
Writable: Yes
Ignore Ownership: No
BSD Name: disk0s2
Volume UUID: CCB501BF-AF24-30E7-A938-5A4E52DF14D7
Physical Drive:
Media Name: WDC WD6400AAKS-41H2B0 Media
Medium Type: Rotational
Protocol: SATA
Internal: Yes
Partition Map Type: GPT (GUID Partition Table)
S.M.A.R.T. Status: Verified
BOOTCAMP:
Available: 255.58 GB (255,575,560,192 bytes)
Capacity: 319.79 GB (319,790,510,080 bytes)
Mount Point: /Volumes/BOOTCAMP
File System: NTFS
Writable: No
Ignore Ownership: Yes
BSD Name: disk1s2
Volume UUID: D4B39D4E-E244-403C-AE4D-4D58397130DE
Physical Drive:
Media Name: WDC WD6400AAKS-41H2B0 Media
Medium Type: Rotational
Protocol: SATA
Internal: Yes
Partition Map Type: GPT (GUID Partition Table)
S.M.A.R.T. Status: Verified
Then I launch VMWare, which uses the Boot Camp drive. The once again run the same command from the Terminal Command and I get this.
Storage:
Lion Client:
Available: 213.39 GB (213,392,244,736 bytes)
Capacity: 639.28 GB (639,275,270,144 bytes)
Mount Point: /
File System: Journaled HFS+
Writable: Yes
Ignore Ownership: No
BSD Name: disk0s2
Volume UUID: CCB501BF-AF24-30E7-A938-5A4E52DF14D7
Physical Drive:
Media Name: WDC WD6400AAKS-41H2B0 Media
Medium Type: Rotational
Protocol: SATA
Internal: Yes
Partition Map Type: GPT (GUID Partition Table)
S.M.A.R.T. Status: Verified
The Boot Camp Drive is no longer listed.
I assume this is due to the the fact that the drive is "In Use" however is seems odd since the Mac drive is also in use and it appears without problem. I assume there is no "fix" for this, I was just wondering if someone may have an explaination why?
Also, I do realize that I can query the various interface types like system_profiler SPSerialATADataType to get all the properly installed phycial drives, but then I would have to query all possible interface types, isolate only devices containing Volumes, then consoldate the information to just the information that I need. I was hoping for a cleaner query.
MacPro Early 2009 (MacPro4,1), Mac OS X (10.6.5)