Install Netatalk and Avahi apt-get install -y avahi-daemon netatalk I want to create a subvolume just for time machine: btrfs subvol create /raid/timemachine Either reboot or run "mount -a" to mount the disks. On boot, that will mount up my BtrFS RAID1 set as /raid. First, make the mount point: mkdir /raidĪnd then edit /etc/fstab to include (substituting in your own UUID, which will be different to mine): UUID=f9fe9e24-32eb-4f4d-83af-14f9d8cde4f7 /raid btrfs compress-force=zstd 0 0 So let's tell the system how to find them on boot. You can also use the "blkid" command to find it, for example: blkid | grep -i btrfs Mkfs.btrfs -m RAID1 -d RAID1 /dev/sda /dev/sdb Running as root/sudo: apt-get install -y btrfs-progs btrfs-compsize duperemove If you don't want BtrFS or have some other pre-configured storage, skip this bit and jump to the Netatalk install. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |