LoginSignup
0
0

Proxmox8 を試してみる その19 古い Kernel を削除する

Posted at

古い Kernel を削除したい

Proxmox のバージョンアップやら日々のアップデートで Kernel が更新されるのはよしとしても古い Kernel が残ったままだと DISK 容量も気になるところ。しかも Proxmox は、Debian 系の OS であるので少し消す手間と手順がありどれが正解かわかない始末でしたが、いいツールを見つけたのでご紹介します。

PVE Kernel Cleaner

jordan hillis さんが作成した ”PVE Kernel Cleaner” がよさげ。
最新の PVE Kernel を最小数保持するように指定することができるのもありますが、なんだか色々と機能満載w

とりあえずインストール

# git clone https://github.com/jordanhillis/pvekclean.git
# cd pvekclean
# chmod +x pvekclean.sh
# ./pvekclean.sh

Kernel は、2つ残すようにして・・・

# ./pvekclean.sh -k 2

image.png

結構よいかも。

参考にさせて頂いたサイト様

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0