AppleScript to open 2nd optical bay?

Yep, I know that with an Apple keyboard it’s Option-Eject. I’m using a Logitech diNovo Mac Edition keyboard and that combo opens the primary drawer only.
I know that I can do this by opening Disk Utility, choosing the drive, and clicking the “Open” button, but I'd prefer to have a script or other alternative. Any help would be appreciated.

Using Automator's Run Shell Script action, enter this text:
drutil -drive # tray eject
...where "#" is the number of the device. You can find out the number of the desired device by opening Terminal and entering drutil list.

Similar Messages

  • Using 2nd optical bay for 5th system HDD?

    Is it possible in the newly released Mac Pro to use the 2nd optical bay to house the system drive?
    I want to stripe 4 x SATAs in the main enclosures on a RAID-5 for HD capture/playout with a CalDigit Hardware RAID card and have OS + apps on the 5th drive.
    Is this possible? Has anyone done it with success?

    I have two drives in the lower optical drive bay on a 2006 model.
    MaxUpgrades has a kit for the older design, check and see if it is compatible. Sort of expensive kit. One drive should be easier.
    http://www.maxupgrades.com/istore/index.cfm

  • 2x SSD as RAID-0 in 2nd optical bay, orig. must function... also RAM ?

    Hey all I know this is kind of a long post but I think it would help a lot of people out to get all of this information together in one spot so please help me figure this out. Thanks in advance.
    I am purchasing a 3.33GHz Hexcore MP, aside from processor stock from Apple. My plans are:
    Add 2x 4GB RAM to 2 of the 3 orig. 1GB chips, for a theoretical 10GB (for now) Is this feasible/advantageous?
    2x 50GB OWC Mercury Pro RE SSDs as RAID-0, boot volume, in 2nd optical bay. The catch is I'd really like to keep the std. optical drive functional in the first bay.
    4x 1TB 7200 drives in HD bays, two RAID-0 arrays, second as mirror of first.
    So here are my series of questions:
    1 - How can I hook up the 2 SSDs in the second bay as far as SATA/power are concerned. I do not want to hook them up externally and want a good fast pipeline for them, yet I do not want to disconnect the stock optical drive. Do I need any additional hardware/cables for an internal connection? I've also heard of a sort of hardware RAID enclosure that houses the two SSDs in the optical drive, occupying only one SATA/power connection and sharing it between the two of them. Does anyone know any specific products, and is the performance as good as two dedicated SATA connections?
    2 - using Disk Utility (or similar), can the second RAID-0 2TB HDD set mirror the first, like two RAID-0s nested in a fat RAID-1, or, in a pinch, is Time Machine or cloning the way to go for redundancy there? The idea here is to not buy the RAID card.
    3 - Can I partition a RAID-0 stripe or is that just a bad idea? The idea is to partition off space on the two RAID-0 HDD sets to mirror the SSD set (thus cloning the boot drive), plus a small partition for a windows VM. Any better ideas how to accomplish redundancy for the boot volume and isolation for a Bootcamp/VM partition?
    I know this is a lot and may seem rather amateurish, but I'd really appreciate some help here. I'd like to get this ball rolling! Thanks in advance for your replies!
    Steve

    What are some of the 'other things' you refer to in this area that would yield a greater payback?
    • The biggest payback comes from having a separate System/Applications/Paging drive, by moving the Users folder off it completely.
    When you are running a program, it will read a User file, execute a little, then move into an area of the program or System that is not currently resident in RAM memory. This requires an access to the System Drive, to get a part of the program, a part of the System, or a part of a Paging file. Each access to the System/Applications/Paging area or drive takes longer because the arm was positioned to read the User file, and has to seek a long way to get to the System etc. area.
    Each time you access System stuff, this moves the arm away from your User input file, and the next User read will take longer because the drive arm has to be moved back to the User file.
    Separating System/Applications/Paging onto a separate drive from all User files speeds up everything you do.
    • If this drive is fast, that is better.
    Access time on a spinning disk varies varies, but it is commonly 10 to 20 milliseconds. It consists of seek time (time to move the arm to the track desired and verify that it has arrived at the proper track) and rotational latency (average time for the platter to spin around so that the required block is under the read/write head).
    At 7200 RPM, (120 spins/sec) one full spin takes 8.3 milliseconds, and half that amount is about 4.2 milliseconds. At 10,000 RPM, (166.6 spins/sec) one full spin takes only about 6 Milliseconds, and half that is only 3 milliseconds.
    A drive with a faster seek time, a higher RPM rate (which indirectly gives a faster transfer time), and a larger cache (approximately in that order) will speed up your System/Applications/Paging drive and make your Mac seem faster. For example, using a small 10,000 RPM Velociraptor instead of a 1TB 7200 RPM WD Black is snappier overall. It seeks faster and is spinning faster so the arm is positioned faster, the data get into read position faster (on average) and once reading has begun, the data are presented to the drive cache faster.
    Access time plus transfer time is usually dead time, in that little else can proceed until the data transfer is complete.
    • If this drive is a \[no seek time, no rotational latency, fast transfer rate] SSD, that is Much better.
    An SSD eliminate both seek time (positioning the arm to the track) and rotational latency (time waiting for the disc to spin around to the right block to be read) and substitutes a miniscule (by comparison) read time. Once reading has begun, a huge block of data is immediately available for transfer, so the effective data transfer rate is also much higher.
    • If this drive is an SSD Striped RAID, that is marginally better still, because it increases the effective transfer time.
    But the access time, the Big Boat-Anchor in this process, was almost eliminated by using the FIRST SSD. None of the typical seek-time and rotational latency gains of RAID-ing spinning disks are recovered by RAID-ing SSDs. The transfer rate is increased, often nearly doubled, but that is the smallest part of the delays caused by disk accessing.

  • MacPro RAID Card - working with SSDs in 2nd optical bay?

    I am planning to get a MP wit the Apple RAID card in order to configure 4 internal HDs as a RAID5. Does anyone have experience whether this setup would be compatible with one (or two) additional SSDs (boot drive) which will be connected via the 2nd optical bay.
    Does this work at all - I understand the RAID card changes from SATA to SAS ports. I am not interested to include the SSDs in the RAID setup but would like to know whether this would work at all or whether I should better plan without the RAID card.
    Thanks
    Tobias

    I am planning to get a MP wit the Apple RAID card in order to configure 4 internal HDs as a RAID5. Does anyone have experience whether this setup would be compatible with one (or two) additional SSDs (boot drive) which will be connected via the 2nd optical bay.
    Does this work at all - I understand the RAID card changes from SATA to SAS ports. I am not interested to include the SSDs in the RAID setup but would like to know whether this would work at all or whether I should better plan without the RAID card.
    Thanks
    Tobias

  • Any concerns with a 5th HDD in 2nd optical bay?

    I'm thinking of adding a fifth hard disk drive to my Mac Pro 2.8GHz Quad-Core (Mid 2010) "Nehalem" machine. I'll use if for storing audio sample libraries, some of which will be used in streaming playback. Are there any special concerns or considerations I need to accommodate?
    (I know I'll need an adapter. I'm planning to use OWC's Multi-Mount® adapter.)
    Thanks!

    Should not be a problem but I would install a temperature monitor utility just to keep an eye on things.  OWC is a fine choice.  Depending on just how large a drive you need you might want to also consider a SSD.  For those you could just let lay in there without mounting an adapter although adapters are sold for them too.
    Note, from what I read 3TB drives run relatively "hot" so you might want to avoid putting those in there.  Not sure about Western Digital 3TB "green" drives though.

  • Which DVD burner for 2nd optical bay?

    Hi All,
    I really want to expand and get a faster, preferably dual layer DVD superdrive for my MDD. Considering I'm a total klutz and I want to do it myself, what is the best one to go with (ie. easy to install, no software issues etc). Any advice?
    Thanks in advance!
    Mel

    Hi, Melmac!
    Pioneer DVR-110 or DVR-111 and NEC ND3550A are favorites. Both are highly compatible with Tiger.
    If you can put up with multiple rebates, you can't beat the price on this NEC. (I'm using the same one in my QS 2002 Mac.)
    Here's a link to video install instructions. The process is quite simple. You could just add the new one and run two in the MDD, if you want...
    Gary

  • I opened my Mac to upgrade it and broke something near the optical bay drive. I don't have apple care, can I bring it to geek squad? Or will Apple fix it? How much?

    HELP! I broke something in my MacBook Pro by opening it up and trying to upgrade my optical bay drive to an SSD and my RAM and broke a cable near the optical bay drive. I bought it from best buy and my step dad was too stubborn when we first purchased it to buy best buy care or the apple care. Will Apple fix it? Will geek squad fix it? How much would it cost? Also my battery is starting to give out before this. I have taken the cable out that connects the battery to the motherboard and that worked, but how much would that cost to? I have a MacBook Pro mid 2012 13"

    Even had stubborn stepdad bought AppleCare, it would not have covered damages caused by your mucking about inside the unit.
    As we are all end-users like you and not professional computer repair peple, we can't estimate prices, especially if we don't know what broke.

  • SOLUTION:  DOES MY 2011 MACBOOK PRO HAVE 3G OR 6G IN OPTICAL BAY FOR SSD? *ANSWER*

    Hey guys, I just wanted to share the love and tell you I've finally spoken with Apple tech support (had to go through a handful of them to find the answer).. I have a [b][u]Late 2011 MacBook Pro (8,2) (MacBookPro8,2)[/b][/u], which was [B]*PURCHASED ON APRIL 4, 2012*[/B] and wanted to upgrade both the main HD and the optical bay/SuperDrive with Dual SSD's.. but saw so much conflicting info. on the internet about how some 2011 MacBook Pros only have 3G capabilities for the optical drive, where others (released later on) had 6G drive capabilities in BOTH the main drive and optical drive bay..
    so now I'm probably sure you're asking yourself...
    WHICH CONNECTOR DOES MY MACBOOK PRO SUPPORT FOR A [B]2ND SSD IN THE OPTICAL DRIVE/SUPERDRIVE BAY?[/B]
    3G (SATA-II) OR 6G (SATA-III)
    I literally had to call Apple a half a dozen times, spoke to 2 different managers, and then eventually got them to spill the beans.. The thing with Apple is that they beat around the bush big time when it comes to things like you personally replacing/upgrading components.. As soon as you bring up the connector for the optical bay, they start asking questions.. It eventually took me to 5th call to end up speaking with some chill dude who was able to pull up my "About My Mac" and interpret if I were part of the 2011-MacBook Pro releases which had the (6G main + 3G optical) or the group that had the (6G main + 6G optical).. Literally tried everywhere on the internet, but SO HAPPY to finally have a solid answer from Apple themselves..
    [b]My specific MacBook Pro Model:[/b]
    [u]MacBook Pro (8,2) - Late 2011 (purchased April 4, 2012) - 2.4GHz Intel Core i7 - 15"[/u]
    [B][U]*SOLUTION*[/B][/U]
    If you pull open your "About this Mac", click "More Info", and then "System Report", click on "SATA" on the left column, and then if your stats in those windows match the stats from the 2 screenshots I posted, then your Optical Drive Bay/SuperDrive is equipped and handle a 6G/SATA-III drive or SSD! I'm pretty sure that it doesn't matter at all what your "MacBookProX,x" number is, as long as you have #'s that match mine in those screenshots, you're good to go!
    ENJOY!

    Could you provide some rationale(s) behind it?  As far as I know, the mid 2010 Macbook Pro, the HDD is running via the SATA interface at running at 3.0 Gb/s, which is SATA II, and the Super-drive and/or the Optical drive, which is also running via SATA II interface, so I would assume the performance (i.e. primarily in speed) would be similar if not the same by placing the SSD drive in either one of the two places. 
    Also, wouldn't it be better by placing the SSD in the optical so the OEM HDD could be kept in the original main bay since it has the shock-sensing feature there?

  • SSD in Optical Bay is not working in a Macbook Pro 15" 2012.

    Can anyone tell me what can be the problem ? At the beginning I could use the SSD from the Optical Bay to read but not to write. Also was impossible to unmount it. I finally wiped it out with the OCZ TOOLBOX and I updated the firmware, but after that was impossible to create any partition. I removed the SSD form the Optical Bay and I moved it back in the 1st bay. Everything is working fine when is connected in the 1st bay. I finally formated the SSD and I put it back in the optical bay, but I still have the same issue, I can't unmount it or format it and I can only read from the SSD. Have in mind that my OS is running from a different SSD.What can I do with it ?
    Many thanks.

    MacBook Pro  / Mozilla Firefox / Netflix / Silverlight Update solved - DON'T DWNLOAD FROM NETFLIX
    I solved this problem tonight. I have a MacBook Pro with 10.5.8. I know, it's old. But I love my Netflix and I recently noticed that Firefox plays Netflix much better.  Then I suddenly got this message that I needed to download the latest Silverlight - it only takes 30 seconds! - WRONG.   However, after much searching, I finally did the steps in order and it worked.  
    This was after repeatedly downloading Silverlight from the Netflix site without success.  So here's what I did:
    1. Went to http://www.microsoft.com/getsilverlight/Get-Started/Install/Default.aspx
    2. Followed the directions. I felt like such an idiot for not doing it right before.
    3. Go to your hard drive and search for "Silverlight" to locate ANY existing Silverlight files: .dmg, etc.
        [also check your Libary/ Internet Plug-ins, but the above search is faster]
    4. Drag it all to the trash and empty it.
    5. Go back to the Get  Silverlight page and click on the Install on that page, not the Netflix site.
    6. Note the steps for Safari or Mozilla Firefox - I wanted Firefox, so I follwed those instructions.
    7. Once it's installed, close all the browsers and Restart that bad boy. Right away.
    8. Open a browser, go to Netflix and proceed to joyfully rot your brain with Netflix content. Yay!

  • MBP m2009 optical bay hdd no longer recognized in mavericks.  Anyone know why?  It worked fine before the upgrade.

    Hi, I recently upgraded my MBP (m2009) to Mavericks and now my 2nd HDD (internal optical bay) is no longer recognized.  It was fine before upgrade and works fine when I hook up externally.  Very strange.  HDD cable appears fine.  It does not show up in Disk Utility either.  Appreciate any ideas.  Thanks.

    Hi, I'm back home.  Here's the info:
      #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *120.0 GB   disk0
       1:                        EFI EFI                     209.7 MB   disk0s1
       2:                  Apple_HFS Mavericks SSD           119.7 GB   disk0s2
    Does this help?
    Thanks.

  • Better to use optical bay or drive bay for SSD?

    Just bought a mid-2012 MacPro.  Also purchased a Crucial 512GB SSD drive, which I intend to use for a boot drive.  I know that I can install the drive in one of the four slide out drive bays.  From what I can gather, it doesn't matter which bay I use, Mac will boot equally well from any of them.  My question is:  What about the second optical bay?  Is there any advantage to putting the SSD there?  (other than keeping another slot open for HDD?)  Have tried to research this a bit, but the model is brand-new, not a lot of info out there..  Mucho thanks!

    The model is not "new" it is just a tiny change in processor options, everything else is unchanged.
    To use in standard bays you need to use an adapter to fit. If you put it in the optical bay if you are like me, it will get moved, put on its side, so again, might want to 'tie it down."
    But it doesn't matter which location.
    With 512GB you probably are going to use it for much more than just the boot drive. Maybe Aperture or other libraries.
    As for research, there are products and reviews and Mac centric sites such as
    http://www.macperformanceguide.com - click on Articles & Topics

  • Mid 2007 iMac SSD in optical bay - cannot write to last block of device

    Hi All,
    I've just replaced my optical drive in my 20" mid 2007 iMac (Dual core, 2.4 Ghz, 2 Gb RAM running Mavericks) with a solid state drive (Crucial MX100). The plan is to transfer my boot disk to this drive while keeping my 1 Tb HDD for media and such.
    I followed the ifixit guide and it all went smoothly, however when I try to partition or erase the new SSD using Disk Utility, it tells me "Operation failed - cannot write to last block of the device". After googling, I found some answers here that suggested the optical bay cable may be faulty, so I bought a replacement and swapped it in, but no such luck, same problem. I also saw some threads suggesting that the boot disk should be in the original hard drive spot, but since this isn't the boot disk (yet) this shouldn't be the issue.
    My computer recognizes the new SSD but won't allow me to partition it. Any suggestions on how to proceed?
    Thanks!

    ds store wrote:
    3. The new disk is just bad.
    OK. If that's the case, I'll just get another disk.
    Lots of problems with that hybrid drives on Mac's on these forums, get another one that's 7,200 RPM and from Western Digital, not Seagate.
    With a 7,200 RPM you get more performance across the entire drive, not just what's cached in the small flash portion of the hybrid.
    https://discussions.apple.com/community/notebooks/macbook_pro?view=documents#/
    1. Hybrid drives: I'm on number 8 in 6 different machines, no problems at all, what happens when you try?
    2. The OP is not using a Hybrid.
    3. Lot's of problems with WD drives not booting on these forums though.

  • Which HDD in Optical Bay of 15" Mid-2009 MBP?

    Hi all,
    I'm wondering if anyone can help me decide the best drive to install in the opti bay of my mid 2009 15" macbook pro (2.8 intel core 2 duo).
    I recently upgraded to 8gb ram and switched out the original drive to a Samsund SDD and the results have been AWESOME (**see below if considering)! I'd now like to install a 1TB hard drive into the opti bay.
    Does anyone have an opinion on the following:
    1) What's the best drive for this?
    2) Will I get the 3.0gb transfer rate if I get a SATA II drive?  (I currently get 3.0gb rate with the SSD in the main bay.)
    3) Will the sound be unbearable?
    4) Will it overheat or make the fans perpetually run? (I had fan issues previously that were mostly solved with the upgrade, though they do still run often...any suggestions to solve this are also welcome.)
    5) Any suggestions on an optical bay adapter?  I've seen quite the gamut on Amazon.
    I plan on using the 1TB opti-bay drive for storing all of my music, movies, documents, photos, etc.  All apps/programs will be on the SDD.
    Thanks in advance for any help!
    **Side note for anyone considering a SDD+RAM update, I HIGHLY recommend it. It's truly like using a new machine!  I use a 2012 retina MBP (2.3 intel core i7, SSD, 8g RAM) at work and the difference in speeds are marginal (though I do wish I got the same battery life).  Highly recommend the upgrade for anyone interested! Parts below:
    SSD - http://www.amazon.com/gp/product/B00E3W19MO/ref=oh_details_o00_s00_i01?ie=UTF8&p sc=1
    RAM - http://www.amazon.com/gp/product/B008LTBJFM/ref=oh_details_o00_s00_i00?ie=UTF8&p sc=1

    Yes, your MacBook will run hotter and the fans will kick in more often. Only you can decide if it is acceptable.
    I suggest you can start by using the drive that you removed from your MBP and see if the heat & noise are within tolerable limits.
    Mechanical hard drives will not max out the sata interface. You can expect 80-100 MB/s with a mechanical hard drive.
    Most users recommend the OWC Datadoubler caddy for the optical bay available here.
    Good luck.

  • Optical bay hard drive ide to sata for tecra a2-s336

    hello guys, i have a question, i buy a optical bay hard drive for mi laptop but in the screen i got a error "ide1=error"  but my computer does not recognize the disk you buy 160GB sata in windows if it recognizes the adapter but not the hard drive any suggestions

    http://forum.notebookreview.com/toshiba/589654-guide-replacing-optical-drive-bay-portege-r835-p56x-h...
    http://forum.notebookreview.com/toshiba/591240-another-guide-install-ssd-replace-odd-hdd-portege-r83...

  • I installed an SSD in my optical bay, is it possible to install Windows 8 in that drive?

    [15" late 2011 MBP with preinstalled 8GB of RAM and 128GB of SSD]
    To the goddesses of this community:
    Here's the deal. Although I love OS X, but let's be realistic, there are some softwares out there only run on Windows
    Therefore, I am planning to buy an OCZ Vector 256GB SSD, transfer the OS X and all other files from the preinstalled 125GB SSD to the new OCZ Vector SSD.
    Then, install the new OCZ SSD in the hard drive bay.
    After that, wipe my old 128GB SSD, swap out my optical drive and install my old 128GB SSD in its place.
    Here's the critical part: I plan to install Windows 8 on my 128GB SSD which is currently empty and sitting in the optical bay.
    I have read some past posts saying it is not possible since 1. Boot Camp only allows Windows to be installed in the same SSD OS X is installed in. 2. You can not install Windows using Boot Camp Assistant without an internal optical drive.
    I wish to know it the above infomation is still true. If not, how to install Windows 8 in my new SSD?
    Thank you very much!

    A couple of things to note - first, you can't use Boot Camp to install Win8 on any drive except yoru start-up drive. Second, you'd want the SSD to be in the main HD bay, not the optical bay, if you plan to use it as a bootable OS X device.
    Clinton

Maybe you are looking for

  • WRT54G v. 6 continues to drop connection

    I have a WRT54G v 6 router and have installed the latest firmware(Oct 2009), however my connection continues to drop even though I have full "green bars" sitting next to my router. My DSL is with ATT and the connection to the modem is working fine. I

  • In place display of Portlets

    All, Is it possible to get portlet content to display in-place. E.g You have a scheduler portlet with a hyperlink on an event. When you click on the event, the details and the form should show up in the same portlet area. Right now, when I click on t

  • Master Templates is crashing FCP 7, In Maverick

    I just updated my iMac from Lion to Maveric. I was very disapointed that all the Master Templates HD are crashing FCP 7. Its amazing that Apple did not fix this issue with FCP7 upgrade. To get FCP X is out of the question. Is there a solution thanks.

  • How EXACTLY does Screen Sharing work on Lion?

    I tried to connect to my best friend's MacBook but it wouldn't work. Can anyone give me detailed information on how to set up screensharing on the Mac? We don't want to keep using Skype for that because it is extremely laggy and keeps crashing like i

  • Purge Cache by Essbase cube name

    Hi all, Is there any BI Server ODBC Driver Function that allows purging the BI server cache by Essbase cube name.Something similar to SAPurgeMCNCacheByCube for SAP/BW. I know that we can purge the cache by DB, by query and by table but not sure if we