From 2307d7837cc42015d35786637d9bb9aacdc52f0b Mon Sep 17 00:00:00 2001 From: Maciej Lebiest <68295743+Szwendacz99@users.noreply.github.com> Date: Mon, 21 Jun 2021 14:31:38 +0200 Subject: [PATCH] disable copy on write on var --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8c9bc9a..34b47bc 100644 --- a/README.md +++ b/README.md @@ -89,9 +89,12 @@ For setting up different locale than pl check official guide >mkdir /mnt/snapshots >mkdir /mnt/efi # for EFI partition /dev/sdX1 + +## disable copy on write on var +>chattr +C /mnt/var ### If using encryption, change /dev/sdX2 to /dev/mapper/MainPart -### IMPORTANT for swap subvolume add nodatacow option to disable CoW +### for swap subvolume add nodatacow option to disable CoW (works only if its separate partition) ### Discard ssd and noatime are for ssd disks only >mount -o defaults,noatime,nodatacow,discard,ssd,subvol=@swap /dev/sdX2 /mnt/swap