Compare commits

...

2 Commits

Author SHA1 Message Date
nawan e4bfb2dc0e Create ‘btrfs’: initial 2024-02-01 13:32:11 +00:00
nawan e35b87ff93 Edit ‘podman’: solusi kontainer tidak terhubung ke host 2024-02-01 09:34:01 +07:00
2 changed files with 21 additions and 0 deletions

11
btrfs.myco Normal file
View File

@ -0,0 +1,11 @@
Dari [[enwiki>Btrfs]]:
> Sebuah format penyimpanan komputer yang menggabungkan sistem berkas yang didasarkan pada prinsip salin-tulis (COW) dengan manajer volume logis (jangan disamakan dengan LVM Linux), yang dikembangkan bersama. Didirikan oleh Chris Mason pada tahun 2007 untuk digunakan di Linux, dan sejak November 2013, format on-disk sistem file ini telah dinyatakan stabil di kernel Linux.
= Btrfs dan Inode
Dari [[https://www.thegeekdiary.com/command-df-i-shows-inode0-on-btrfs-file-system/ | The Geek Diary]]:
> BTRFS does not use inodes in quite the same way as other filesystems, and it has no pre-determined limits, so it has nothing to count. The inode counts for BTRFS will always show zero due to the fact that BTRFS does not use inodes.
Dari [[https://mpdesouza.com/blog/btrfs-for-mere-mortals-inode-allocation/ | Marco's Blog]]:
> Filesystems like ext4 allocate the entire disk on filesystem creation time, creating block groups all over the available space. This means that once the spaces for data and metadata are defined, they cannot be changed after the filesystem is in use, as there isnt a way to extend them: they have fixed offsets. Lets take a look how it works for ext4.
> Btrfs allocates its structures dynamically. From block groups to internal structures and inodes, btrfs allocates them on demand.

View File

@ -32,3 +32,13 @@ Kesalahan ini disebabkan oleh `docker-compose` tidak bisa mengakses //socket Pod
echo 'export DOCKER_HOST=unix:///run/user/$UID/podman/podman.sock' >> .bashrc
source .bashrc
```
= Kontainer tidak dapat terhubung ke host
```
mkdir -p ~/.config/containers
nano containers.conf
```
Kemudian masukkan:
```
[containers]
rootless_networking = "cni"
```