Hey Folks,
I have been testing and trying seafile on a local VM for a while now. I finally decided to buy some good Hardware for my homeCloud. I’m currently waiting for the hardware and wanted to place some questions while waiting.
I went for 24 / 7 system with ECC RAM, an M2 MVME Intel Drive for OS and two 2TB HDDs for SeafileData. I have been reading alot about ZFS and BTRFS the last couple of days… and I’m still not sure what path I will go.
here some facts:
- OS Ubuntu (just seems to be the OS I got used to over the last months and Its not going to be changed)
- ECC-RAM might be overkill but I decided to go the safe way
after I install the OS on the M2-Drive I would install ZFS oder BTRFS and then plug in the two HDDs and mirror them.
Currently I’m more into BTRFS but there are so many opinions on both. Some say for Ubuntu BTRFS is more nativ. Others say ZFS is not stable yet. Other say both are not stable yet…
For me I just want to mirror those to drives, mount them as mirrored partition and place the Seafile Data on it.
For BTRFS I read that you can mirror two drives but you can only use one drive for accces e.g. the seafile Data.So in a case of failure I would have to remount everything to the good drive… that’s not what I’m looking for. I want the system to mount the mirrored partition and tell me when its degraded so that I can swap the falty hdd.
Further I dont want to do deduplication, snapshots or encrytption. The only thing I think I need this crazy Filesystems are there mechanism to detect faulty bits. Otherwise a normal Raid would be fine for me.
Since my MySQL Database will lay on the M2-Drive and that will not be part of the mirror, I cannot do snapshots that would be consistent with both seafile and MySQL, so I will do my Backup (as before) on my Workstation and backup the Data in plaintext. What I prefer more anyway. Seafile for me,is just a central Point to update all my Clients. Its not the only point I have my Data.
Please don’t tell me that Raid is not Backup. I think I have read this sentence 100 times over the last 10 Years…
I uploaded I picture of my situation:
Please let me know what you would use: BTRFS or ZFS and let me know what other Ideas you have.
As I said I currenty got a seafile running in a VM on my Workstation. Thats my Baseline. (its not as clean as I would like It to be but it serves me all the configs for the new System. I’m planing to setup another VM on my Workstation that will be a clean Test-Seafile-Server, and from that I will produce the “Production-Seafile-Server.
So when I want to try something I can your the old-“Dirty”-Play-Server”, when regular Updates come I test them on the “Test-Server” beforehand and then apply them to the “Real-Server”. Its a bit of a work, but thats how I would do things at work so I do the same at home. At the End I might delete the Play-Server but I will have the Test-Server in anycase, because it will also be setup with ZFS or BTRFS.
There are Guides online for installing the entire OS on a mirror like ZFS and BTRFS but they are so F***** complicated and bring to much complexity. I think I will be fine with a good Intel unmirrored Drive for OS.
I will make sure to backup essential configs files from the OS anyway and maybe change my backup solution later (e.g. connect the USB-Drive to seafile) but thats how I’m gonna roll for the time being.
Any questions, opinions or improvement?
Let me know.
And lots of thanks for your time spent, helping so far ![]()
Cheers
Michael

thanks for input.