<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p id="reply-intro">On 2021-05-26 12:13, Tom Buskey wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1">
<div dir="ltr">
<div class="v1gmail_default" style="font-family: trebuchet ms,sans-serif;">My Fedora /etc/fstab has spaces</div>
<div class="v1gmail_default" style="font-family: trebuchet ms,sans-serif;">UUID=54103729-6e0a-4345-a2b8-8b8cded29ee1 /boot &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ext4 &nbsp; &nbsp;defaults &nbsp; &nbsp; &nbsp; &nbsp;1 2</div>
<div class="v1gmail_default" style="font-family: trebuchet ms,sans-serif;">&nbsp;</div>
<div class="v1gmail_default" style="font-family: trebuchet ms,sans-serif;">I've had clients initiate rsync for security.&nbsp; I think the client initiation would offload the rsync compute from the server.</div>
<div class="v1gmail_default" style="font-family: trebuchet ms,sans-serif;">For a home server, it's nice to just monitor the server instead of multiple clients.</div>
<div class="v1gmail_default" style="font-family: trebuchet ms,sans-serif;">&nbsp;</div>
</div>
</div>
</blockquote>
<div id="replybody1">
<div dir="ltr">
<div class="v1gmail_default" style="font-family: trebuchet ms,sans-serif;">&nbsp;</div>
<div class="v1gmail_default" style="font-family: trebuchet ms,sans-serif;">I'm not sure which you guys are considering client, and which server.&nbsp; I like to initiate from the thing I'm backing up *to*; that way, if the host being backed up is compromised, they won't have direct access to the backups, themselves, which, in the days of ransomware, seems like a valid concern.&nbsp; (I'd also lock down the host doing the backups pretty tightly.)</div>
<div class="v1gmail_default" style="font-family: trebuchet ms,sans-serif;">&nbsp;</div>
<div class="v1gmail_default" style="font-family: trebuchet ms,sans-serif;">$.02,</div>
<div class="v1gmail_default" style="font-family: trebuchet ms,sans-serif;">&nbsp;</div>
<div class="v1gmail_default" style="font-family: trebuchet ms,sans-serif;">-Ken</div>
<div class="v1gmail_default" style="font-family: trebuchet ms,sans-serif;">&nbsp;</div>
</div>
</div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1">
<div dir="ltr">
<div class="v1gmail_default" style="font-family: trebuchet ms,sans-serif;">&nbsp;</div>
<div class="v1gmail_default" style="font-family: trebuchet ms,sans-serif;">Nice buiild</div>
</div>
<br />
<div class="v1gmail_quote">
<div class="v1gmail_attr" dir="ltr">On Wed, May 26, 2021 at 11:00 AM Bruce Labitt &lt;<a href="mailto:bruce.labitt@myfairpoint.net" rel="noreferrer">bruce.labitt@myfairpoint.net</a>&gt; wrote:</div>
<blockquote class="v1gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
<div>
<div>Finally back to this.&nbsp; Built a stack of metal plates that house my RPI4, a boot SSD, a 1TB RAID1 array, and both active and passive USB3 hubs.&nbsp; Machined parts so everything is bolted and clamped down.&nbsp; Have a PWM fan that cools the RPI4 proportional to load that runs under systemd.&nbsp; System boots from SSD.&nbsp; (No SD card.)&nbsp; It's kind of a brick sh!thouse, but it's sturdy.&nbsp; Have created the RAID1 device - or it will be finished in 45 minutes.&nbsp; It is still syncing.</div>
<div>&nbsp;</div>
<div>Now I'd like to add the md0 device to /etc/fstab.&nbsp; The example I see is with the device name.&nbsp; From <a href="https://www.tecmint.com/create-raid1-in-linux/" target="_blank" rel="noopener noreferrer">https://www.tecmint.com/create-raid1-in-linux/</a></div>
<div>/dev/md0&nbsp;&nbsp;&nbsp; /mnt/raid1&nbsp;&nbsp;&nbsp; ext4&nbsp;&nbsp;&nbsp; defaults&nbsp;&nbsp;&nbsp; 0 0</div>
<div>&nbsp;</div>
<div>I've read it is better to use the UUID.&nbsp; Is the following the correct syntax?</div>
<div>&nbsp;</div>
<div>PARTUUID=my_complete_md0_UUID&nbsp; /mnt/raid1&nbsp;&nbsp;&nbsp; ext4&nbsp;&nbsp;&nbsp; defaults&nbsp; 0 0</div>
<div>&nbsp;</div>
<div>where my_complete_md0_UUID comes from</div>
<div>$ lsblk -o UUID /dev/md0</div>
<div>&nbsp;</div>
<div>Does one need to use tabs in fstab, or are spaces ok?</div>
<div>&nbsp;</div>
<div>Once I figure this out - I have to figure out some rsync magic.&nbsp; Is it better for the server to initiate the rsync, or the remote devices?</div>
<div>&nbsp;</div>
<div>After all this I have to make another one.&nbsp; That shouldn't take as long as the first time!&nbsp; For some pictures of the hardware build see <a href="https://www.hobby-machinist.com/threads/an-rpi4-based-file-server.92273/#post-846939" target="_blank" rel="noopener noreferrer">https://www.hobby-machinist.com/threads/an-rpi4-based-file-server.92273/#post-846939</a></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>On 3/10/21 8:49 PM, Bruce Labitt wrote:</div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div dir="ltr">I'll take a look at that.&nbsp; Thanks for the link.</div>
<br />
<div class="v1gmail_quote">
<div class="v1gmail_attr" dir="ltr">On Wed, Mar 10, 2021 at 8:15 PM Marc Nozell (<a href="mailto:marc@nozell.com" rel="noreferrer">marc@nozell.com</a>) &lt;<a href="mailto:nozell@gmail.com" rel="noreferrer">nozell@gmail.com</a>&gt; wrote:</div>
<blockquote class="v1gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
<div dir="ltr">Just to put a plug in for a colleague's work:&nbsp;<a href="https://perfectmediaserver.com/" target="_blank" rel="noopener noreferrer">https://perfectmediaserver.com/</a>&nbsp; &nbsp; It covers everything from disk purchasing strategies, burn-in, filesystems (ZFS, SnapRAID, etc).&nbsp;&nbsp;
<div>&nbsp;</div>
<div>He also hosts a podcast that folks here may find interesting:&nbsp;<a href="https://selfhosted.show/" target="_blank" rel="noopener noreferrer">https://selfhosted.show/</a></div>
<div>&nbsp;</div>
<div>-marc</div>
</div>
<br />
<div class="v1gmail_quote">
<div class="v1gmail_attr" dir="ltr">On Wed, Mar 10, 2021 at 8:08 PM &lt;<a href="mailto:jonhall80@comcast.net" rel="noreferrer">jonhall80@comcast.net</a>&gt; wrote:</div>
<blockquote class="v1gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">OK:<br /><br />s/RPi4/some-other-cheap-computer-with-USB-3.x&gt;/g<br /><br />Unless you build multiple Ethernet or WiFi or LTE modem connections your networking will still be the slowest thing.<br /><br />You do not need huge amounts of CPU power, or huge amounts of RAM.<br /><br />My basic point is that if you stick with simple RAID (like mirroring) but also set up a unit that is remote from your own home you could protect your own data from fire, flood and theft to a reasonable level and even protect your friend's data by backing up their data to your device.<br /><br />Add snapshots as suggested by Tom Buskey,perhaps encryption of file systems and data-streams and you can have a rather simple, server where you learn a lot by planning it out and setting it up rather than buying an "off the shelf" solution or simply using a "web backup".<br /><br />And good catch on the USB power supply.<br /><br />md<br />&gt; On 03/10/2021 6:53 PM Joshua Judson Rosen &lt;<a href="mailto:rozzin@hackerposse.com" rel="noreferrer">rozzin@hackerposse.com</a>&gt; wrote:<br />&gt; <br />&gt;&nbsp; <br />&gt; I'm not sure about the Raspberry Pi 4, but up thru the raspi 3+ there are... problems, e.g.:<br />&gt; <br />&gt; Beware of USB on the raspi: there are some bugs in the silicon that pretty severely<br />&gt; cripple performance when multiple `bulk' devices are used at simultaneously,<br />&gt; sometimes to the point of making it unusable (e.g. if you want to use a better Wi-Fi<br />&gt; adapter/antenna than the one built onto the board, and connect an LTE modem so that<br />&gt; your raspi roam onto that if Wi-Fi becomes unavailable, throughput on whichever of those<br />&gt; interfaces you're actually using can become abysmal). IIRC the issue is basically<br />&gt; that the number of USB endpoints that can be assigned interrupts by the raspi controller<br />&gt; is _incredibly small_; and it's common for high-throughput devices to have multiple endpoints per device--<br />&gt; sometimes even one USB device will have more endpoints that the raspi USB controller can handle.<br />&gt; <br />&gt; Also, `network fileserver with USB-attached hard drives' is kind of the `peak unfitness'<br />&gt; for the raspberry pi. Specifically if you've got it attached to ethernet,<br />&gt; the ethernet is attached through the same slow-ish USB bus as your HDDs.<br />&gt; <br />&gt; (the onboard Wi-Fi BTW is SDIO; so if you avoid using the onboard Wi-Fi, I guess you might also<br />&gt;&nbsp; be able to make your &micro;SD card faster...)<br />&gt; <br />&gt; ALSO: you'll really want to use an externally-powered USB hub for USB devices<br />&gt; that are not totally trivial, because the raspi's &micro;USB power supply is already<br />&gt; strained... (and if you're trying to power your raspi from some random USB power supply,<br />&gt; don't. Ideally you power it through the 5V pins on the expansion header...).<br />&gt; <br />&gt; <br />&gt; Though there is a lot of neat stuff that can be done with a Raspberry Pi,<br />&gt; it's really easy to overestimate it.<br />&gt; <br />&gt; But on the other hand: YMMV, and there are scenarios where the issues don't matter,<br />&gt; and might not even be noticeable. e.g., if you're dumping periodic backups to your<br />&gt; raspi asynchronously instead of (say) NFS mounting it and trying to use it interactively,<br />&gt; you might not even notice the weird bottlenecks because you're never looking at them.<br />&gt; And if you have enough of them as spares running simultaneously, you may not care<br />&gt; that every once in a while your fileystems get corrupted or your USB ports stop working<br />&gt; or whatever.<br />&gt; <br />&gt; <br />&gt; On 3/8/21 9:56 PM, <a href="mailto:jonhall80@comcast.net" rel="noreferrer">jonhall80@comcast.net</a> wrote:<br />&gt; &gt; I will suggest something and let people rip it apart:<br />&gt; &gt; <br />&gt; &gt; Get two RPis that have at least USB 2.0&nbsp; Attach two large capacity disks to each one in a RAID-1 configuration (also known as "mirroring") to keep it simple.&nbsp; If one disk fails the other will still keep working (but you should replace it as soon as possible).<br />&gt; &gt; <br />&gt; &gt; Put all of your data on both systems.<br />&gt; &gt; <br />&gt; &gt; Take one of your systems to a friends or relatives house who you trust that has relatively good WiFi.&nbsp; Make sure the friend is relatively close, but is not in the same flood plain or fire area you are.<br />&gt; &gt; <br />&gt; &gt; Do an rsync every night to keep them in sync.<br />&gt; &gt; <br />&gt; &gt; Help your friend/relative do the same thing, keeping a copy of their data in your house.&nbsp; &nbsp;If your disks are big enough you could share systems and disks.<br />&gt; &gt; <br />&gt; &gt; Use encryption as you wish.<br />&gt; &gt; <br />&gt; &gt; Disk failure?&nbsp; &nbsp;Replace the disk and the data will be replicated.<br />&gt; &gt; Fire, theft, earthquake?&nbsp; &nbsp;Take the replaced system over to your friends/relatives and copy the data at high speed, then take the copied system back to your house and start using it again.<br />&gt; &gt; <br />&gt; &gt; You would need three disks to fail at relatively the same time to lose your data.&nbsp; &nbsp;Or an asteroid crashing that wipes out all life on the planet.&nbsp; Unlikely.<br />&gt; &gt; <br />&gt; &gt; Realize that nothing is forever.<br />&gt; &gt; <br />&gt; &gt; md<br />&gt; &gt;&gt; On 03/08/2021 7:33 PM Bruce Labitt &lt;<a href="mailto:bdlabitt@gmail.com" rel="noreferrer">bdlabitt@gmail.com</a>&gt; wrote:<br />&gt; &gt;&gt; &nbsp;<br />&gt; &gt;&gt; &nbsp;<br />&gt; &gt;&gt; For the second time in 3 months I have had a computer failure.&nbsp; Oddly, it was a PS on the motherboard both times.&nbsp; (Two different MB's.)&nbsp; Fortunately the disks were ok.&nbsp; I'm living on borrowed time.&nbsp; Next time, I may not be that lucky.&nbsp;&nbsp;<br />&gt; &gt;&gt; &nbsp;<br />&gt; &gt;&gt; Need a file server system with some sort of RAID redundancy.&nbsp; I&nbsp;want to backup 2 main computers, plus photos.&nbsp; Maybe this RPI4 too, since that's what I'm running on, due to the second failure.&nbsp; If this SSD goes, I'm gonna be a sad&nbsp;puppy.&nbsp; This is for home use, so we are not talking Exabytes.&nbsp; I'm thinking about 2-4TB of RAID.&nbsp; Unless of course, RAID is obsolete these days.&nbsp; Honestly, I find some of the levels of RAID confusing.&nbsp; I want something that will survive a disk<br />&gt; &gt;&gt; failure (or two) out of the array.&nbsp; Have any ideas, or can you point me to some place that discusses this somewhat intelligently?<br />&gt; &gt;&gt; &nbsp;<br />&gt; &gt;&gt; Are there reasonable systems that one can put together oneself these days?&nbsp; Can I repurpose an older PC for this purpose?&nbsp; Or an&nbsp;RPI4?&nbsp; What are the gotchas of going this way?<br />&gt; &gt;&gt; &nbsp;<br />&gt; &gt;&gt; I want to be able to set up a daily rsync or equivalent so we will lose as little as possible.&nbsp; At the moment, I'm not thinking about surviving fire or disaster.&nbsp; Maybe I should, but I suspect the costs balloon considerably.&nbsp; I do not want to backup to the cloud because, plain and simple, I don't trust it to be fully secure.<br />&gt; <br />&gt; -- <br />&gt; Connect with me on the GNU social network! &lt;<a href="https://status.hackerposse.com/rozzin" target="_blank" rel="noopener noreferrer">https://status.hackerposse.com/rozzin</a>&gt;<br />&gt; Not on the network? Ask me for more info!<br />&gt; _______________________________________________<br />&gt; gnhlug-discuss mailing list<br />&gt; <a href="mailto:gnhlug-discuss@mail.gnhlug.org" rel="noreferrer">gnhlug-discuss@mail.gnhlug.org</a><br />&gt; <a href="http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/" target="_blank" rel="noopener noreferrer">http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/</a><br /><br />_______________________________________________<br />gnhlug-discuss mailing list<br /><a href="mailto:gnhlug-discuss@mail.gnhlug.org" rel="noreferrer">gnhlug-discuss@mail.gnhlug.org</a><br /><a href="http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/" target="_blank" rel="noopener noreferrer">http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/</a></blockquote>
</div>
<br clear="all" />
<div>&nbsp;</div>
-- <br />
<div dir="ltr">Marc Nozell (<a href="mailto:marc@nozell.com" rel="noreferrer">marc@nozell.com</a>) <a href="http://www.nozell.com/blog" target="_blank" rel="noopener noreferrer">http://www.nozell.com/blog</a></div>
_______________________________________________<br />gnhlug-discuss mailing list<br /><a href="mailto:gnhlug-discuss@mail.gnhlug.org" rel="noreferrer">gnhlug-discuss@mail.gnhlug.org</a><br /><a href="http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/" target="_blank" rel="noopener noreferrer">http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/</a></blockquote>
</div>
<br />
<pre>_______________________________________________
gnhlug-discuss mailing list
<a href="mailto:gnhlug-discuss@mail.gnhlug.org" rel="noreferrer">gnhlug-discuss@mail.gnhlug.org</a>
<a href="http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/" target="_blank" rel="noopener noreferrer">http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/</a>
</pre>
</blockquote>
<p><br /></p>
</div>
_______________________________________________<br />gnhlug-discuss mailing list<br /><a href="mailto:gnhlug-discuss@mail.gnhlug.org" rel="noreferrer">gnhlug-discuss@mail.gnhlug.org</a><br /><a href="http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/" target="_blank" rel="noopener noreferrer">http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/</a></blockquote>
</div>
</div>
<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">_______________________________________________<br />gnhlug-discuss mailing list<br /><a href="mailto:gnhlug-discuss@mail.gnhlug.org">gnhlug-discuss@mail.gnhlug.org</a><br /><a href="http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/" target="_blank" rel="noopener noreferrer">http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/</a></div>
</blockquote>
<p><br /></p>

</body></html>