Comment on New home server: what hypervisor/OS?
tiramichu@lemm.ee 9 months agoBeen using unraid for a couple of years now and really enjoying it.
Previously I was using esxi and OMV, but I like how complete Unraid feels as a solution in itself.
I like how Unraid has integrated support for spinning up VMs and docker containers, with UI integration for those things.
I also like how Unraid’s fuse filesystem lets me build an array from disks of mismatched capacities, and arbitrarily expand it. I’m running two servers so I can mirror data for backup, and it was much more cost effective that I could keep some of the disks I already had rather than buy all-new.
peregus@lemmy.world 9 months ago
Fuse file system? I’ve never heard about it. Is it a proper file system or does it work on ZFS/others?
tiramichu@lemm.ee 9 months ago
The clue with Unraid is in the name, the goal was originally all about having a fileserver with many of the benefits of RAID without actually needing RAID and the headaches that cone with it.
For this purpose, Fuse is a software implementation which is part of the Unraid OS which brings together files from multiple physical disks into a single view.
Each disk in an Unraid system just uses a normal single-disk filesystem on the disk itself, and Unraid distributes new files to whichever disk has space, yet to the user they are presented as a single volume (you can also see raw disk contents and manually move data between disks if you want to - the fused view and raw views are just different mounts in the filesystem)
This is how Unraid allows for easily adding new drives of any size without a rebuild, but still allows for failure of a single disk by having a parity disk - as long as the parity is at least as large as the biggest data disk.
Unraid have also now added ZFS zpool capability and as a user you have the choice over which sort of array you want - Unraid or ZFS.
Unraid is absolutely not targeted at enterprise where a full RAID makes more sense. It’s targeted at homelabusers where the ease if operation and ability to expand over time are selling points.
papertowels@lemmy.one 9 months ago
Not sure if it’s obvious from this comment, but also worth pointing out to folks learning about unraid that it still has parity drives that let you recover from disk failures - it’s not just JBOD.
tiramichu@lemm.ee 9 months ago
Yup, my comment mentions the parity disk :)
peregus@lemmy.world 9 months ago
So it’s like SnapRaid and MergerFS. Got it. Thanks
lemmyvore@feddit.nl 9 months ago
FUSE is a “virtual” filesystem that can be used to make anything look like a local filesystem.
Example, encfs uses it to make an encrypted file tree appear decrypted to the user and performs encryption/decryption as needed on the fly.
Another example, Borg Backup uses it to let you browse backup snapshots as normal files even when they’ve been compressed, encrypted and/or deduplicated with other snapshots.
EncryptKeeper@lemmy.world 9 months ago
The Fuse file system isn’t the actual file system on each disk, it’s like an overlay that brings together the file systems on each disk. Like a super basic setup assuming you had two data drives is that you could have a share called “MyFile Share” and have two files in the share, “File A” located at /mnt/disk1/MyFileShare/FileA and “File B” located at /mnt/disk2/MyFileShare/FileB but if you connect to the file share remotely or do an ls on /mnt/user/MyFileShare/ you’ll see both files A and B. So you create each share and it’ll distribute all your files across disks according to your specifications.
This is the fuse file system, and it’s how UnRAID implements the “RAID-like” features. Because unlike actual RAID your files aren’t striped across the array, each file lives on one disk. So while you can have 1 or 2 parity drives that can rebuild your array in the case of a lost drive, unlike RAID you don’t lose your entire array. If you have one parity drive and a 5 disk array and lose two data drives, your parity can’t rebuild the lost data but the data that’s on the other 3 disks are still accessible.