DiskTRIM changed

Fix instruction on getting UUID
This commit is contained in:
Marek Marczykowski-Górecki 2015-01-31 16:10:21 +00:00
parent b7d60ac8ed
commit 0dad14a4e4

View File

@ -8,13 +8,13 @@ VMs have already TRIM enabled by default, but dom0 doesn't. There are some secur
To enable TRIM in dom0 you need: To enable TRIM in dom0 you need:
1. Get your root device UUID: 1. Get your LUKS device UUID:
``` {.wiki} ``` {.wiki}
blkid /dev/mapper/*root ls /dev/mapper/luks-*
``` ```
2. Add entry to `/etc/crypttab` (replace \<UUID\> with the device UUID): 2. Add entry to `/etc/crypttab` (replace luks-\<UUID\> with the device name and the \<UUID\> with UUID alone):
``` {.wiki} ``` {.wiki}
luks-<UUID> UUID=<UUID> none allow-discards luks-<UUID> UUID=<UUID> none allow-discards