Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add zfs to bluefin image #1283

Open
pypeaday opened this issue May 10, 2024 · 3 comments
Open

Add zfs to bluefin image #1283

pypeaday opened this issue May 10, 2024 · 3 comments

Comments

@pypeaday
Copy link

Describe the package

Hello, thanks for the great work on this project, I'm excited to try it out. I forked the template repo and see this in containerfile

# SOURCE_IMAGE arg can be anything from ublue upstream which matches your desired version:
# See list here: https://github.com/orgs/ublue-os/packages?repo_name=main
# - "silverblue"
# - "kinoite"
# - "sericea"
# - "onyx"
# - "lazurite"
# - "vauxite"
# - "base"
#
#  "aurora", "bazzite", "bluefin" or "ucore" may also be used but have different suffixes.
ARG SOURCE_IMAGE="bluefin"

## SOURCE_SUFFIX arg should include a hyphen and the appropriate suffix name
# These examples all work for silverblue/kinoite/sericea/onyx/lazurite/vauxite/base
# - "-main"
# - "-nvidia"
# - "-asus"
# - "-asus-nvidia"
# - "-surface"
# - "-surface-nvidia"
#
# aurora, bazzite and bluefin each have unique suffixes. Please check the specific image.
# ucore has the following possible suffixes
# - stable
# - stable-nvidia
# - stable-zfs
# - stable-nvidia-zfs
# - (and the above with testing rather than stable)
ARG SOURCE_SUFFIX="-dx-nvidia"

But when I try to pull bluefin-stable-nvidia-zfs I get 403/4, which I think probably just amounts to this tag not being available. I see zfs in the ucore repo and I'm brand new so I'm not sure how all the image flow in and out of each other, but I'm a developer and would love to have zfs available in the base images that magically take care of nvidia and container setup too :D

I'll probably try to get it installed myself in the build script but for the time being wanted to request/ask if zfs in bluefin is a possibility?

Image

Ubuntu

@castrojo
Copy link
Member

This won't work today, the zfs stuff for ucore doesn't work in bluefin.

This is something I'd love to do long term but it would depend on us using the coreos kernel, which is on the roadmap.

@pypeaday
Copy link
Author

amazingly fast response!

so in the time being can I ask for a recommendation? I'm a dev and I do a lot of stable diffusion + python stuff at home so I definitely want the Nvidia stuff and dev stuff all baked into an immutable image... question is, would it be feasible for me to build off the ucore image to get zfs and then setup the containerfile to install all the dev tools?
otherwise I might look for another storage solution since this project feels so promising!

@m2Giles
Copy link
Member

m2Giles commented May 10, 2024

Ucore is an excellent storage solution option.

If what you are looking for is a GUI, ucore comes with a web application called cockpit to manage your server.

Note, ucore doesn't support root on zfs at this time so your zpool needs to be at the bare minimum a different partition or more likely separate disks.

Ucore is a minimal server first aimed at container based workloads. There is nothing stopping you from using code server or some other remote development system with it.

Long term wise as Jorge mentioned we are looking at supporting the coreOS kernel which would enable us to more reliably ship a zfs variant. But it will still have the no root on zfs constraint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants