Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rotasi log dan berkas temporary di irgsh.boi #276

Open
herpiko opened this issue Oct 31, 2021 · 3 comments
Open

Rotasi log dan berkas temporary di irgsh.boi #276

herpiko opened this issue Oct 31, 2021 · 3 comments

Comments

@herpiko
Copy link
Member

herpiko commented Oct 31, 2021

Perlu setel rotasi supaya bisa ditinggal.

Sekarang dorong paket kena beginian,

2021/10/31 19:16:51 handler.go:385: write /mnt/irgsh/irgsh/chief/submissions/2be1ed8e-450a-4832-837f-b6079c7a2305.token: no space left on device

Selain log, yang bisa disingkirin (misal jika sudah lewat dari seminggu):

  • Semua berkas dan direktori berawalan uuid di bawah /mnt/irgsh/irgsh/builder
  • Semua berkas *.log di bawah /mnt/irgsh/irgsh/builder
  • Semua berkas dan direktori berawalan uuid DAN berakhiran *.gz di bawah /mnt/irgsh/irgsh/chief/submissions, kecualikan *.txt
  • Semua berkas berakhiran *.gz di bawah /mnt/irgsh/irgsh/chief/artifacts
  • Semua berkas dan direktori di bawah /mnt/irgsh/irgsh/repo/artifacts
@samsulmaarif
Copy link
Member

kondisi di /mnt saat ini :

root@rani:/mnt# du -sh *
4.0G    backupuseralynne
188G    blankon-legacy
429G    blankon-legacy-debianbased
7.9G    blankon-live-build
8.0K    cache-apt-archives
83G     cdimage
106M    copy.log
2.1G    docker
341G    irgsh
4.0K    live-build
16K     lost+found
108K    nginx-alynne
4.0K    public
155G    repo_origin
50G     riset.incoming
283M    rootfs-backup
2.4G    samsul-jahit  ## akan dihapus
25G     vm-pendekar
1.6T    yht-repo
root@rani:/mnt# du -sh yht-repo/*
558G    yht-repo/arsip
429G    yht-repo/blankon
356G    yht-repo/rilis
212G    yht-repo/rilis-backup

ini kira-kira masih digunakan tidak ya pak @yht ? apakah oke untuk dihapus?

@yht
Copy link
Member

yht commented Feb 26, 2022

Sudah sebagian saya hapus ya.

yht@rani:~/log$ sudo df -h
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
tmpfs 388M 40M 348M 11% /run
/dev/sda1 9.2G 5.5G 3.2G 64% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/sda6 436G 408G 5.7G 99% /home
tmpfs 388M 0 388M 0% /run/user/0
/dev/sda5 9.1G 21M 8.6G 1% /tmp/oldvar
/dev/sdb1 3.6T 3.4T 36G 99% /mnt

@herpiko
Copy link
Member Author

herpiko commented Mar 9, 2022

@samsulmaarif

Di sini mnt masih 100%. Apakah masih ada yang bisa dikurangi?

piko@rani:/tmp$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            1.9G     0  1.9G   0% /dev
tmpfs           388M   41M  347M  11% /run
/dev/sda1       9.2G  5.8G  2.9G  67% /
tmpfs           1.9G     0  1.9G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           1.9G     0  1.9G   0% /sys/fs/cgroup
/dev/sda6       436G  408G  5.7G  99% /home
tmpfs           388M     0  388M   0% /run/user/0
/dev/sda5       9.1G   21M  8.6G   1% /tmp/oldvar
/dev/sdb1       3.6T  3.6T     0 100% /mnt
tmpfs           388M     0  388M   0% /run/user/1000
tmpfs           388M     0  388M   0% /run/user/1003
tmpfs           388M     0  388M   0% /run/user/1006
tmpfs           388M     0  388M   0% /run/user/1010

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants