Comments (10)
Mounting a nfs volume is something a lot of users struggled with in Rancheros, including myself.
Finally i found a solution that I would like to share.WAIT until the network is up during the initiation phase.
Thanks this was useful tip. I guess that we can include some wait network logic to volume-nfs container https://github.com/burmilla/os-services/blob/v1.9.0/images/20-volumenetshare/Dockerfile
from os.
Will nfs-common be included in default BurmillaOS console?
Good question. Based on https://packages.debian.org/buster/nfs-common it looks to be quite small and there is already couple of persons who need it so maybe it would be easiest include lt as part of next update.
from os.
I installed nfs-common on the console and seemed to work after that. Was able to mount manually and via mounts in cloud config.
from os.
Hmm. We should not require install to console. Will reopen and investigate this later.
from os.
Looks that we need also update documentation. Purpose of volume-nfs service (and volume-cifs) is provide NFS/CIFS support for containers with https://github.com/ContainX/docker-volume-netshare
Mounts to console needs nfs-common / cifs-utils to be installed to console.
from os.
Mounting a nfs volume is something a lot of users struggled with in Rancheros, including myself.
Finally i found a solution that I would like to share.
WAIT until the network is up during the initiation phase.
This can be accomplished in two ways by editing the file: /var/lib/rancher/conf/cloud-config.d
rancher:
#do a dummy call to a datasource to initiate the network
cloud_init:
datasources:
- url:http://somefile
#or wait until dhcp lease is done
network:
interfaces:
eth1:
dhcp_timeout: 0
dhcp: true
#enable nfs service in systemdocker
service_include:
volume-nfs: true
Both options, initiating the network by a dummy call or wait until a dhcp address is assigned (dhcp_timeout: 0) worked in my case.
Hope this helps somebody. Iam quite a Linux noob btw.
from os.
After upgrading from RancherOS console version to BurmillaOS console version (that was my fault when I did the upgrade...) I cannot longer use NFS mount on nodes.
I see this comment at the beggining, but I don't know how to install nfs-common package, can you explain that?
I installed nfs-common on the console and seemed to work after that. Was able to mount manually and via mounts in cloud config.
Thanks!!
EDIT: Ok, it's so simple... It's enough to perform an apt-get update && apt-get install nfs-common
. Will nfs-common
be included in default BurmillaOS console?
from os.
It requires some other dependencies and I saw a 26,2 MB installation space in total, so it is not as small as it looks like, but I vote for its addition anyway.
from os.
I've just had the same issue, migrated from RancherOS yesterday (as the existing RancherOS docker version didn't support Ubuntu Jammy images as per https://docs.linuxserver.io/faq#jammy ). The upgrade was seamless btw so thanks for that!!
NFS mounts seemed to work fine until I reset the default console via
sudo ros console switch default
as per everyone else the way I had previously gotten NFS to work on RancherOS was as follows in my config:
mounts: - - nasbox.local:/Folder - /NAS - nfs4 - "" services_include: volume-nfs: true
Worked around as above by Installing nfs-common via
EDIT: Ok, it's so simple... It's enough to perform an apt-get update && apt-get install nfs-common. Will nfs-common be included in default BurmillaOS console?
I assume that this will need to be done every-time the console is reset (i.e. every upgrade)?
from os.
I assume that this will need to be done every-time the console is reset (i.e. every upgrade)?
Yes if you do console reset as part of upgrade. However it does not happen automatically (like discussed #150 ) so you can choose just updating packages with apt-get update+upgrade like on any Debian based distro.
Or automate that package installation https://burmillaos.org/docs/configuration/advanced/running-commands/ and use reset option.
from os.
Related Issues (20)
- Making console container customizable HOT 8
- System CA certificates don't include new Let's Encrypt CA (ISRG Root X1) HOT 3
- How to build actually rpi64 image? HOT 6
- High dhcpd memory usage HOT 14
- v1.9.4 does not update /etc/resolv.conf when using DHCP HOT 7
- v2 branch updates? HOT 19
- Cleanup old RancherOS system-docker overlay[2] directory HOT 2
- BurmillaOS boot fails to start console container HOT 7
- (v2.0.0-beta5) Failed to add swap (swapon failed: Invalid argument) HOT 6
- Configuring system docker network causes kernel panic HOT 8
- Looking for open-vm-tools security update - CVE-2022-31676 for burmilla/os-openvmtools docker image HOT 5
- /opt/burmilla/bin/start.sh not getting executed HOT 1
- Proxmox VE ISO doesn't boot in UEFI mode HOT 1
- S alternatives HOT 1
- Kernel 4.14.x EOL in January 2024 HOT 2
- VMware disk won't properly come online in the OS HOT 31
- Console container not updated after upgrade HOT 15
- System-docker version number is incompatible with cAdvisor HOT 9
- VDSL2 / ppp Network Support? HOT 9
- TrueNAS Core 13 compatibility HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from os.