Small Scientist Mac OS
Learning Unix for Mac OS X Tiger provides Mac users with a user-friendly tour of the Unix world concealed beneath Mac OS X's hood and shows how to make the most use of the command-line tools. Thoroughly revised and updated for Mac OS X Tiger, this new edition introduces Mac users to the Terminal application and shows you how to navigate the. Linus Torvalds, Finnish computer scientist who was the principal force behind the development of the Linux operating system. At age 10 Torvalds began to dabble in computer programming on his grandfather’s Commodore VIC-20. In 1991, while a computer science student at the University of Helsinki. This week's best deals: $100 off the Mac Mini M1 and more. Plus an all-time low on the latest MacBook Air. Twitter Facebook Reddit Mail.
- The USB 3.0 UASP adapter I'm using sometimes changes the disk serial number, which causes zpool difficulty finding the disk after unplug or reboot. Fix: do a
zpool export
followed byzpool import
immediately after pool creation renames the disks in vdev to use media ID, which is more robust. The media IDs are created the same time the disks are added to the pool and automatically partitioned and formatted (with the GPT scheme), so you can't create a pool with disks referenced by media IDs. - If a disk is lost due to serial number change, the only way to get it back is by creating the missing symlink under /var/run/disk/by-serial manually and export then import the pool again. ZFS does not allow replacing a disk that is still part of a pool.
- When running
zpool import SomePool
withumask 0077
, the parent '..
' directory of/Volume/SomePool
becomes accessible only to root and permission denied for all other users, which causes the Finder to crash when creating folders. The Finder also displays existing directories (created in Terminal) as a blank document with no content. Just export and rerunzpool import
after settingumask 0022
. - ZFS by default is case sensitive. Some application bundles are built incorrectly, which causes a variety of errors when I open the application such as 'You can't open the application _______ because it may be damaged or incomplete' or 'The application cannot be opened because its executable is missing.' I ended up creating a dedicated Applications filesystem under the pool with
casesensitivity=insensitive
option (which can only be set when creating a filesystem). - Remember to set
zfs set com.apple.mimic_hfs=on
if you're planning to store Photos library on it.
I'm still experimenting with this setup, and in the process managed to toast an older 512GB SSD because one of my older USB 3.0 to SATA adapters had a bad contact, causing rapid power losses that fried the NAND. Trying to read/write problematic blocks would cause the drive to stall. But I managed to wipe it (under Mac OS X) by using VirtualBox running Ubuntu. Make sure the VM setting supplies USB 3.0 devices, or you'll get VERR_PDB_NO_USB_PORTS when attaching the USB/SATA adapter to the VM. Assuming the device shows up in the Linux guest as /dev/sdb (please double check, as this will be destructive), run:
After this, the SSD is empty and in a clean slate, and I could then format it.
Initially it seemed to be a good idea to use USB 3.0 hub and a bunch of USB 3.0 to SATA adapters to accomplish the disk array because it's much cheaper than an enclosure, but I've had many problems with it. The USB 3.0 hub sometimes incorrectly recognizes some adapters as USB 2.0 only, and this limits the speed of the whole array to USB 2.0 speed. I've also experienced flaky ports causing checksum errors. There are too many components that could go wrong and did go wrong, so I'm now getting a proper RAID enclosure as I should have in the first place.
Update on November 28:
The drive died again after writing some odd GBs of data on it. It seems that TRIM limits the number of blocks it can operate on at once, so I didn't actually wipe the whole disk. I also tried ATA secure erase but the drive died again, so it didn't seem to free up the blocks. I concocted a script:
Even though it stalls from time to time requiring manual intervention, it does seem that the more blocks I unmapped, the more I could write, so I'm hopeful.
Update on November 30:
Small Scientist Mac Os Catalina
It turned out the aforementioned SSD drive didn't die. It's due to another flaky USB/SATA adapter. I replaced it with another, and the drive is working merrily. In case anyone's wondering, those IOcrest adapters seem to have a high failure rate. In any case, my USB woes are solved altogether with the Akitio Thunder2 Mini.