From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E65FE158020 for ; Sun, 11 Dec 2022 15:45:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 04F76E089C; Sun, 11 Dec 2022 15:44:57 +0000 (UTC) Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A499CE086D for ; Sun, 11 Dec 2022 15:44:56 +0000 (UTC) Received: by mail-lj1-x236.google.com with SMTP id f16so10009125ljc.8 for ; Sun, 11 Dec 2022 07:44:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=bBJ23FWXdMWpIlrlCg7ICKjhRKPMhsLaV6vhbmwX4E0=; b=TjlryJJyq3ZFi+aclX/NmGdtOTjB6QP2xQIWnKKr0IUdP0UyPg5oUM8LQc/XhuwlGv kFqUK96RDmxGD99pD/QV3jwIp+N2quD8Pc7f9UgkxLSZxWu5erFtts5KrY7P6qClOEx7 yfEQVU+tb5Nd4eMjr64KpZym6yeetR11oC9oOo1rXSRuJs+Irx8DYjP+VNQlIkzSbBO+ loD799jm/NijbjQsa1cYjUf/INjrNx8z1XS5OjZ+BZtDU+LDfOVvVyiJueVrYJT2y8G7 HC+YjVBXKbKre9ujojiXtA532AZ61LpxyTtQSQ039Ev7IsLQ0wVEr6bP7dM2y/t1FJLw NdvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bBJ23FWXdMWpIlrlCg7ICKjhRKPMhsLaV6vhbmwX4E0=; b=fAdVZYxO6x/eGbWTwY0I/Qkmq/uMi00nkUJcX9fSqTYNYXYmLZm7jgMrw2+Qv8L88V h54OMivlFsMfOgSXdtzODyIL285fmrCT0A8nucVTosALa4crjTu0Vlp0nmpQwXqjH3lt 6wqoBvAcx3bJjp1zG56DzYrvznwBmeGB+VGmFDfgqL4sbIvmnfVAJNZ05Oxn/5HeKOFj qxLwW7b2xfhjX6xrcbesWuezaWHFjHqGepVSHQnioucsVSBwoWNS76IpxedTozOoRNny ybQTpkCfvxqMs/66DZczzG3l+N9gFui8bN7mi6E2JmSl6XGjsaOF4Zmn9mDU6mFHVut3 4Y1w== X-Gm-Message-State: ANoB5pmEMtEi05ZJ/7bICdKARDH4RchGZTC50dox4HR1QD//zasM/wHf cBCZXpajGySXUwLXhAC6TYQ0lWjdx7csSxxnxdBiwrsdKOk= X-Google-Smtp-Source: AA0mqf7f0BDQ7j8Q+cd97GssNPJjzeeXmtKp32WIf9FL5z3PAePITGdlHh8YiiW2bPPClU/SS7RHdt5YcK5VGzwE7HI= X-Received: by 2002:a2e:a4a9:0:b0:279:c7c4:2fde with SMTP id g9-20020a2ea4a9000000b00279c7c42fdemr12011678ljm.360.1670773494588; Sun, 11 Dec 2022 07:44:54 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <9407e524-2226-6ba9-dd7f-bac635d083e3@gmail.com> <9cbb275e-8b55-6544-dad8-e8f03d114205@gmail.com> <000bc7fe-92ad-86d0-3688-17da2c978e91@gmail.com> In-Reply-To: <000bc7fe-92ad-86d0-3688-17da2c978e91@gmail.com> From: Mark Knecht Date: Sun, 11 Dec 2022 08:44:42 -0700 Message-ID: Subject: Re: [gentoo-user] NAS and replacing with larger drives To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary="000000000000a52b0105ef8f4407" X-Archives-Salt: 78678266-4d51-409e-8dba-72c643bbf357 X-Archives-Hash: 694023067a5e4447db36ad7c2178f2ea --000000000000a52b0105ef8f4407 Content-Type: text/plain; charset="UTF-8" On Sun, Dec 11, 2022 at 8:01 AM Dale wrote: > I think I'm going to switch. I need to start over anyway. I set up a user account and a large pool but while I can mount it, I can't put anything in it yet. I get a permission error. I likely missed a step or something. Starting over will help correct that. lol > > By the way, when I got it installed, it did update to a newer version. I didn't look to see if it was dated in any way but updates seem to be available for FreeNAS. I dunno. > > Thanks for the info. > > Dale > > :-) :-) At this point I think you're wise to just plug around in it for a little while. Learn it a little bit. Build a few pools and get used to how it works. It's a bit different than Linux. In my case everything is NFS mounts and NFS exports work differently on BSD. Assume you have a pool: /mnt/MyPool/mark/Backups and under that you want to have 3 directories exported to different machines for backups, so /mnt/MyPool/mark/Backups/science /mnt/MyPool/mark/Backups/sciene2 /mnt/MyPool/mark/Backups/StellarMate where each user machine has a place to put things, and hence you can find it, but no LVM, it's just a big pool of storage. Note there are all the standard problems about permissions when you first set these directories up, like making sure you own them, that they are writable, etc. In Linux NFS I would likely export all three separately, while in TrueNAS BSD I export /mnt/MyPool/mark --alldirs If you cared about science mucking with science2's backups there are ways to stop that, but I don't care because each machine on my network has a bash scripts that points it where I want it to go: mark@science2:~$ cat ./bin/DoTrueNAS #rsync -avx -n --port=873 --exclude={000_NOT_BACKED_UP,RIPS,.cache,.nv,'google-chrome*',DiskImages,Current} /home/mark mark@truenas1:/mnt/MyPool/mark/Backups/science2/. rsync -avx --port=873 --exclude={000_NOT_BACKED_UP,RIPS,.cache,.nv,'google-chrome*',DiskImages,Current} /home/mark mark@truenas1:/mnt/MyPool/mark/Backups/science2/. mark@science2:~$ where the first one is a test config and the second is a real transfer. Because it's rsync if something doesn't finish then I can pick up again with little time lost. Also, I think there are ways for you to build complex pools like a RAID0 from your 6TB and 8TB drives, and then a RAID1 using the RAID0 and your 14TB drive but I've never tried it because mine don't have enough drive slots for that. Also, turn on compression. It saves me between 15-20% so 14TB becomes 16TB storage. YMMV. Video files don't compress, at least not much. Data files generally do. Hope this helps. I think you'll find TrueNAS fun actually but there is a learning curve. I've used it for about a year and barely scratched the surface. Good luck, Mark --000000000000a52b0105ef8f4407 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sun, Dec 11, 2022 at 8:01 AM Dale <rdalek1967@gmail.com> wrote:
<= ;SNIP>
> I think I'm going to switch.=C2=A0 I need to start ov= er anyway.=C2=A0 I set up a user account and a large pool but while I can m= ount it, I can't put anything in it yet.=C2=A0 I get a permission error= .=C2=A0 I likely missed a step or something.=C2=A0 Starting over will help = correct that. =C2=A0lol
>
> By the way, when I got it installe= d, it did update to a newer version.=C2=A0 I didn't look to see if it w= as dated in any way but updates seem to be available for FreeNAS.=C2=A0 I d= unno.
>
> Thanks for the info.
>
> Dale
>> :-) =C2=A0:-)

