From ce4e5f8cd967b79edd16ec06f1507d2578449af9 Mon Sep 17 00:00:00 2001 From: awokd <34515595+awokd@users.noreply.github.com> Date: Tue, 30 Jan 2018 12:40:50 +0000 Subject: [PATCH 1/2] mention discard mount option nothing 4.0 specific --- common-tasks/tips-and-tricks.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common-tasks/tips-and-tricks.md b/common-tasks/tips-and-tricks.md index 668d38fb..0ecc6486 100644 --- a/common-tasks/tips-and-tricks.md +++ b/common-tasks/tips-and-tricks.md @@ -58,4 +58,5 @@ Trim for standalone AppVMs --------------------- The `qvm-trim-template` command is not available for a standalone AppVM. -It is still possible to trim the AppVM disks by using the `fstrim --all` command from the appvm +It is still possible to trim the AppVM disks by using the `fstrim --all` command from the appvm. +Note you may need to add the `discard` option to the mount line in `/etc/fstab` inside the standalone AppVM before this will work as expected. From d85351b4721f3535d4b78a3a8f18dc9cf82605a6 Mon Sep 17 00:00:00 2001 From: awokd <34515595+awokd@users.noreply.github.com> Date: Tue, 30 Jan 2018 14:58:43 +0000 Subject: [PATCH 2/2] Update tips-and-tricks.md --- common-tasks/tips-and-tricks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common-tasks/tips-and-tricks.md b/common-tasks/tips-and-tricks.md index 0ecc6486..39be0303 100644 --- a/common-tasks/tips-and-tricks.md +++ b/common-tasks/tips-and-tricks.md @@ -59,4 +59,4 @@ Trim for standalone AppVMs The `qvm-trim-template` command is not available for a standalone AppVM. It is still possible to trim the AppVM disks by using the `fstrim --all` command from the appvm. -Note you may need to add the `discard` option to the mount line in `/etc/fstab` inside the standalone AppVM before this will work as expected. +You can also add the `discard` option to the mount line in `/etc/fstab` inside the standalone AppVM if you want trimming to be performed automatically, but there may be a performance impact on writes and deletes.