mergerfs
OpenMediaVault
mergerfs | OpenMediaVault | |
---|---|---|
164 | 524 | |
3,881 | 4,665 | |
- | 2.5% | |
7.7 | 9.8 | |
19 days ago | 17 days ago | |
C++ | PHP | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mergerfs
- Mergerfs – A Featureful Union Filesystem
-
How do I use multiple hard drives on Kubuntu for steam?
Have a look at mergerfs.
- mergerfs v2.38.0 released
-
Mergerfs and Snapraid installation
I am planning to use ubuntu server, and I would like to ask an advice: according to snapraid's download page and mergerfs' github page, it seems to be suggested to download directly their source instead of using ubuntu's package manager.
-
The Next Gen Database Servers Powering Let's Encrypt(2021)
Like most people on r/homelab, it started out with Plex. Rough timeline/services below:
0. Got a Synology DS413 with 4x WD Red 3TB drives. Use Playstation Media Server to stream videos from it. Eventually find some Busybox stuff to add various functionality to the NAS, but it had a habit of undoing them periodically, which was frustrating. I also experienced my first and (knock on wood) only drive failure during this time, which concluded without fanfare once the faulty drive was replaced, and the array repaired itself.
1. While teaching self Python as an Electrical Distribution Engineer at a utility, I befriended the IT head, who gave me an ancient (I think Nehalem? Quad-core Xeon) Dell T310. Promptly got more drives, totaling 7, and tried various OS / NAS platforms. I had OpenMediaVault for a while, but got tired of the UI fighting me when I knew how to do things in shell, so I switched to Debian (which it's based on anyway). Moved to MergerFS [0] + SnapRAID [1] for storage management, and Plex for media. I was also tinkering with various Linux stuff on it constantly.
1.1 Got tired of my tinkering breaking things and requiring troubleshooting/fixing (in retrospect, this provided excellent learning), so I installed Proxmox, reinstalled Debian, and made a golden image with everything set up as desired so I could easily revert.
1.2 A friend told me about Docker. I promptly moved Plex over to it, and probably around this time also got the *Arr Stack [2] going.
2. Got a Supermicro X9DRi-LN4F+ in a 2U chassis w/ 12x 3.5" bays. Got faster/bigger CPUs (E5-2680v2), more RAM, more drives, etc. Shifted container management to Docker Compose. Modded the BIOS to allow it to boot from a NVMe drive on a PCIe adapter.
2.1 Shifted to ZFS on Debian. Other than DKMS occasionally losing its mind during kernel upgrades, this worked well.
2.2 Forked [3] some [4] Packer/Ansible projects to suit my needs, made a VM for everything. NAS, Dev, Webserver, Docker host, etc. Other than outgrowing (IMO) MergerFS/SnapRAID, honestly at this point I could have easily stopped, and could to this day revert back to this setup. It was dead reliable and worked extremely well. IIRC I was also playing with Terraform at this time.
2.3 Successfully broke into tech (Associate SRE) as a mid-career shift, due largely (according to the hiring manager) to what I had done with my homelab. Hooray for hobbies paying off.
3. Got a single Dell R620. I think the idea was to install either pfSense or VyOS on it, but that never came to fruition. Networking was from a Unifi USG (their tiny router + firewall + switch) and 8-port switch, with some AC Pro APs.
4. Got two more R620s. Kubernetes all the things. Each one runs Proxmox in a 3-node cluster with two VMs - a control plane, and worker.
4.0.1 Perhaps worth noting here that I thoroughly tested my migration plan via spinning up some VMs in, IIRC, Digital Ocean that mimicked my home setup. I successfully ran it twice, which was good enough for me.
4.1 Played with Ceph via Rook, but a. disliked (and still to this day) running storage for everything out of K8s b. kept getting clock skew between nodes. Someone on Reddit mentioned it was my low-power C-state settings, but since that was saving me something like ~50 watts/node, I didn't want to deal with the higher power/heat. I landed on Longhorn [5] for cluster storage (i.e. anything that wasn't being handled by the ZFS pool), which was fine, but slow. SATA SSDs (used Intel enterprise drives with PLP, if you're wondering) over GBe aren't super fast, but they should be able to exceed 30 MBps.
4.1.1 Again, worth noting that I spent literally a week poring over every bit of Ceph documentation I could find, from the Red Hat stuff to random Wikis and blog posts. It's not something you just jump into, IMO, and most of the horror stories I read boiled down to "you didn't follow the recommended practices."
5. Got a newer Supermicro, an X11SSH-F, thinking that it would save power consumption over the older dual-socket I had for the NAS. It turned out to not make a big difference. For some reason I don't recall, I had a second X9DRi-LN4F+ mobo, so I sold the other one with the faster CPUs, bought some cheaper CPUs for the other one, and bought more drives for it. It's now a backup target that boots up daily to ingest ZFS snapshots. I have 100% on-site backups for everything. Important things (i.e. anything that I can't get from a torrent) are also off-site.
6. Got some Samsung PM863 NVMe SSDs mounted on PCIe adapters for the Dells, and set up Ceph, but this time handled by Proxmox. It's dead easy, and for whatever reason isn't troubled by the same clock skew issues as I had previously. Still in the process of shifting cluster storage from Longhorn, but I have been successfully using Ceph block storage as fast (1 GBe, anyway - a 10G switch is on the horizon) storage for databases.
So specifically, you asked what I do with the hardware. What I do, as far as my family is concerned, is block ads and serve media. On a more useful level, I try things out related to my job, most recently database-related (I moved from SRE to DBRE a year ago). I have MySQL and Postgres running, and am constantly playing with them. Can you actually do a live buffer pool resize in MySQL? (yes) Is XFS actually faster than ext4 for large DROP TABLE operations? (yes, but not by much) Is it faster to shut down a MySQL server and roll back to a previous ZFS snapshot than to rollback a big transaction? (often yes, although obviously a full shutdown has its own problems) Does Postgres suffer from the same write performance issue as MySQL with random PKs like UUIDv4, despite not clustering by default? (yes, but not to the same extent - still enough to matter, and you should use UUIDv7 if you absolutely need them)
I legitimately love this stuff. I could quite easily make do without a fancy enclosed rack and multiple servers, but I like them, so I have them. The fact that it tends to help my professional growth out at the same time is a bonus.
[0]: https://github.com/trapexit/mergerfs
[1]: https://www.snapraid.it
[2]: https://wiki.servarr.com
[3]: https://github.com/stephanGarland/packer-proxmox-templates
[4]: https://github.com/stephanGarland/ansible-initial-server
[5]: https://longhorn.io
- EXT4 corrupted on a Seagate Drive several times. Any help appreciated
-
Merge/Raid HDD documentation
it seems similar to mergerfs https://github.com/trapexit/mergerfs . I havent gone through any code to verify but this is what it seems like
-
Can Rclone be reliably used as a R/W cache or is there something better suited to that task?
Something else to try is mergerfs, https://github.com/trapexit/mergerfs
- Drive Spin Up
-
Looking for a solution to merge storage accross WAN
I use mergerfs for my Google drive, Dropbox and local drives to appear as a single folder structure on my server so my plex doesn't require multiple mappings.
OpenMediaVault
- Openmediavault
- Ask HN: For what purposes do you use a Raspberry Pi?
-
Storage software with the features of Unraid but runs on Debian with cli interface?
You might want to consider the previously mentioned MergerFS and SnapRAID, or MDADM and LVM for your setup. OpenMediaVault [https://www.openmediavault.org/ is a solid choice in this regard. Additionally, if you're planning to run something like Proxmox, you could look into deploying Starwind CVM on top of it. Pretty much like in this guide: https://www.starwindsoftware.com/resource-library/starwind-virtual-san-vsan-configuration-guide-for-proxmox-vsan-deployed-as-a-controller-virtual-machine-cvm/ .
- Openmediavault – The open network attached storage solution
-
What do I need to do to get my personal file server running? I’m new to Linux.
You would better to install OMV instead. It's a ready to use fileserver solution with web interface.
- Design NAS and backup system for me…
-
Yo Ho, Yo Ho, a pirates life for me!! Recent streaming services, prices and shows getting butchered, finally decided its time. Here's how a basic self-hosted 'Netflix' would look like. Fully automated once its setup. Using only a makeshift homelab server from second hand parts.
So I'm working on a similar setup with an ancient desktop my in-laws were getting rid of. I installed OpenMediaVault directly to the hard drive (it's so old that I assume it wouldn't work too well as a hypervisor), with a 4TB external HDD attached. OMV supports Docker by means of a plug-in and I'm running a Jellyfin container with no issues at all. I'm still manually downloading everything to the HDD but *arr containers are my next step, as well as setting up a gluetun container to route all that through a VPN.
-
Ghetto-NAS
That is possible (it's automated to a certain extent). It also depends on the NAS OS. Unraid, for example, can work with drives of different sizes while using the largest one for parity. TrueNAS uses ZFS so you won't be able to just add a drive to your RAIDZ and expand it. There's also openmediavault: https://www.openmediavault.org/ that uses Linux Software RAID and you can add a new drive there but you can't combine drives of different sizes. And there's also Starwinds NAS that supports both Linux Software RAID and ZFS: https://www.starwindsoftware.com/san-and-nas. Plus, I would avoid SMR drives in RAID: https://nascompares.com/answer/list-of-wd-cmr-and-smr-hard-drives-hdd/
-
Want to setup my first NAS for data storage + remote access. Should I setup a TrueNAS or buy an off-shelf NAS like Synology?
I'd put it like that: if you have a spare PC, then it's definitely worth trying. I would also look into openmediavault (minimal RAM needs): https://www.openmediavault.org/ and Starwinds NAS (supports both ZFS and Linux software RAID): https://www.starwindsoftware.com/san-and-nas
- I have a older desktop need ideas for a new home lab
What are some alternatives?
Greyhole - Greyhole uses Samba to create a storage pool of all your available hard drives, and allows you to create redundant copies of the files you store.
Nextcloud - ☁️ Nextcloud server, a safe home for all your data
mergerfs-tools - Optional tools to help manage data in a mergerfs pool
FreeNAS - TrueNAS CORE/Enterprise/SCALE Middleware Git Repository [Moved to: https://github.com/truenas/middleware]
Seaweed File System - SeaweedFS is a fast distributed storage system for blobs, objects, files, and data lake, for billions of files! Blob store has O(1) disk seek, cloud tiering. Filer supports Cloud Drive, cross-DC active-active replication, Kubernetes, POSIX FUSE mount, S3 API, S3 Gateway, Hadoop, WebDAV, encryption, Erasure Coding. [Moved to: https://github.com/seaweedfs/seaweedfs]
Jellyfin - The Free Software Media System
chia-plotter-deployment - A Bunch of Scripts to setup a Chia Farm. Focusing on, but not limited to, the MadMax Plotter, and HPool.
DietPi - Lightweight justice for your single-board computer!
cloudplow - Automatic rclone remote uploader, with support for multiple remote/folder pairings. UnionFS Cleaner functionality: Deletion of UnionFS whiteout files and their corresponding files on rclone remotes. Automatic remote syncer: Sync between different remotes via a Scaleway server instance, that is created and destroyed at every sync.
Portainer - Making Docker and Kubernetes management easy.
rclone - "rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
trueNAS