At this point I think you're wi= se to just plug around in it for a little while. Learn it a little bit. Bui= ld a few pools and get used to how it works. It's a bit different than = Linux.

In my case everything is NFS mounts and NFS= exports work differently on BSD. Assume you have a pool:

/mnt/MyPool/mark/Backups

and under that yo= u want to have 3 directories exported to different machines=C2=A0for backup= s, so

/mnt/MyPool/mark/Backups/science
/= mnt/MyPool/mark/Backups/sciene2
/mnt/MyPool/mark/Backups/StellarM= ate

where each user machine has a place to put thi= ngs, and hence you can find it, but no LVM, it's just a big pool of sto= rage. Note there are all the standard problems about permissions when you f= irst set these directories up, like making sure you own them, that they are= writable, etc.=C2=A0

In Linux NFS I would likely = export all three separately, while in TrueNAS BSD I export

/mnt/MyPool/mark --alldirs

If you cared about = science mucking with science2's backups there are ways to stop that, bu= t I don't care because each machine on my network has a bash scripts th= at points it where I want it to go:

mark@science2:~$ cat ./bin/DoTru= eNAS
#rsync -avx -n --port=3D873 --exclude=3D{000_NOT_BACKED_UP,RIPS,.ca= che,.nv,'google-chrome*',DiskImages,Current} /home/mark mark@truena= s1:/mnt/MyPool/mark/Backups/science2/.

rsync -avx --port=3D873 --exc= lude=3D{000_NOT_BACKED_UP,RIPS,.cache,.nv,'google-chrome*',DiskImag= es,Current} /home/mark mark@truenas1:/mnt/MyPool/mark/Backups/science2/.mark@science2:~$

where the first one is a test config = and the second is a real transfer. Because it's rsync if something does= n't finish then I can pick up again with little time lost.
Also, I think there are ways for you to build complex pools li= ke a RAID0 from your 6TB and 8TB drives, and then a RAID1 using the RAID0 a= nd your 14TB drive but I've never tried it because=C2=A0mine don't = have enough drive slots for that.

Also, turn on co= mpression. It saves me between 15-20% so 14TB becomes 16TB storage. YMMV. V= ideo files don't compress, at least not much. Data files generally do.<= /div>

Hope this helps. I think you'll find TrueNAS f= un actually but there is a learning curve. I've used it for about a yea= r and barely scratched the surface.=C2=A0

Good luc= k,
Mark
--000000000000a52b0105ef8f4407--