one_knight_scripting

joined 11 months ago

Someone needs to (Win + X, U, R).

[–] one_knight_scripting@lemmy.world 1 points 3 weeks ago* (last edited 3 weeks ago)

Can't say I've used that... Yet. I like nextcloud because besides being compatible with Linux/Windows and having an Android app, it also has a simple web UI to access the files. It's probably closer to self hosted OneDrive than anything else I can think of. Kinda like the simplicity of pairdrop though.

[–] one_knight_scripting@lemmy.world 2 points 3 weeks ago (1 children)

Hell yeah, it will. I need one of those bad boys.

[–] one_knight_scripting@lemmy.world 7 points 3 weeks ago* (last edited 3 weeks ago) (5 children)

Hah. I see your looking into ZFS caching. Highly recommend. I'm running Ubuntu 24.04 Root on ZFS RAID10. Twelve each data drives and one nvme cache drive. Gotta say it's performing exceptionally. ZFS is a bit tricky, it requires an HBA not a RAID card. You may to to flash the raid card to get it working like I did. After that, I have put together a GitHub for the install on ZFS RAID 10, but you should easily be able to change it to RAIDz2. Fair warning, it wipes the drives entirely.

https://github.com/Reddimes/ubuntu-zfsraid10/

[–] one_knight_scripting@lemmy.world 1 points 3 weeks ago* (last edited 3 weeks ago) (2 children)

Do you have any hosting in your home lab? Preferably something for running a docker container, but a hypervisor could do the job too.

Nextcloud is an option if you do. Technically speaking you could properly protect it and make it public. You don't have to do that though. Any file you upload on your computer could be copied to your phone or vice versa. If it's public, then this could be done from anywhere.

Only professionals use GiB. 👍

I seed what you did there.

I'm gonna disagree with you. They're just trying to share another community where art is focused. Frankly, I'm always looking for more trekkies. ¯\_(ツ)_/¯

I'm going to go with yes. Since unlike Star Wars, Stargate has multiple enemies and is closer to Star Trek with its episodic nature. Although some(ok, most) of the enemies are based on ancient fantasy characters, I would say that what actually makes them different is simply technology as opposed to any legitimate magic powers(the force). I think that easily takes it from fantasy into Science Fiction. Perhaps this argument loses support when it comes to the ORI. But what about the wraith, the goauld, the ancients, the Jaffa, the tokra, the nox, the replicators, and the Asgard?

Thanks for the insight!

I may have to resort to using BTRFS for this host eventually if ZFS fails me. I do not expect a lot of duplication on a host, even if I have it, who cares I have 60 TB despite the raid 10 architecture. Having something with kernel support may be a better approach anyways.

It's interesting to me that it struggles with raid 5 and 6 though. I would have expected that to be easy to provide.

[–] one_knight_scripting@lemmy.world 2 points 2 months ago* (last edited 2 months ago) (2 children)

BTRFS is a damn good option too. I'm happy to hear how easy it is to use. I haven't used it(yet), I went with ZFS because of its flexible architecture. On a desktop level, BTRFS makes sense, but in a server? What is it like in a Hypervisor?

I'm working on standing up a Cloudstack host as a Hypervisor. Now, I want this host to be able to run 5 kubernetes VMs, so it needs to have quick access to the disks. Now, I do not have a RAID card, only an HBA. In such a scenario, I would typically use a RAID 10. But a ZFS Raid 10 outperforms an mdraid 10 anyways (in terms of writing, not necessarily reading). So that is what I've decided. It may not be a good idea, it may not even be feasible. But I'm heckin willing to give it a shot.

I'm actually jealous that you automatically have built in kernel support though. I am a little curious about BTRFS in terms of how(or if) it connects multiple disks, I'm simply uninformed.

ZFS Performance Sauce

Install Ubuntu 24.04 on ZFS RAID 10 - Github Repository

Edit: There are a few drawdowns to using ZFS, lousy docker performance being one that I've heard about. I'm curious how this will be affected if I have docker running inside a VM.

[–] one_knight_scripting@lemmy.world 2 points 2 months ago* (last edited 2 months ago) (1 children)

That's fair. I chose ZFS because I've used it before. And understand it fairly well already. I know nothing about BTRFS, so perhaps you could educate me a little. I'm working on setting up a cloudstack host using ZFS RAID 10. Does BTRFS have a flexible architecture to where you could do something similar?

Edit: Perhaps you could also inform me of the speeds of BTRFS too. From what I understand, ZFS outperforms BTRFS in large datasets, but I don't know where the cutoff is. I'll let you know it would need to run 12 ea 10TB HDDs.

 

Hello there Selfhosted community!

This is an announcement of the completion of a project I've been working on. A Script for installing Ubuntu 24.04 on a ZFS RAID 10. Now, I'd like to describe why I choose to develop this and how I'd like for other people to have access to it as well. Let us start with the hardware.

Now, I am using an old host. My host in particular was originally a BCDR device that was based on a ZFS raidz implementation. Since it was designed for ZFS, it doesn't even have a RAID card, it only has an HBA anyways. So for redundancy, ZFS is a good way to go. Now, even though this was a backup appliance, it did not have root on ZFS. Instead, it had a separate harddrive for the operating system and three individual disks for the zpool. This was not my goal.

So I did a little research and testing. I looked at two particular guides (Debian/Ubuntu). Now, I performed those steps a dozens of times because I kept messing up the little things. And to eliminate the human error(that's me) I decided to just go ahead and script the whole thing.

The Github Repository I linked contains all the code needed to setup a generic ubuntu-server host using a ZFS RAID 10.

Instructions for starting the script are easy. Boot up a live cd(https://ubuntu.com/download/server). Hit CTRL+ALT+F2 to go into the shell. Run the following command:

bash <(wget -qO- https://raw.githubusercontent.com/Reddimes/ubuntu-zfsraid10/refs/heads/main/tools/install.sh)

This command does clone the repository, changes directory into it, and runs the entrypoint(sudo ./init.sh). Hopefully, this should be easy to customize to meet your needs.

More Engineering details are on the Github.

view more: next ›