Optimal setup of a Mac with relatively small amounts of drive space


(Ray Kloss) #1

I am getting a new computer that will have 1Tb of SSD on board. I am used to having more (3 T on my current fusion drive). Some people have suggested putting the OS on the 1 TB and the rest on an external drive. I am not sure how to do that. Also, would my time machine back up the external drive where all my important data is?

I thought about combing the drives, but not sure that would be a safe thing to do.

Have the people dealt with this and come up with good solutions?


(Allen Gainsford) #2

I moved from a 2009 Power Mac to a new iMac with a 512GB SSD.

I keep the OS and all my applications on the SSD.

I keep my music, photos and video files on an external drive.

So far, I haven’t had any space problems on the SSD. I’ve had to switch the external drive to a bigger one :slight_smile:

Cheers,

Allen


(Ryoichi Morita) #3

About all I have on my internal drive are System, Library and Application folders and almost everything is stored on pCloud. Of course, this method requires a (relatively) fast Internet speed. And you’re screwed if your Internet is down, On the other hand, you don’t have to invest in external drives.


(James R Cutler) #4

One current personal desktop Mini boots from Apple’s 500GB APFS SSD. All Applications and Virtual Machine files are on the boot volume. User home folders are on the boot volume with the special exception of my Movies, Music, and Pictures folders which are on a Media volume on a 4TB HFS+ external drive. There is also a Document Archive volume on an external 2TB HFS+ drive. Even with several VMs, the boot volume has about 100GB free.

Time Machine has no problem backing up all three volumes. Also, Carbon Copy Cloner uses three linked tasks to clone all three volumes to multi-partition external drives for off-site backup.

This storage scheme has been used through several macOS versions and survived the boot drive transition to APFS. The Mojave version of APFS seems to be quite stable – only the confusion about actual APFS disk usage is sometimes bothersome.


(Ray Kloss) #5

This sounds like a setup I would do. Do the offline folders have Aliases in the home folder, or are other ways you redirected them to the external drive?


(James R Cutler) #6

Aliases are not robust for multiple drive instances. Soft links persist through media unavailable events.

Here is the shell command file I used (sanitized and commented). The preparatory comments are highly important.

#!/bin/sh
# CreateMediaSoftLinks.command  jrc 2018-11-01
#
# CreateMediaSoftLinks for ThisUser on ThisMaC
#   "ThisMacMedia" is a placeholder for the external volume to hold the media files.
#   "ThisUser" is a placeholder for the short username of the file owner affected.
#	Replace these placeholders with the desired values.
#
#   Knowledge of disk management is assumed, including erasing, partitioning, and setting ownership and access.
#==================================================================
# PREPARATION STEPS:
#
#   Make your backups -- failure to do so is on your head!
#
# In Finder, using account ThisUser:
#
#   Create /Volumes/ThisMacMedia/ThisUser/Movies
#   Create /Volumes/ThisMacMedia/ThisUser/Music
#   Create /Volumes/ThisMacMedia/ThisUser/Pictures
#
#   Copy contents of /Users/ThisUser/Movies to /Volumes/ThisMacMedia/ThisUser/Movies
#   Copy contents of /Users/ThisUser/Music to /Volumes/ThisMacMedia/ThisUser/Music
#   Copy contents of /Users/ThisUser/Pictures to /Volumes/ThisMacMedia/ThisUser/Pictures
#
#   Make at least a cursory check of the copied files.
# 
#==================================================================
#
# The following steps should be done from administrative account other than ThisUser
# and may require booting from another volume if Mojave security rules interfere with rm commands.
#
# Remove existing directories on boot drive user account
sudo rm -rf /Users/ThisUser/Movies;
sudo rm -rf /Users/ThisUser/Music;
sudo rm -rf /Users/ThisUser/Pictures;
#
# Create Soft Links
sudo ln -s  /Volumes/ThisMacMedia/ThisUser/Movies   /Users/ThisUser/Movies;
sudo ln -s  /Volumes/ThisMacMedia/ThisUser/Music    /Users/ThisUser/Music;
sudo ln -s  /Volumes/ThisMacMedia/ThisUser/Pictures /Users/ThisUser/Pictures;
#   
exit;

(Dana Schwartz) #7

I think some of the “Music”, “Movies”, and “Pictures” directories didn’t get pasted right in the comments and source code?


(James R Cutler) #8

Thank you – I really need an Editor (always have).

The directory names should be correct now.


(frederico) #9

The previous advice is all very good and effective; please also be aware you can easily map an entire user directory to another volume/drive, and while logged in as a different Admin user, use the UUID target feature found in System Prefs->Users & Groups-> [Username]; Right-Click for ‘Advanced Options’; select the new target destination of the (already copied) target user folder.

This can be very helpful if you have an infrequent user, but whose directory – especially massive temp and cache files, massive Mail, Photos, etc – takes up precious space on your fastest drive; that user suffers from slower disk speeds, but is presumably already not a high priority user.

@james.cutler is also correct that Symbolic Links are the only proper way to push individual directories onto another volume/disk, but I do want to caution that if you edit audio/music/movies/video, be sure you create the current project directories on your local fast media, else you will be screaming at rendering times. Instead of mapping your entire Music/Movies/Photos directories (which are frequently also the default locations for AV apps projects), consider instead linking only the largest and least-speed-dependent of these subdirectories.

As for directory structure on the second drive/volume, consider, e.g., [otherdiskname]/Users/[same short username]/Movies, so in case you ever add another user, keeping these directories separate is easier; plus you can more easily set user permissions on these external directories to better respect privacy; also, if you ever have to do a migration, Migration Assistant will then better manage the affair, as will Time Machine, creating a unified User backup, as opposed to backups of separate volumes. I wish we had better, easier control of Hard Links, as this would then become invisible even to us as the user (as is the case with your Fusion drive).

Further, if you have a HUGE Applications or Utilities folder, or infrequently used but very space-consuming individual apps, these can also be placed in subdirectories, which are then also linked to separate volumes/drives; the same is true for /Library/Application Support/[app name], but it’s getting more complicated as macOS tightens up security.

The days when you could easily edit FSTAB and map Applications, VM, et al, to other volumes, is sadly long past. Even with my vintage Mac Pro, stuffed internally with 14 individual drives (4 HDD, 10 SSD), I still use, and since the earliest days of System 7, and especially with OS X, always kept my System, Applications & Utilities, and User directories as individual volumes. If my system gets whacked, I need only restore my system (or boot from emergency clone), and do not ever suffer the tremendously long times required to restore a unified volume containing all data and applications. But for an app license here and there that needs revalidating, it’s a flawless strategy, and isn’t as complex as it seems.

If Apple ever does release a new Mac Pro, based on current pricing, there is no way in heck I’m going to be able to afford (let alone be willing to pay) their outrageous (if justified) non-upgradeable permanent SSD prices in the sizes I would require for comfortable all-internal storage; unless they shock me by allowing for a few M.2 or gawdforbid SATA connections, or enough PCIe slots (HA!) to host additional internal storage, I don’t relish the games I’m going to face with ever-tightening security and the pushback from the T2 controller.

My RR840 RAID-0, striped with a pile of relatively inexpensive SSDs can easily top 1600MBps; while it’s not the 2600MBps of all the new Samsung Polaris-controlled, RAID-0 internal storage Apple is mandating for everyone, it’s still wicked fast (compared to HDD, single SSD and esp. Fusion) and allows me to keep loving a ten year old 8 core Xeon Mac Pro, and I have pure freedom to manage my over 40TB of INTERNAL storage, before we even discuss my externals.

Cheers

F