Ensure you point to the correct disks and don't destroy your data if you're on some other system. My drives show up as /dev/sda and /dev/sdb on my RPi (with the OS on the SD card device /dev/mmcblk0). Be careful with the following instructions, as they can destroy disk contents. Format the USB drives as a BtrFS RAID1 mirror.You might need to reboot when done, depending on the updates installed. Set your hostname to something meaningful (I've called mine "timemachine"), set your timezone, connect to WiFi if you want (Ethernet cable is fine too, obviously much faster on the new RPi4 with real Gigabit), and update the software. If you're on a Raspberry Pi, run the "raspi-config". You can install anything you like, and there's heaps of options here: Install Raspbian (soon to be renamed to "Raspberry Pi OS"). 200MB/s sustained for a USB3 spindle drive. That just sends raw data from the disk to nowhere and measures the read speed. Buy 2x desktop USB3 hard drives (3.5" 4TB, external power each), plugged them in the USB3 ports of the RPi.2GB is total overkill, as this configuration uses under 100MB for kernel+applications. I grabbed a Model 4B with 2GB RAM, as it was the cheapest I could find. However on a home or small office network, it's tolerable, and the trade off is things work "like magic" without manual configuration needed.īuy a Raspberry Pi. Please note that this is a terrible thing for large corporate networks, as it relies heavily on noisy broadcast traffic. It's a way for service to announce themselves on a network. Avahi - this is an open source implementation of the mDNS "zero-configuration" protocol, which is the same thing as Bonjour. Don't confuse this with Apple's new APFS on-disk file system, which is something totally different. Netatalk - an open source implementation of AFP (Apple Filing Protocol), which lets a Mac+TimeMachine talk to your device natively over a network. Bang it in a Linux VM, put it on a FreeNAS type device, whatever. But any POSIX compliant operating system will do. Thankfully, there's not much to the device, and everything that it uses is open source. That all came to an end in 2018 when Apple canned the product. Super handy, and happened automatically without having to plug drives in to your Mac. A little WiFi enabled NAS that allowed Macs on a network to back up via Apple Time Machine and store incremental file changes. If your network gets bigger and packets collision occur (these Zeroconf devices constantly broadcast 'I am here, anybody out there?'), you may abandon the comfort of Zeroconf and go DHCP-fixed-IP for the RPi in question.Apple used to make a thing called a Time Capsule, which was pretty cool. Hint: do a and check for correct operations of avahi. In the end Zeroconf is running as a service in application layer, not in infrastructure, and only on a fully functional network base.įirst quick check is always to see whether is accessible from the Mac/Computers browser. Many times it is more a matter of the underlying network configuration and/or the avahi demon not fully started (which won't until the underlying network configuration is exactly correct, see the beginning of the sentence. Be aware some Mac systems change that name according to your language setting of the system!ītw, the Bonjour part is handled by avahi on the Pi, not in Samba. At the Pi you'll find this in /etc/samba/smb.conf and on Mac at the system settings - network - options - WINS tab. Make sure the Pi and the Mac are in the same workgroup for fully correct SMB. But maybe it's a configuration issue with Samba?įirst thing to check (and the most prominent error location) is the Workgroup settings, as the Pi announces itself as a Microsoft Windows Network.
0 Comments
Leave a Reply. |