lima-vm / lima-vm/lima

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

Open
#2,053 0 comments 0 reactions 0 assignees View on GitHub
component/vz guest/alpine
Dominant language
Go
Stars
21.9k
Forks
957
Avg merge
2d 6h
Merged PRs (30d)
53

Description

### 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/` 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//` 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.