Skip to content

Instantly share code, notes, and snippets.

@oskarm93
Created November 3, 2023 09:16
Show Gist options
  • Save oskarm93/cb1d7bf702179b40afcd2f479d2ab32e to your computer and use it in GitHub Desktop.
Save oskarm93/cb1d7bf702179b40afcd2f479d2ab32e to your computer and use it in GitHub Desktop.
k3s-control-plane-nbg1-cht:/ # du -ah / | sort -n -r | head -n 10
du: cannot access '/proc/9623/task/9623/fd/4': No such file or directory
du: cannot access '/proc/9623/task/9623/fdinfo/4': No such file or directory
du: cannot access '/proc/9623/fd/3': No such file or directory
du: cannot access '/proc/9623/fdinfo/3': No such file or directory
du: cannot access '/proc/9633': No such file or directory
1023M   /usr
1020M   /.snapshots/2/snapshot
1020M   /.snapshots/2
1020K   /usr/share/pki/trust/ca-certificates-mozilla.trust.p11-kit
1020K   /usr/share/pki/trust
1020K   /usr/lib64/python3.11/importlib
1020K   /.snapshots/2/snapshot/usr/share/pki/trust/ca-certificates-mozilla.trust.p11-kit
1020K   /.snapshots/2/snapshot/usr/share/pki/trust
1020K   /.snapshots/2/snapshot/usr/lib64/python3.11/importlib
1020K   /.snapshots/1/snapshot/usr/share/pki/trust/ca-certificates-mozilla.trust.p11-kit
k3s-control-plane-nbg1-cht:/ # df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2        39G   38G   12K 100% /
/dev/sda2        39G   38G   12K 100% /root
/dev/sda2        39G   38G   12K 100% /var
overlay          39G   38G   12K 100% /etc
devtmpfs        4.0M  8.0K  4.0M   1% /dev
tmpfs           1.9G     0  1.9G   0% /dev/shm
efivarfs        256K   15K  241K   6% /sys/firmware/efi/efivars
tmpfs           764M   15M  749M   2% /run
tmpfs           1.9G     0  1.9G   0% /tmp
/dev/sda1        20M  4.0M   16M  20% /boot/efi
/dev/sda2        39G   38G   12K 100% /.snapshots
/dev/sda2        39G   38G   12K 100% /boot/grub2/arm64-efi
/dev/sda2        39G   38G   12K 100% /boot/writable
/dev/sda2        39G   38G   12K 100% /opt
/dev/sda2        39G   38G   12K 100% /srv
/dev/sda2        39G   38G   12K 100% /usr/local
/dev/sda2        39G   38G   12K 100% /home
tmpfs           382M  8.0K  382M   1% /run/user/0
k3s-control-plane-nbg1-cht:/ # systemctl status k3s.service
● k3s.service - Lightweight Kubernetes
     Loaded: loaded (/etc/systemd/system/k3s.service; enabled; preset: disabled)
     Active: activating (start) since Fri 2023-11-03 09:16:04 UTC; 5s ago
       Docs: https://k3s.io
    Process: 9795 ExecStartPre=/bin/sh -xc ! /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service (code=exited, status=0/SUCCESS)
    Process: 9797 ExecStartPre=/sbin/modprobe br_netfilter (code=exited, status=0/SUCCESS)
    Process: 9799 ExecStartPre=/sbin/modprobe overlay (code=exited, status=0/SUCCESS)
   Main PID: 9801 (k3s-server)
      Tasks: 7
        CPU: 91ms
     CGroup: /system.slice/k3s.service
             └─9801 "/usr/local/bin/k3s "

Nov 03 09:16:09 k3s-control-plane-nbg1-cht systemd[1]: k3s.service: Scheduled restart job, restart counter is at 412.
Nov 03 09:16:10 k3s-control-plane-nbg1-cht systemd[1]: Starting Lightweight Kubernetes...
Nov 03 09:16:10 k3s-control-plane-nbg1-cht sh[9795]: + /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment