From nobody Tue Feb 8 14:36:08 2022 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C77BD19ABCF3 for ; Tue, 8 Feb 2022 14:36:10 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JtQYQ57hXz3sFM for ; Tue, 8 Feb 2022 14:36:10 +0000 (UTC) (envelope-from matthew@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644330970; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=R+N6dWwzmiH13YDXFa8RsV50Yd1KJTRYpPrMhm2Y8U0=; b=e847I/eRolT3zT/VycvDfVmR8wVkhpnre3UTgQKD89PTJa7jvyeqFX91itaqEpVMpXFG3n gGQcwHsZjnM0iImI/3JCEYJAHz+RJwyYDD3NU5BultrJVIX0nvegyLr9N8gZVeMW8/hOrA zTvqJdfoHJDqBW8yl8o/rf4iQms0ePz0kDYnGRb5JVpsGiSyuZs2jyDlOgBkkE9wdluBT+ aTOTyT/9sZcAatj3G8G1mdwUDB6p4NS/T6fIwNXGxIXRwUmmijkxu7vJUXXbtdeXQVT+eY 6MaDtz9P6UQecHRavi5WOio0QqiaLnfPu2WYuFAAxJBhbF8UUSnzL0bahwMbtA== Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "R3" (verified OK)) (Authenticated sender: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 7371D9148 for ; Tue, 8 Feb 2022 14:36:10 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from [IPV6:2001:8b0:151:1:c815:8e3b:9451:d23b] (unknown [IPv6:2001:8b0:151:1:c815:8e3b:9451:d23b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 999AA9736 for ; Tue, 8 Feb 2022 14:36:08 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/999AA9736; dkim=none; dkim-atps=neutral Message-ID: Date: Tue, 8 Feb 2022 14:36:08 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: Building a FreeBSD NAS Content-Language: en-GB To: questions@freebsd.org References: <188a6994-9428-6d65-6ac0-e8d92997a389@gmx.at> <2F6C212A-B857-4DA3-8EDE-92787941BB57@kukulies.org> From: Matthew Seaman In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644330970; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=R+N6dWwzmiH13YDXFa8RsV50Yd1KJTRYpPrMhm2Y8U0=; b=nNeCyj0C5/C3t1NMyjxDp0kTAHdfg3kUbvT2t1bhP/XfHip2h0o/8evnEst3XlYN2hGEUl ZTkXOtGoXbxULXYoTJWeqteClFCCYlCE57GFubQXmS2rjXLB/8/D9q+NteVFft0ZdVz+UQ loqy8MN6AEShhsHWDQ6l/sGYcd57QcMBJdz1RfiPdXcQzn/e1yYzb94Ty8yfsXsErcol3i UvL5iFPiQUAyo0K5JaY8tIGEqGWnGxTch/nxpK/AjYp7ZLcSPvhxTIj4GT87xD2EduiV2x BT3mpaUuWM14rV00QAwRkjAL0Lqs6KJqQn8XVqLj7MHJqIXQUOqiD8KYB9/CUw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644330970; a=rsa-sha256; cv=none; b=cM7jE3n3PzCNA3weLzvc2dUaHEcJwTur24ZfkPFGUh1c2NRXzBTJ31zGwYVfglf5Qhs8tQ HUBCI3rhcYrp1m4ONC4fIjwcyNQojKrmgStlIIg4oUdkK9KkcHwCavoq5AWCdhZsjLDXGM zflRmtsVjwpTD4SGE5A1cG2HcaOC9kcWOJyl6/iF+Xbg5oqLXM5EtFIaHCVqtaEHsgEMe3 R8qxrNvAqXfJsJ6yN/hD1cLKfOKz+QJjnXP7494/9KpX2xCRn3c/K24DK65Fh/hI/nJwn1 2RND+XwTuvvu3KT5a5xgs7uCKFd6Kv5Mw2r3vEIv8Bwy/bBJmCEkvV/OIksosw== ARC-Authentication-Results: i=1; smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org X-ThisMailContainsUnwantedMimeParts: N On 05/02/2022 17:57, Andrea Venturoli wrote: > > On 2/5/22 13:38, Christoph Kukulies wrote: >> Main aim is to access it from macOS as NAS backup server. >> >> MacOS should be able to recognize it as a backup medium. > > So you mean TimeMachine? > I think that's possible with net/samba413 (but didn't try myself). > I have a fake TimeMachine set up using netatalk3 and avahi. The important bit from afp.conf is: ``` ; ; Netatalk 3.x configuration file ; [Global] mimic model = TimeCapsule6,106 [Time Machine] path = /TimeMachine time machine = yes ea = ad ``` and afpd.conf: ``` "Xenophobe" -tcp -noddp -uamlist uams_dhx2.so -ipaddr 2001:8b0:151:1:54f9:9484:e8b0:12d1 -cnidserver 2001:8b0:151:1:54f9:9484:e8b0:12d1:4700 -mimicmodel RackMac ``` (That should all be on one line.) As I recall (it's been several years) setup was mostly cut'n'paste from various articles I found around the web. Works like a charm. /TimeMachine is a ZFS limited to refquota=256G, so that the backup doesn't attempt to fill up my whole harddrive. Cheers, Matthew