Enjoy you crypted /var volume!

This commit is contained in:
benoit 2017-02-23 21:35:43 +01:00
parent 07c6b8691f
commit c4630582e5

View file

@ -1,4 +1,3 @@
Notes... Notes...
``` ```
@ -15,4 +14,12 @@ Notes...
# echo "/dev/mapper/crypted-var /var ext4 defaults 0 2" >> /etc/fstab # echo "/dev/mapper/crypted-var /var ext4 defaults 0 2" >> /etc/fstab
# reboot # reboot
# go to scaleway console, and type your passphrase! # go to scaleway console, and type your passphrase!
```
Enjoy you crypted `/var` volume!
```
root@machine:~# df -h /var
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/crypted-var 35G 861M 32G 3% /var
``` ```