mirror of
https://gitlab.com/free_zed/free_zed.gitlab.io.git
synced 2024-06-09 11:52:31 +00:00
🔀 Merge branch 'extend-pool' into production
1. 📝 Update content in `extend-zfs-pool…`
This commit is contained in:
commit
2d7b61cda6
|
@ -1,5 +1,6 @@
|
|||
Title: Extend a ZFS root pool after Ubuntu installation
|
||||
Date: 2021-01-03 21:55
|
||||
Modified: 2021-04-30
|
||||
Summary: 1st step after installing Ubuntu on ZFS
|
||||
Category: Bloc-notes
|
||||
Tags: zfs, ubuntu, admin, shell, cli, performance, logiciel libre,
|
||||
|
@ -139,6 +140,35 @@ config:
|
|||
errors: No known data errors
|
||||
```
|
||||
|
||||
📝 30/4/2021 edit
|
||||
-----------------
|
||||
|
||||
1. Steps compatible with [version `21.04` «_Hirsute Hippo_»](https://discourse.ubuntu.com/t/hirsute-hippo-release-notes/19221) instaler;
|
||||
* the partition numbering seems to be continuous now
|
||||
1. Enlarge `swap` with the available partition on the added disk
|
||||
|
||||
```bash
|
||||
user@hirsute:~$ free -h
|
||||
total utilisé libre partagé tamp/cache disponible
|
||||
Mem: 11Gi 974Mi 10Gi 7,0Mi 259Mi 10Gi
|
||||
Swap: 2,0Gi 0B 2,0Gi
|
||||
|
||||
user@hirsute:~$ sudo mkswap /dev/sdb5
|
||||
Configure l'espace d'échange (swap) en version 1, taille = 2 GiB (2147479552 octets)
|
||||
pas d'étiquette, UUID=bbbbbbbb-bbbbb-bbbb-bbbb-bbbbbbb
|
||||
|
||||
user@hirsute:~$ grep swap /etc/fstab
|
||||
UUID=aaaaaaaa-aaaaa-aaaa-aaaa-aaaaaaa none swap sw 0 0
|
||||
UUID=bbbbbbbb-bbbbb-bbbb-bbbb-bbbbbbb none swap sw 0 0
|
||||
|
||||
user@hirsute:~$ sudo swapon -U bbbbbbbb-bbbbb-bbbb-bbbb-bbbbbbb
|
||||
|
||||
user@hirsute:~$ free -h
|
||||
total utilisé libre partagé tamp/cache disponible
|
||||
Mem: 11Gi 1,0Gi 10Gi 7,0Mi 261Mi 10Gi
|
||||
Swap: 4,0Gi 0B 4,0Gi
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
🔖 References
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
Title: Étendre une «pool» ZFS racine après une installation Ubuntu
|
||||
Date: 2021-01-03 21:55
|
||||
Modified: 2021-04-30
|
||||
Summary: 1ère étape après une installation d'Ubuntu sur ZFS
|
||||
Category: Bloc-notes
|
||||
Tags: zfs, ubuntu, admin, shell, cli, performance, logiciel libre,
|
||||
|
@ -140,6 +141,35 @@ config:
|
|||
errors: No known data errors
|
||||
```
|
||||
|
||||
📝 MàJ du 30/4/2021
|
||||
-------------------
|
||||
|
||||
1. Étapes compatible avec l'installeur de la [version `21.04` «_Hirsute Hippo_»](https://discourse.ubuntu.com/t/hirsute-hippo-release-notes/19221).
|
||||
* la numérotation des partitions semble être continue désormais
|
||||
1. Étendre la `swap` avec la partition disponible sur le disque ajouté :
|
||||
|
||||
```bash
|
||||
user@hirsute:~$ free -h
|
||||
total utilisé libre partagé tamp/cache disponible
|
||||
Mem: 11Gi 974Mi 10Gi 7,0Mi 259Mi 10Gi
|
||||
Swap: 2,0Gi 0B 2,0Gi
|
||||
|
||||
user@hirsute:~$ sudo mkswap /dev/sdb5
|
||||
Configure l'espace d'échange (swap) en version 1, taille = 2 GiB (2147479552 octets)
|
||||
pas d'étiquette, UUID=bbbbbbbb-bbbbb-bbbb-bbbb-bbbbbbb
|
||||
|
||||
user@hirsute:~$ grep swap /etc/fstab
|
||||
UUID=aaaaaaaa-aaaaa-aaaa-aaaa-aaaaaaa none swap sw 0 0
|
||||
UUID=bbbbbbbb-bbbbb-bbbb-bbbb-bbbbbbb none swap sw 0 0
|
||||
|
||||
user@hirsute:~$ sudo swapon -U bbbbbbbb-bbbbb-bbbb-bbbb-bbbbbbb
|
||||
|
||||
user@hirsute:~$ free -h
|
||||
total utilisé libre partagé tamp/cache disponible
|
||||
Mem: 11Gi 1,0Gi 10Gi 7,0Mi 261Mi 10Gi
|
||||
Swap: 4,0Gi 0B 4,0Gi
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
🔖 Références
|
||||
|
|
Loading…
Reference in New Issue
Block a user