I have a 2011 MBP-15 that came with Lion-10.7. I recently installed an OptiBay and SSD, with the 60GB SSD in the normal laptop HD slot and the magnetic disk in the OptiBay (in the CDROM slot). Everything works OK, except:
On reboots, the system assigns disk0 and disk1 apparently randomly. It works either way because the Mac bootloader can find the system partition and use it, but my Parallels (PD7) virtual machines (which use raw partitions) get confused when their partitions switch from /dev/disk0s3 to /dev/disk1s3.
Here's a script from a terminal, taken before and after a reboot, showing the disk IDs changing. No other monkey business going on, just "df", reboot, "df" again. (The scrollback into the last session that Terminal provides is kinda creepy, but it sure was handy in this case!)
Is there any way to fix disk enumeration? (In the Old Days, you'd do it with a primary/secondary or master/slave jumper, but there must be something better now...)
On reboots, the system assigns disk0 and disk1 apparently randomly. It works either way because the Mac bootloader can find the system partition and use it, but my Parallels (PD7) virtual machines (which use raw partitions) get confused when their partitions switch from /dev/disk0s3 to /dev/disk1s3.
Here's a script from a terminal, taken before and after a reboot, showing the disk IDs changing. No other monkey business going on, just "df", reboot, "df" again. (The scrollback into the last session that Terminal provides is kinda creepy, but it sure was handy in this case!)
Code:
Last login: Thu Sep 29 23:13:06 on console
user@system:~$ df [COLOR="Red"](before reboot)[/COLOR]
Filesystem 512-blocks Used Available Capacity Mounted on
[COLOR="RoyalBlue"]/dev/disk1s2[/COLOR] 115552184 77606568 37433616 68% /
devfs 386 386 0 100% /dev
/dev/disk0s4 113281248 306416 112974832 1% /Volumes/Spare
/dev/disk0s5 97656248 22693312 74962936 24% /Volumes/Mersenne
map -hosts 0 0 0 100% /net
map auto_home 0 0 0 100% /home
localhost:/oUocRgCoedIF3u3LsZiQ8Z 115552184 115552184 0 100% /Volumes/MobileBackups
user@system:~$
Last login: Thu Sep 29 23:39:42 on ttys000
user@system:~$ df [COLOR="Red"](after reboot)[/COLOR]
Filesystem 512-blocks Used Available Capacity Mounted on
[COLOR="RoyalBlue"]/dev/disk0s2[/COLOR] 115552184 77647240 37392944 68% /
devfs 386 386 0 100% /dev
/dev/disk1s4 113281248 306432 112974816 1% /Volumes/Spare
/dev/disk1s5 97656248 22703752 74952496 24% /Volumes/Mersenne
map -hosts 0 0 0 100% /net
map auto_home 0 0 0 100% /home
localhost:/Wh5vX7CWR-Z6W0lcB38ctg 115552184 115552184 0 100% /Volumes/MobileBackups
Is there any way to fix disk enumeration? (In the Old Days, you'd do it with a primary/secondary or master/slave jumper, but there must be something better now...)