Black friday is almost upon us and I’m itching to get some good deals on missing hardware for my setup.

My boot drive will also be VM storage and reside on two 1TB NVMe drives in a ZFS mirror. I plan on adding another SATA SSD for data storage. I can’t add more storage right now, as my M90q can’t be expanded easily.

Now, how would I best setup my storage? I have two ideas and could use some guidance. I want some NAS storage for documents, files, videos, backups etc. I also need storage for my VMs, namely Nextcloud and Jellyfin. I don’t want to waste NVMe space, so this would go on the SATA SSD as well.

  1. Pass the SSD to a VM running some NAS OS (OpenMediaVault, TrueNas, simple Samba). I’d then set up different NFS/samba shares for my needs. Jellyfin or Nextcloud would rely on the NFS share for their storage needs. Is that even possible and if so, a good idea? I could easily access all files, if needed. I don’t now if there would be a problem with permissions or diminished read/write speeds, especially since there are a lot of small files on my nextcloud.

  2. I split the SSD, pass one partition to my NAS and the other will be used by Proxmox to store virtual disks for my VMs. This is probably the cleanest, but I can’t easily resize the partitions later.

What do you think? I’d love to hear your thoughts on this!

  • Trainguyrom
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 months ago

    I think you’re thinking of the rule of thumb for RAID5 or the zfs equivalent raidz1

    • Pete90@feddit.deOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 months ago

      I’m curious. Where is the problem with small drives for RAID5? Too many writes for such a small drive?

      • Trainguyrom
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 months ago

        It’s actually the opposite, with only a single drive of parity, once your hard drive is larger than ~2TB the resilver time for the array is high enough that there’s an uncomfortable chance of an additional drive failure while it’s resilvering

        • Pete90@feddit.deOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          7 months ago

          That makes sense, especially when the drives are equally old. Thanks for explaining it!