You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey guys, I hope i'm missing something obvious here. i've been using podman 4.x.x for quite a while with no issues, but since v5 and the switch to vfkit, I can't figure out how to make this work.
I have an NFS share mounted on my mac, with qemu I was able to mount the share folder directly using '--volume /path/to/nfs:/mnt/macbook'
now with vfkit i'm getting virtio-fs errors, with not a great deal of info to work with, besides simply not being able to mount to root dir. but I could with qemu. I can mount the nfs share by mounting (which is default anyway) $HOME:$HOME, but i'm trying to bring over a postgres db from podman 4.9.2, and the paths are specific to what I had mounted on that machine.
I SSHd into the machine as root and tried altering with the systemd files to no avail. I did somehow manage to get the /mnt/macbook folder to show up, but just as an empty dir. here are the basic systemctl status errors, i'm going to find the rest of what I found before and post here, I tried many different things I lost track of whats what.
UNIT LOAD ACTIVE SUB DESCRIPTION
● mnt-macbook.mount loaded failed failed /mnt/macbook
● virtiofs-mount-prepare@mnt-macbook.service loaded failed failed Allow virtios to mount to /
× mnt-macbook.mount - /mnt/macbook
Loaded: loaded (/etc/systemd/system/mnt-macbook.mount; enabled; preset: enabled)
Active: failed (Result: resources)
TriggeredBy: ○ mnt-macbook.automount
Where: /mnt/macbook
What: d1012d6aba62c685c2d67a50ac7f55cfd51b
localhost systemd[1]: mnt-macbook.mount: Mount path /mnt/macbook is not canonical (contains a symlink).
localhost systemd[1]: mnt-macbook.mount: Failed with result 'resources'.
localhost systemd[1]: Failed to mount mnt-macbook.mount - /mnt/macbook.
× virtiofs-mount-prepare@mnt-macbook.service - Allow virtios to mount to /
Loaded: loaded (/etc/systemd/system/virtiofs-mount-prepare@.service; enabled; preset: enabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: failed (Result: exit-code) since Sun 2024-05-19 23:19:33 EDT; 33s ago
Main PID: 783 (code=exited, status=1/FAILURE)
CPU: 21ms
localhost mkdir[783]: mkdir: cannot create directory ‘/mnt’: File exists
localhost systemd[1]: virtiofs-mount-prepare@mnt-macbook.service: Main process exited, code=exited, status=1/FAILURE
localhost systemd[1]: virtiofs-mount-prepare@mnt-macbook.service: Failed with result 'exit-code'.
localhost systemd[1]: Failed to start virtiofs-mount-prepare@mnt-macbook.service - Allow virtios to mount to /.
any help would be greatly appreciated. i'm usually good troubleshooting these things but i'm far from an expert with VMs on mac.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
hey guys, I hope i'm missing something obvious here. i've been using podman 4.x.x for quite a while with no issues, but since v5 and the switch to vfkit, I can't figure out how to make this work.
podman 5.0.3
macbook ventura 13.6.7
Fedora CoreOS 40.20240504.2.0
I have an NFS share mounted on my mac, with qemu I was able to mount the share folder directly using '--volume /path/to/nfs:/mnt/macbook'
now with vfkit i'm getting virtio-fs errors, with not a great deal of info to work with, besides simply not being able to mount to root dir. but I could with qemu. I can mount the nfs share by mounting (which is default anyway) $HOME:$HOME, but i'm trying to bring over a postgres db from podman 4.9.2, and the paths are specific to what I had mounted on that machine.
I SSHd into the machine as root and tried altering with the systemd files to no avail. I did somehow manage to get the /mnt/macbook folder to show up, but just as an empty dir. here are the basic systemctl status errors, i'm going to find the rest of what I found before and post here, I tried many different things I lost track of whats what.
any help would be greatly appreciated. i'm usually good troubleshooting these things but i'm far from an expert with VMs on mac.
Beta Was this translation helpful? Give feedback.
All reactions