SayCyberOnceMore

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

help-circle
  • 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…