3

I'm going put SSD drive instead of DVD and move OS-X to SSD. Big capacity HDD I'm gonig leave to have some place for large multimedia data and archives.

So I whant keep HHD in spindle off mode most time and mount it just on demand, what should I do to prevent HDD to be mounted and powered while system boot (after restart) and how to manage spindle with the command line?

Thank you!

2 Answers 2

4

to disable the drive from mounting during boot :

Find the uuid of the drive (in terminal):

diskutil info /Volumes/[name]

Then create a new file called /etc/fstab and in it put

UUID=34DFD44D-489C-1C22-01D8-DFDF288C102F none hfs rw,noauto 0 0

just replace the UUID above with the actual UUID of the drive.

Use the following command to view a list of drives/partitions

diskutil list

And then issue the mount command to mount the drive

sudo mount /dev/disk1s1 /Volumes/DriveName

Obviously change the disk id and mount folder to suit your system.

2
  • Better use diskutil mount [name] and diskutil umount [name].
    – mspasov
    Apr 15, 2011 at 14:44
  • Why it is better?
    – A B
    Apr 15, 2011 at 17:38
0

sudo diskutil eject /dev/disk1 will turn off spindle

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .