Īvahi is a software solution enabling an easy-to-use, zero-configuration local network. Hosts: files mdns4_minimal dns mdns4 mdnsĪnd update afp.conf # /etc/netatalk/afp.confĪdding the following will allow support for home directories. # `info libc "Name Service Switch"' for information about this file. # If you have the `glibc-doc-reference' and `info' packages installed, try: # Example configuration of GNU Name Service Switch functionality. Zeroconf support: Avahi Spotlight support: Yes afpd: /usr/sbin/afpd cnid_metad: /usr/sbin/cnid_metad tracker manager: /usr/bin/tracker daemon dbus-daemon: /usr/bin/dbus-daemon afp.conf: /etc/netatalk/afp.conf nf: /etc/netatalk/nf netatalk lock file: /var/lock/netatalk Netatalk has been compiled with support for these features: Please see the file COPYING for further information and details. The terms of the GNU General Public License as published by the Free Softwareįoundation either version 2 of the License, or (at your option) any later This program is free software you can redistribute it and/or modify it under Netatalk 3.1.12 - Netatalk AFP server service controller daemon # sudo apt-get install netatalk -yĬheck netatalk installed version 3.x # netatalk -V Version 3.x is now available from the Pi repository so can install wit apt-get. It is Apple’s alternative to the Server Message Block (SMB) and Network File System (NFS) protocols. Netatalk provides Apple Filing Protocol (APF) which is Apple’s proprietary network protocol for delivering files over a network. Test that mounting works as expected $ sudo mount -aįilesystem Size Used Avail Use% Mounted on Tmpfs /tmp tmpfs nodev,nosuid,size=512M 0 0 Tmpfs /var/tmp tmpfs nodev,nosuid,size=512M 0 0 PARTUUID=74129c0a-02 / ext4 defaults,noatime 0 1 PARTUUID=74129c0a-01 /boot vfat defaults 0 2 Then edit fstab to mount the USB hard drive on boot proc /proc proc defaults 0 0 Will format as hfplus as native filesystem of Mac OS X and label accordingly # sudo mkfs.hfsplus /dev/sda1 -v TimeMachineĬreate mount point and update permissions to allow user access # sudo mkdir /media/tm & sudo chmod -R 777 /media/tm & sudo chown root:users /media/tmĭetermine the UUID of your USB hard drive as will be use for fstab $ ls -lha /dev/disk/by-uuidĭrwxr-xr-x 7 root root 140 Oct 7 13:13. I/O size (minimum/optimal): 512 bytes / 512 bytesĭevice Boot Start End Sectors Size Id Type Sector size (logical/physical): 512 bytes / 512 bytes So this is what an fdisk -l shows when the device has the SD card to boot and OS (/dev/mmcdlk0p1/2) and ext SSD drive with single partition (/dev/sda) Disk /dev/mmcblk0: 14.9 GiB, 15931539456 bytes, 31116288 sectors # sudo apt-get install hfsutils hfsprogs -y Here I will format an USB3 SSD hard drive using hfsplus. The RPI4B is able to supply a total of 1.2 amps to its 4 USB ports if the RPi4B is powered from a 3 amp power supply and supports USB3 interface (5 Gb/s) so will be a practical match.įirst ensure OS is up to date # sudo apt-get update & sudo apt-get upgrade -y The SSD will consume 0.60A (2.8W) and transfer over SATA III (6 Gb/s). Using the ‘Green’ range as they are designed to be low power / preformance. There must be a RAID option with external power for the capacity but for now going with a WD 240TB Green Drive to verify its operation. The bigger picture is to replace the XEON based device that hosts ~ 4TB for backups. I want to be able to replace the data directory as required so proceeding with an separate drive. With a 4 and latest OS it is a case of selecting the SSD drive instead of a SD card when writing the image. Will boot from the SD card as want separate data partition. The RPI4B firmware natively supports USB 3.0 and booting from SSD drives. We will install Net talk to provide APF and Avahi to advertise and host on a external drive.
0 Comments
Leave a Reply. |