linux Linux DuckDB as the New jq
Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearJH
    jh0wlett
    6 months ago 100%

    jq is mot custom syntax though, it is just JSONPath standarsld. Which is also used to query JSON in JSON fields in MySQL for instance.

    3
  • truenas TrueNAS Reinstall without data loss
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearJH
    jh0wlett
    9 months ago 100%

    I'll be honest, I never tried it that way. But it should be possible. If you have the possibility, I'd advise to simulate that in a VM, then you'll know for sure! But basically importing zpools should even be OS agnostic, as it is an open standard that you can just install on any OS. I've heard stories about people even migrating pools from core to scale and vice versa, which is going from BSD (core) to scale (debian linux).

    1
  • truenas TrueNAS Question about ZFS
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearJH
    jh0wlett
    9 months ago 100%

    I think for now that should be fine. I got daily cloud backups, and got a way to remotely turn off the PC if a disk degrades or faults. I might also even get a disk as hot or cold spare just to be sure. With 2 mirrors I got quite a bit of performance, and in a sense better off than with a single mirror.

    I'm using the storage to host Nextcloud, and the performance was just not really good enough with a singular disk of speed. I'm hosting it for me and the wife so we can both share pictures with each other without needing a privacy invasive third party :)

    1
  • truenas TrueNAS Question about ZFS
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearJH
    jh0wlett
    9 months ago 100%

    I wasn't completely clear I think. I currently have 1*mirror vdev of 8TB. I'm thinking of adding another mirror vdev. That would stripe the data between both. Meaning that per vdev there would be less data. That would lead to quicker (thus safer?) resilversing in the case of a singular disk failure per vdev, correct?

    1
  • truenas TrueNAS Reinstall without data loss
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearJH
    jh0wlett
    9 months ago 100%

    I'm not sure exactly what your setup is, if you have data in the OS pool that might be gone, unless you can boot the system from a stick and mount that disk to copy data over. Zpool export isn't strictly necessary.

    If your data is in a different pool then it should be theoretically easy to just import that pool in a new install.

    2
  • truenas
    TrueNAS jh0wlett 9 months ago 87%
    Question about ZFS

    Hey guys! I got my home lab setup going nicely now. One mirror vdev ZFS for my Nextcloud, granting very good performance! Small question though: I got two extra drives now and was thinking if it is worth it adding it already as extra mirror vdev. My question is the following: Will resilvering of a single disk be quicker if I have my data striped over two mirror vdev than if all my data is in a single mirror vdev? In other words, I was wondering in that sense if it is safer to replace a disk due to shorter resilver?

    6
    6
    selfhosting Self-hosting Best use of extra HDDs
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearJH
    jh0wlett
    9 months ago 100%

    Hmm I think RAID5 would be risky. If I have a 16TB array and then get a failure, resilvering would take long and that could bring a second disk down..

    1
  • datahoarder datahoarder What to do with extra HDDs
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearJH
    jh0wlett
    9 months ago 100%

    That is true, but I was indeed not counting it as such, I currently just have the cloud as a backup.

    1
  • datahoarder datahoarder What to do with extra HDDs
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearJH
    jh0wlett
    9 months ago 100%

    I understand, but I was thinking, since I have a cloud backup, if my drive(s) fail I cam still always recover, correct?

    1
  • datahoarder datahoarder What to do with extra HDDs
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearJH
    jh0wlett
    9 months ago 100%

    Yes definitely! It is personal data like family videos, photo's and documents mostly. I'm using this nextcloud for the whole family.

    2
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearDA
    datahoarder jh0wlett 9 months ago 95%
    What to do with extra HDDs

    Hey guys, I'm setting up my NAS (openmediavault) and very much enjoying it! It now runs my Nextcloud and a couple of services. I got a mirror ZFS setup of two 8TB drives. I got another two 8TB drives and am doubting whether I should add them as an extra mirror vdev, or create a new pool for extra backup. I'm not sure if that extra backup is necessary though, since I got a cloud backup already every day. My drives are only used 14% so I'm not even sure if I should already put them in the pool. What do you guys think?

    22
    10
    selfhosting
    Self-hosting jh0wlett 9 months ago 100%
    Best use of extra HDDs

    Hey guys, I'm setting up my NAS (openmediavault) and very much enjoying it! It now runs my Nextcloud and a couple of services. I got a mirror ZFS setup of two 8TB drives. I got another two 8TB drives and am doubting whether I should add them as an extra mirror vdev, or create a new pool for extra backup. I'm not sure if that extra backup is necessary though, since I got a cloud backup already every day. My drives are only used 14% so I'm not even sure if I should already put them in the pool. What do you guys think?

    6
    3