Free purgeable space on MacOS Mojave

I’ve recently deleted a large preview database file for Lightroom and was happy about the 80GB won free space. However, the MacOS disk utility as well as the terminal command “df -h” did not show the free space. I’ve also checked the trash and cleared it, but there was no change in the available disk space.

I’ve taken a closer look at the free space column in the disk utility and found a new variable behind the available disk space: GB purgeable.

However, there is nowhere an option to purge this space. Upon further searching I’ve found this tip on stack overflow:

It looks like TimeMachine takes up a lot of free space in APFS snapshots which needs manual cleaning using this command:

tmutil thinlocalsnapshots / $((100 * 1024 * 1204 * 1024)) 4

This command tries to free 100GB space from the local snapshots. It’s using the highest priority (4) to speed up the cleaning.

After I’ve executed that command, the available free disk space was shown correctly again.

Slow SMB transfers in Mac OS 10.12.2

I’m using a 802.11ac WLAN to connect to my Synology NAS. With the last Mac OS 10.12.2 update the network performance was catastrophic when I tried to access the NAS via SMB. At first I thought this might have been caused by the WLAN connection but even with a Gigabit LAN connection my transfer rates were around 3-5MB/s.

After a short search online, I’ve a few hits describing the actual problem:

Apple uses their own version of SMB and enabled client signing to mitigate against Man in the middel attacks. Therefore all connections underly this signing process and are way slower.

Therefore I’ve disabled client-signing on my mac using this command:

printf "[default]\nsigning_required=no\n" | sudo tee /etc/nsmb.conf >/dev/null

This will write this content

[default]
signing_required=no

 

to the file /etc/nsmb.conf. After you’ve set this value you need to unmount all samba shares. If you’ll reconnect now, you’ll witness a much better performance, starting with faster loading of network shares.

You can revert this change with

sudo rm /etc/nsmb.conf

 

Installing Mac OS Sierra (10.12) on a MacbookPro 5,5 (Mid 2009)

Mac OS Sierra was released yesterday. However, our good old MacbookPro 5,5 (Mid 2009) isn’t officially supported anymore. Luckily, there are people who figure out what is necessary to patch the official installation so that it can be installed again 😉

I’ve backuped the Macbook and gave the given instructions a try. Instead of reinstalling everything I only updated from El Capitan to Sierra. After the first restart, the Macbook shut down, as it didn’t found a valid boot partition.

So I rebooted again to the patched installation media and ran the proposed “macOS Post Install…”. I’ve selected my type of Macbook and let it patch. Additionally I’ve ran the “Force Cache Rebuild” command and rebooted.

The Macbook booted to Sierra 🙂 However, the FaceTime camera wasn’t detected and I wasn’t able to get it working again. Since there was a “Legacy USB Support injector” I think this might cause the problem. The FaceTime camera is connected internally over USB so it seems to have some problems.

I don’t think this is a big problem. You’ll probably get this somehow fixed with a little time and patience. However, since I’m running a real Mac hardware (and no Hackintosh), I don’t want to fiddle around with such basic hardware problems.

Therefore I can only recommend you to leave your Macbook on El Capitan (10.11) as the largest supported OS. Seems that Apple wants to get rid of devices older than 7 years, even if they are still doing great (with a SSD and 8GB RAM).

Nikon D40 Kamera Icons

Als stolzer neuer Besitzer einer Nikon D40 brauchte ich etwas mehr Farbe und Style auf meinem Mac 😉

Daher hab ich ne Runde gegooglet und habe dann hier dieses schöne Nikon D40 Icon Set gefunden. Damit kann man wunderbar das Icon von iPhoto und dem Datenträger selber auf dem Desktop ersetzen. Eine schöne Sache, wie ich finde 🙂

Übrigens: Es sind auch ein paar Icons für die Windows User dabei…