docs: Disk pass-through

This commit is contained in:
Kroese 2024-05-01 11:57:12 +02:00 committed by GitHub
parent 50ab8c55ad
commit bc75e8317f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -119,7 +119,7 @@ docker run -it --rm --name dsm -p 5000:5000 --device=/dev/kvm --cap-add NET_ADMI
- /dev/disk/by-uuid/45678-45678-45678-45678-45678:/dev/disk3
```
Make sure to bind the disk via its UUID (obtainable via `lsblk -o name,uuid`) instead of its name, to make sure it can never accidently pass the wrong drive when their order gets swapped.
Make sure to bind the disk via its UUID (obtainable via `lsblk -o name,uuid`) instead of its name (`/dev/sdc`), to make sure it can never accidently pass the wrong disk when their name assignments get shuffled.
Please note that the device needs to be totally empty (without any partition table) otherwise DSM does not always format it into a volume.