[caasp-beta] read only fs on caasp kubernetes nodes
Simeon Bobylev
simeon.bobylev at cortex-it.ch
Wed Feb 21 06:23:38 MST 2018
Hi all,
Is there a specific reason that /dev/sda2 is mounted in read only into / on
CaaSP Kubernetes nodes ?
c002-caasnode-01:~ # mkdir /var/lib/controller
mkdir: cannot create directory ‘/var/lib/controller’: Read-only file
system
c002-caasnode-01:~ # head -n 1 /etc/fstab
UUID=abf1dcf2-8539-49d4-8f8e-45c0cf561e80 / btrfs ro 0 0
I would like to test Avi Networks integration with SUSE CaaSP and in order
to perform that I need to run a container with some volumes mounts, into
/var/lib/controller for example. Of course I have a new dedicated virtual
disk for these docker volumes but the problem is even if can add a new disk
and create partition I’m not able to mount it anywhere because of read only
mount on /.
I tried to mount /dev/sda2 in rw through “Rescue System” to create needed
directory /var/lib/controller but I had the same message (Read-only file
system).
Actually to continue my tests I did something dirty (from my point of view)
:
c002-caasnode-01:~ # tail -n 1 /etc/fstab
UUID=17153c00-ba92-4bed-9bf6-0a36b43bb176 /var/lib/docker/avi-controller
ext4 defaults 0 0
What do you think about that ? Is there some best practices for similar
cases ?
Best regards,
Siméon Bobylev ¦ System Engineer ¦ Cortex IT SA ¦ Route de l'Ile aux Bois 1A
¦ 1870 Monthey ¦ Switzerland
Direct: +41 24 524 1204 ¦ Main: +41 24 524 1200 ¦ Email:
<mailto:simeon.bobylev at cortex-it.ch> simeon.bobylev at cortex-it.ch
<http://www.cortex-it.ch/> http://www.cortex-it.ch/ ¦ A WIRD Group Company
This e-mail has been sent by a trading and services firm. It is confidential
and may be privileged. Only the intended recipient may read, copy and use
it. If you have received it in error, please contact us immediately. Thank
you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.suse.com/pipermail/caasp-beta/attachments/20180221/2fcd711d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 4217 bytes
Desc: not available
URL: <http://lists.suse.com/pipermail/caasp-beta/attachments/20180221/2fcd711d/attachment.png>
More information about the caasp-beta
mailing list