public:a_perfect_btrfs_server
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
public:a_perfect_btrfs_server [2020/01/08 09:48] – [Initialize LXD] pcouderc | public:a_perfect_btrfs_server [2021/11/19 08:56] (Version actuelle) – [Initialize LXD] pcouderc | ||
---|---|---|---|
Ligne 40: | Ligne 40: | ||
</ | </ | ||
- | ===== Update init system | + | ===== Various inits |
- | ... to allow boot in case of failure of one disk of the RAID1. | + | I suggest |
- | + | ||
- | *** This is discussed and may be skipped : use a rescue disk in case of problem *** | + | |
- | + | ||
- | Include ' | + | |
- | < | + | |
- | GRUB_CMDLINE_LINUX=" | + | |
- | </ | + | |
- | Then : | + | |
- | < | + | |
- | update-grub | + | |
- | grub-install /dev/sda1 | + | |
- | grub-install /dev/sdb1 | + | |
- | </ | + | |
- | And too replace " | + | |
< | < | ||
- | UUID=... / btrfs | + | Storage=persistent |
</ | </ | ||
+ | See : https:// | ||
==== Add zram based swap ==== | ==== Add zram based swap ==== | ||
Ligne 131: | Ligne 118: | ||
< | < | ||
lxc launch images: | lxc launch images: | ||
+ | lxc config device | ||
+ | lxc config set debian | ||
+ | |||
lxc start debian | lxc start debian | ||
lxc exec debian bash | lxc exec debian bash | ||
Ligne 137: | Ligne 127: | ||
It is possible to choose to work as root in the containers as they are isolated from the host. | It is possible to choose to work as root in the containers as they are isolated from the host. | ||
- | === Backup containers | + | ==== Containers |
+ | === Backup === | ||
< | < | ||
Ligne 148: | Ligne 138: | ||
</ | </ | ||
- | === Use mmstp in containers === | + | === Use simple mail in server or containers === |
+ | == nullmailler == | ||
+ | Bien | ||
+ | == msmtp == | ||
< | < | ||
Ligne 158: | Ligne 151: | ||
< | < | ||
account default | account default | ||
- | host 192.168.12.34 | + | host 192.168.13.36 |
auto_from off | auto_from off | ||
from container_name@couderc.eu | from container_name@couderc.eu | ||
Ligne 164: | Ligne 157: | ||
</ | </ | ||
+ | == Data access == | ||
+ | < | ||
+ | / | ||
+ | </ | ||
===== Maintenance ===== | ===== Maintenance ===== | ||
public/a_perfect_btrfs_server.txt · Dernière modification : 2021/11/19 08:56 de pcouderc