Skip to content

Commit a455aa5

Browse files
authored
Merge pull request firecracker-microvm#129 from sipsma/master
Add note about DM_DISABLE_UDEV to README.
2 parents c4cc0f5 + b213b57 commit a455aa5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

snapshotter/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## Requirements
2+
3+
### Running
4+
Due to its dependency on `dmsetup`, executing the snapshotter process in an environment where a udev
5+
daemon is not accessible (such as a container) may result in unexpected behavior. In this case, try executing the
6+
snapshotter with the `DM_DISABLE_UDEV=1` environment variable, which tells `dmsetup` to ignore udev and manage devices
7+
itself. See [lvm(8)](http://man7.org/linux/man-pages/man8/lvm.8.html) and
8+
[dmsetup(8)](http://man7.org/linux/man-pages/man8/dmsetup.8.html) for more information.
9+
110
## How to run snapshotters benchmark
211

312
- `firecracker-containerd` project contains CloudFormation template to run an EC2 instance suitable for benchmarking.

0 commit comments

Comments
 (0)