George King wrote at about 12:58:47 +0000 on Thursday, January 6, 2022: > Thanks, useful to know your approach. Like you I would be worried about > cables (USB or power) disconnecting and the potential unreliability. > However.... it got me thinking and some Googling shows that there are > ways of using RPis with SATA - so that may be a future backuppc project > for me! > > Using an RPi4 with a SATA hat: > https://www.cnx-software.com/2019/12/08/rock-pi-sata-hat-targets-rock-pi-4-raspberry-pi-4-nas/
It seems like this is really a SATA-to-USB card so that IMO, you still have the potential flakiness of a USB controller plus you lose speed in converting to USB and then to SATA. > > Using an RPi Compute Module 4 with PCIe SATA cards: > https://www.jeffgeerling.com/blog/2021/raspberry-pi-os-now-has-sata-support-built > > This with a true SATA PCI Express card seams (to me) like a better way to go... > On 05/01/2022 21:59, backu...@kosowsky.org wrote: > > George King wrote at about 21:20:24 +0000 on Wednesday, January 5, 2022: > > > Sorry if I'm breaking protocol by asking a follow-on question not > > > directly associated with the original but I'm interested in your hard > > > disk config with a RPi4. Do you have all your storage as USB hard > > > drives working from the 2x RPi USB3 ports? RAID or non-RAID? I notice > > > you say that it is only one of your backup servers so you may have a > > > more distributed back up approach. > > > > > My primary backup is btrfs RAID-1 SATA (2 8TB-drives, but <1TB used > > for BackupPC) on my Ubuntu home Dell server. > > > > My secondary backup is on a RPI with a 1TB external Samsung SSD on a > > btfs filesystem (no RAID). It is slightly slower than my Dell server > > but has been rock solid. > > > > I think the RPI4 is a good way to go -- though I'm not sure I would be > > comfortable with external USB RAID due to danger of disconnecting the > > cables accidentally and messing up RAID sync. > > > > BTW, I am really enjoying btrfs since it has built-in checksum so that > > I can tell if there is FS corruption (haven't had any yet) and if > > there is an issue with RAID, it can use the checksum to know which > > drive to rely on to recover. > > > >> I've thought about RPis for a backuppc use case but never gone there > > > because I was thinking I would need SATA and RAID (I'm currently using > > a > > > monolithic 14Tb RAID6 arrangement) that (I thought) really needed a > > > motherboard. Keen to get some power saving though as the RPi4 probably > > > has enough juice to do the job itself, if only with respect to the > > > processor and the USB3 ports. > > > > > > On 05/01/2022 18:02, backu...@kosowsky.org wrote: > > > > One one of my backuppc servers (running on a RPI4), I get the > > > > following daily error: > > > > > > > > 2022-01-05 01:05:49 Running BackupPC_rrdUpdate (pid=968) > > > > 2022-01-05 01:05:49 admin-1 : ERROR: unknown data acquisition > > function '' > > > > 2022-01-05 01:05:49 Finished admin-1 (BackupPC_rrdUpdate) > > > > > > > > > > > > And running 'rrdtool dump /var/lib/backuppc/log/poolUsage.rrd' gives > > > > the same error: > > > > ERROR: unknown data acquisition function '' > > > > > > > > If remove '/var/lib/backuppc/log/poolUsage.rrd' and run > > > > BackupPC_rrdUpdate manually, the problem goes away > > > > #rm /var/lib/backuppc/log/poolUsage.rrd > > > > #sudo -u backuppc uBackupPC_rrdUpdate > > > > RRD updated: date 1641427200; cpoolKb 0.000000; total > > 14345328797.155273; poolKb 0.000000; pool4Kb 0.000000; cpool4Kb > > 736297088.000000 > > > > > > > > And 'rrdtool dump /var/lib/backuppc/log/poolUsage.rrd' runs without > > > > error. > > > > > > > > It seems that somehow the rrd file (poolUsage.rrd) got corrupted... > > > > > > > > Not sure what caused this... but > > > > - It might be helpful to add a more descriptive/helpful error message > > > > to BackupPC_rrdUpdate as this was not simple to track down > > > > > > > > - Regardless, hope this helps others who may be encountering this > > error > > > > > > > > > > > > _______________________________________________ > > > > BackupPC-users mailing list > > > > BackupPC-users@lists.sourceforge.net > > > > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > > > > Wiki: https://github.com/backuppc/backuppc/wiki > > > > Project: https://backuppc.github.io/backuppc/ > > > > > > > > > > > > _______________________________________________ > > > BackupPC-users mailing list > > > BackupPC-users@lists.sourceforge.net > > > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > > > Wiki: https://github.com/backuppc/backuppc/wiki > > > Project: https://backuppc.github.io/backuppc/ > > > > > > _______________________________________________ > > BackupPC-users mailing list > > BackupPC-users@lists.sourceforge.net > > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > > Wiki: https://github.com/backuppc/backuppc/wiki > > Project: https://backuppc.github.io/backuppc/ > > > > _______________________________________________ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: https://github.com/backuppc/backuppc/wiki > Project: https://backuppc.github.io/backuppc/ _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/