Skip to content

/tmp/lima is not mounted with --vm-type=vz template://alpine #2053

@crazytaxi824

Description

@crazytaxi824

env

M3 MacBook

macOS: Sonoma 14.1.2

Description

# init start
limactl create --vm-type=vz --name=alpine template://alpine
limactl start alpine

At init start, everything is perfect. Both /Users/<username> and /tmp/lima is mounted.

# restart
limactl stop alpine
limactl start alpine

After restart alpine, the dir /tmp/lima is not mounted, but the readonly dir /Users/<username>/ is mounted.

I have compare the two serial*.log. After restart alpine, there are some more contents there:

...
[    0.531311]  vda: vda1
[    0.531419] virtio_blk virtio3: 1/0/0 default/read/poll queues
[    0.531611] virtio_blk virtio3: [vdb] 74340 512-byte logical blocks (38.1 MB/36.3 MiB)
[    0.632246] EXT4-fs (vda1): orphan cleanup on readonly fs
[    0.632552] EXT4-fs (vda1): mounted filesystem with ordered data mode. Quota mode: none.
[    0.633879] EXT4-fs (vda1): unmounting filesystem.
...

Besides these, other lines are exactly the same.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions