rancher / k3os

Purpose-built OS for Kubernetes, fully managed by Kubernetes.
https://k3os.io
Apache License 2.0
3.5k stars 396 forks source link

How to mount VMWare shared folder? #844

Open CrazyPyro opened 2 years ago

CrazyPyro commented 2 years ago

Version (k3OS / kernel) k3os version v0.22.2-k3s2r0 5.4.0-88-generic #99 SMP Tue Oct 5 16:53:38 UTC 2021

Architecture x86_64

Describe the bug Should be able to mount a shared folder from Windows host into K3OS guest running on VMWare Workstation 16.

To Reproduce Install a fresh K3OS on VMWare Workstation 16 running on Windows using latest k3os-amd64.iso In Workstation's Virtual Machine Settings -> Options, Shared Folders, set to "Always Enabled" and map a share. In the installed rebooted K3OS, confirm: $ /etc/init.d/open-vm-tools status * status: started

Then try to mount similar to like in Ubuntu

$ sudo mkdir -p /mnt/hgfs
$ sudo mount -t fuse.vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other

Expected behavior This would result in a mounted accessible fileshare.

Actual behavior Error: mount: /mnt/hgfs: wrong fs type, bad option, bad superblock on .host:/, missing codepage or helper program, or other error.

This is supposed to work, right? Thanks for any clarification.