المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : السي بانال CPanel حل مشكلة امتلاء البوت boot partition is nearly 98% full



Rise Company
08-07-2020, 01:35
السي بانال CPanel حل مشكلة امتلاء البوت boot partition is nearly 98% full
/boot partition is nearly 100% full - clean /boot partition | cPanel
Disk partitions - /boot to small ?- boot partition is almost full in CentOS

https://www.rise.company/upload/uploads/159416480396621.png


سبب المشكلة :

هو ان داخل boot يوجد ملفات old kernels قديمة

اى يحتوى بداخله على احدث اصدار Kernel و باقى الاصدارات الاقدم تظل موجودة

وهكذا كل ما السيرفر يحدث السيرفر يضاف version احدث و يظل الاقدم Old موجود دون اى حاجة للقديم

حل المشكلة :

كل ما عليك فعله هو معرفة الاصدارات Kernel الحالية الخاص بالسيرفر قد يكون اثنين او اكثر

وبعد معرفة الاصدار الخاص وما يتعلق ييتم حذف الاصدارات القديمة واترك الحالي

وهتجد ان المساحة المستهلكة بعد ان كانت 98 % اصبحت الى 68 %

مع العلم ان مساحة بارتشن boot هو 250 MB وهو الموصى به

وهذا يعنى المشكلة ليس فى المساحة بان تقوم بزيادتها

حيث هذا البارتشن معمول للمساحة الصغيرة 250 الى 500 MB

فقط كل ما عليك فعله هو حذف Kernel القديم.

-----------------------------------------------------------
الخطوات :
-----------------------------------------------------------

المشكلة :



/boot partition is nearly 100% full.
I want to clean it. Is there a quick way to delete files older than X date?

Warning: While practicing extreme caution, older kernel RPMs may be removed using the OS package manager.
If your OS is CentOS, YUM may be that tool.

الحل :

For information on using YUM, please refer to its official manual page as accessed via the following command:


# man yum

First, check what kernel you're using, and do not attempt to remove it:


# uname -a


Also check what kernel RPMs are installed, and be sure to keep both the currently used kernel as well as some others to choose from as seen when checking the kernel RPM versions installed. If one version does not work (e.g., failure to boot properly) it helps to have a backup to try (with on-site assistance from data center staff).

To simply obtain a list of the installed kernel packages (RPMs), try the following:


# rpm -q kernel kernel-smp


An alternative to the above command, but one that will take longer to complete, is the following:


# rpm -qa | grep -i kernel | sort


At one's own risk, an older kernel RPM may be removed using "yum remove" followed by the package name and version,
exactly as displayed by the output from "rpm" as seen by the last command.

Warning: If there is any uncertainty involved or if this is unfamiliar please escalate the request
to the on-site data center staff as only they could help if something were to go wrong.


ملحوظة :
حذف kernel الخطا هيوقف عمليه boot للنظام لذلك انتبه جيدا
وننصح فى كل الاحوال التواصل مع الداتا سنتر لعمل ذلك نيابة عنك
من خلال الشات الخاص بهم هيتم تنفيذها فى الحال دون اى مشاكل.

المرجع :
https://forums.cpanel.net/threads/clean-boot-partition.146889/#post624373
https://forums.cpanel.net/threads/clean-boot-partition.146889/
https://forums.cpanel.net/threads/disk-partitions-boot-to-small.246142/