Pertanyaan :Bagaimana cara mengetahui seberapa besar repositori saluran yum, untuk mengetahui berapa banyak data yang akan disinkronkan saluran ke repositori yum lokal?
Untuk melihat ukuran sebenarnya dari repositori, gunakan 'yum repolist -v ‘ atau ‘repoinfo enak ' perintah.
Contoh untuk memeriksa ukuran saluran yum “CentOS-8 – AppStream”
Jalankan perintah seperti gambar di bawah ini untuk mendapatkan ukuran Repo “CentOS-8 – AppStream”. Perintah berfungsi bahkan tanpa tanda kutip ganda di sekitar nama repo.
# yum repoinfo "CentOS-8 - AppStream" Last metadata expiration check: 0:01:26 ago on Thu 10 Dec 2020 01:13:18 PM UTC. Repo-id : AppStream Repo-name : CentOS-8 - AppStream Repo-status : enabled Repo-revision : 8.3.2011 Repo-distro-tags : [cpe:/o:centos:centos:8]: , 8, C, O, S, e, n, t Repo-updated : Fri 20 Nov 2020 05:52:02 PM UTC Repo-pkgs : 5,684 Repo-available-pkgs: 4,988 Repo-size : 6.9 G Repo-mirrors : http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=AppStream&infra=ec2 Repo-baseurl : http://d36uatko69830t.cloudfront.net/centos/8/AppStream/x86_64/os/ (1 more) Repo-expire : 172,800 second(s) (last: Thu 10 Dec 2020 01:13:18 PM UTC) Repo-filename : /etc/yum.repos.d/CentOS-AppStream.repo Total packages: 5,684
Contoh untuk memeriksa ukuran semua saluran yum yang diaktifkan
Perintah lain untuk melihat ukuran semua yum repo yang dikonfigurasi pada sistem adalah "yum repolist -v". Opsi -v secara verbose mencetak semua informasi untuk semua repo termasuk ukurannya.
# yum repolist -v Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, product-id, repoclosure, repodiff, repograph, repomanage, reposync, uploadprofile YUM version: 4.2.17 cachedir: /var/cache/dnf User-Agent: constructed: 'libdnf (CentOS Linux 8; generic; Linux.x86_64)' repo: using cache for: AppStream AppStream: using metadata from Fri 20 Nov 2020 05:52:02 PM UTC. repo: using cache for: BaseOS BaseOS: using metadata from Fri 20 Nov 2020 05:51:54 PM UTC. repo: using cache for: extras extras: using metadata from Thu 17 Sep 2020 03:13:28 PM UTC. Last metadata expiration check: 6:35:33 ago on Thu 10 Dec 2020 06:29:52 AM UTC. Completion plugin: Generating completion cache... Repo-id : AppStream Repo-name : CentOS-8 - AppStream Repo-revision : 8.3.2011 Repo-distro-tags : [cpe:/o:centos:centos:8]: , 8, C, O, S, e, n, t Repo-updated : Fri 20 Nov 2020 05:52:02 PM UTC Repo-pkgs : 5,684 Repo-available-pkgs: 4,988 Repo-size : 6.9 G Repo-mirrors : http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=AppStream&infra=ec2 Repo-baseurl : http://d36uatko69830t.cloudfront.net/centos/8/AppStream/x86_64/os/ (1 more) Repo-expire : 172,800 second(s) (last: Thu 10 Dec 2020 06:29:52 AM UTC) Repo-filename : /etc/yum.repos.d/CentOS-AppStream.repo Repo-id : BaseOS Repo-name : CentOS-8 - Base Repo-revision : 8.3.2011 Repo-distro-tags : [cpe:/o:centos:centos:8]: , 8, C, O, S, e, n, t Repo-updated : Fri 20 Nov 2020 05:51:54 PM UTC Repo-pkgs : 1,694 Repo-available-pkgs: 1,692 Repo-size : 1.1 G Repo-mirrors : http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=BaseOS&infra=ec2 Repo-baseurl : http://d36uatko69830t.cloudfront.net/centos/8/BaseOS/x86_64/os/ (1 more) Repo-expire : 172,800 second(s) (last: Thu 10 Dec 2020 06:29:52 AM UTC) Repo-filename : /etc/yum.repos.d/CentOS-Base.repo Repo-id : extras Repo-name : CentOS-8 - Extras Repo-revision : 1600355621 Repo-updated : Thu 17 Sep 2020 03:13:28 PM UTC Repo-pkgs : 27 Repo-available-pkgs: 27 Repo-size : 311 k Repo-mirrors : http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=extras&infra=ec2 Repo-baseurl : http://d36uatko69830t.cloudfront.net/centos/8/extras/x86_64/os/ (1 more) Repo-expire : 172,800 second(s) (last: Thu 10 Dec 2020 06:29:52 AM UTC) Repo-filename : /etc/yum.repos.d/CentOS-Extras.repo Total packages: 7,405
Cara mengatur “max_report_luns” dan “max_luns” pada CentOS/RHEL 6 untuk memindai lebih dari 512 LUN
Memperbaiki masalah sistem file saat Boot di CentOS/RHEL 7 dan 8