GitHub - igorleonovich/2ndrive-mac: Shell script for auto/manual ejecting second drive on boot (macOS)
Shell script for auto/manual ejecting second drive on boot (macOS) - igorleonovich/2ndrive-mac
I have a barely Kindergarten understanding of Terminal but I need to be able to disable the dead HDD of a Fusion Drive. I found this script that would accomplish this.
2ndrive
The Bash script for auto/manual ejecting second drive on Mac OS' boot.
If you have SSD and HDD and you do not want to use HDD constantly, it'll help you to decrease noise level of a computer and save battery power as well.
Steps
- Open repository folder in Terminal, run sh 2nd.sh.
- From the shown list please select the disk's number you want to make disabled automatically.
- Re-run Terminal to use new 2ndon and 2ndoff commands and restart the system to see how it works on a boot.
Using
- Selected drive will automatically be turned off each time Mac OS is loaded.
- Run 2ndon in Terminal to enable the disk
- Run 2ndoff in Terminal to disable the disk
Enjoy!