SayCyberOnceMore

  • 15 Posts
  • 614 Comments
Joined 3 years ago
cake
Cake day: June 17th, 2023

help-circle
  • I have a 7530. (Is yours a typo?)

    Yes, those instructions look about right.

    My pfSense box has the username & password, so the router really is just being used as a dumb modem (I used to use Draytek modems)…

    … but…

    The router’s diagnostics will show the DSL details, so you can check if your external connection is ok (ie OSI Layer1), but it will always think it’s offline.

    So once you get your OPNSense setup and working, have a look around the Fritz diagnostics and get comfy with what you can / can’t see, because when there’s a failure you won’t know what is really failed.

    Also… write down what you did and how to reverse it, as you (or others) might want to reset it to full router if your OPNSense is down.


  • The advice above matches mine.

    I have a home-built pfSense unit and when parts die (not if), then I just replace them with spares I have already waiting… as that box is now critical for you.

    I also have a Fritz in bridge mode with the pfSense doing PPPoE through it, so effectively, the firewall is the first real device on the WAN. Makes things much simpler as the WAN interface has status like packet drops, etc, much easier to diagnose issues.



  • Wow.

    Ok, I don’t have anywhere near that amount of media, but MythTV takes seconds to rescan ~2TB of videos and maybe a minute to get any missing details like fanart, etc.

    Similar amount for music - but I feed it the files after I’ve run them through Picard.

    I’ve not done a complete rescan of eveything for ages, but from memory it’s like an hour absolute tops. More like ~30 mins.

    And that’s on an underclocked CPU (for quietness).



  • This looks very interesting.

    I track the family’s location with GPS Logger (on Android) and the Home Assistant app on the iPhone user… it’s all going to HA at the moment to turn lights on when people get home…

    And I have a separate Immich server.

    So, reading this, I can combine this all together from HA and Immich - or do I need to send the GPS coordinates to this server too?

    I’m also not a container user… skimming the installation section, the instructions appear to be only support docker - are standalone instructions also covered? (I may have missed them…)

    But, this looks really nice.

    I liked thr piechart where you distinguish between walking, cycling, driving, etc, I presume that’s done by velocity…? So, do you calculate that or need that data from the phone app?



  • Just basic commands will get you most of the way there… lsblk, fsck, etc.

    You can check the formatting and partitioning with something like gparted (a GUI for parted)

    For SMART, use smartctl or gsmartcontrol for a GUI

    Note: external USB enclosures / docks / adapters / etc. rarely pass SMART data, so you’d need to actually plug it into a mobo to check that.


  • Linux should see most formats… you might need to install something to read NTFS… but if they’re FAT32, most distros have thst installed by default.

    If you can’t read them, and there’s nothing on there that you need to recover, then just zero them and check them with a full SMART scan, then you’ll know if they’re reliable before wasting time with a RAID array that keeps chewing up drives.

    But, I don’t know of any mobos that’ll connect that many drives…


  • Are these external USB drives? You can certainly plug those in all over the place, but it’s not a scable, long term solution.

    Shuck the drives if they’re external and just use them as normal drives

    And you can’t daisy chain modern drives in the same sense that old SCSI / PATA drives used to be connected, but you could get a drive bay to fit an existing PC - I had one that put 4x 3.5" drives into a 3 bay 5.25" space… wasn’t great but did the job.

    But, you’ll want to get the drives into some kinda array - could be a JBOD initially, but you will NEED good backups as any drive failure = total loss of it’s files.

    Perhaps backup each drive to… somewhere… create an array and then restore all your data into that new array.

    Total available storage of RAID is less than the total space in all the drives due to checksums, duplication, etc.


  • Yeah I want an external drive out of the house, but I feel like that is independent of my decision on how to store data at home. Am I wrong?

    Yes 🙂

    You’ll want offsite storage no matter what you build. This protects you from wiping your RAID array (RAID is not a backup), syncing the wrong data and losing files, etc.

    And… imagine your NAS is gone. Make sure you know how to get your (encrypted) data back.

    The first thing I did was backup a small chunk of files and then see that I could restore them to a different laptop.

    Yep, I have Arch with a btrfs RAID array because - for me - ZFS was too needy. I can use standard tools to maintain btrfs.

    It has SMB and NFS shares, powers up & down (when idle) automatically, and syncs our phones and laptops via syncthing (sync is also not a backup)

    Everything is backed up to an online storage provider AND a HDD connected to a RasPi in a family members home (and I reciprocate some of their backups)

    I do have Immich running natively on the NAS (no containers) because all our photos are there, so it made more sense to put it there, but all other functions (Home Assistant, etc) are on a separate device.


  • First up… backups…

    You’ve got all your data on a single 8TB external drive?

    If you get lots of hardware, or stay the same, you’ll still want need to get your data off that system and preferably out of the house for the 3 F’s: fire / flood / feft (😉)

    At this point it might just be simpler to get online storage and upload it all… or a 2nd drive and just clone it.

    Now, you can breath as you change your system and oops, accidentally wipe the wrong drive… it’s all offline elsewhere

    Next up, to help with decision paralisis; the software and hardware you choose are going to be related… TrueNAS is going to want a new mobo with loads of RAM for the ZFS on the drives… OpenMediaVault will work on small hardware (as well as bigger too…), so decide with your wallet on hardware first.

    Everything (worth considering) supports RAID - you’ll want RAID1 if you only have 2 drives, RAID5 or 6 for many drives. If you use ZFS they modify the naming convention, but learn standard terminology first.

    I’ve tried it all, over the years, so expect to try something for a while, then ditch it for something else - another reason to have your data offline somewhere.

    I came back to a simple Arch linux box with 4 drives running btrfs 🙂




  • Nice. Yeah, that’s a great idea for work.

    But, for personal stuff, this is often the only time available…

    I “had” to free up space (0 bytes free) on a woefully underpowered Win11 laptop for the father-in-law. I swear it was originally Win7, so it’s been upgraded a couple of times, but no, Linux is a step too far for him… crawling Win11 is his wish…

    I’m now mid-upgrade for my Mum’s laptop (Mint 21 --> 22), but with a full clonezilla backup image on standby!

    Ah, it’s the “holidays”… for some…





  • Yeah, after reading the other comments in here, you should be able to re-read that page and see it’s not the best advice.

    Top Tip: if you’re testing things, you’d modify PATH in the current session first, check that fixes the problem and only then modify any environmental files like .bashrc, etc. so if something got borked you could just logout and in again…

    That page reminds me of Windows self-help pages that ask readers to defrag the harddrive in order to get a printer working.