lima icon indicating copy to clipboard operation
lima copied to clipboard

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

Open crazytaxi824 opened this issue 2 years ago • 0 comments

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.

crazytaxi824 avatar Dec 04 '23 23:12 crazytaxi824