惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Blog of Author Tim Ferriss
罗磊的独立博客
月光博客
月光博客
GbyAI
GbyAI
腾讯CDC
G
Google Developers Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
U
Unit 42
Engineering at Meta
Engineering at Meta
A
About on SuperTechFans
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
aimingoo的专栏
aimingoo的专栏
C
Check Point Blog
Y
Y Combinator Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Azure Blog
Microsoft Azure Blog
I
InfoQ
雷峰网
雷峰网
B
Blog RSS Feed
美团技术团队
M
MIT News - Artificial intelligence
有赞技术团队
有赞技术团队
D
Docker

OneUptime Blog

How to Monitor Azure App Services (PaaS) with OpenTelemetry Grafana Stack vs OneUptime: DIY Observability or Unified Platform? Your AI Workloads Are About to Blow Up Your Observability Bill The Great Observability Consolidation Is Here How to Write Custom Object Classes for Ceph How to Write Custom Ceph Manager Modules How to Write a ceph.conf Configuration File How to Use Rook-Ceph with OpenShift How to Use Rook-Ceph with Longhorn for Comparison How to Configure Volume Snapshot Class for RBD in Rook How to Configure VolumeReplicationClass Scheduling Intervals in Rook How to Set Up Volume Replication with Rook-Ceph How to Create Volume Group Snapshots with Rook CSI How to Visualize Ceph Network Performance in Grafana How to Enable Virtual Host-Style Bucket Access in Rook How to View Runtime Configuration via Admin Socket How to View Quota Settings and Update Stats in Ceph RGW How to View PG Scaling Recommendations with autoscale-status How to View PG Distribution via Admin Socket How to View Performance Metrics in the Ceph Dashboard How to View OSD Performance Counters in Ceph How to View Connection Status via Admin Socket How to View Ceph Cluster Summary Dashboard via CLI How to Version Control Rook-Ceph Configuration How to Version Control Ceph Infrastructure with Terraform How to Verify Kubernetes Node Requirements for Rook-Ceph Deployment How to Verify Health Before and After Rook Upgrades How to Verify Data Integrity with Deep Scrubbing How to Verify Complete Rook-Ceph Cleanup How to Verify Backup Integrity from Ceph Snapshots
How to Update Kernel for CephFS Feature Compatibility
Nawaz Dhandala · 2026-03-31 · via OneUptime Blog

Why Update the Kernel for CephFS?

CephFS introduces new features with each Ceph release that require corresponding kernel support. Running an old kernel against a new Ceph cluster can cause:

  • Mount failures due to unsupported feature flags
  • Missing snapshot or quota support
  • Degraded performance due to lack of protocol optimizations
  • Connectivity issues with newer MDS authentication

Checking Your Current Kernel

uname -r

CephFS Kernel Version Requirements

Ceph ReleaseMinimum KernelKey Features Added
Nautilus (14)4.16Better multi-MDS
Octopus (15)5.4Async IO, larger caps
Pacific (16)5.10Snapshot improvements
Quincy (17)5.15Fscrypt, improved quotas

Checking for CephFS Feature Errors

If mounting fails with feature errors:

dmesg | grep -i "ceph\|FEATURE" | tail -20

Common error:

ceph: required feature FEATURE_X is not supported by this kernel

Updating the Kernel on Ubuntu/Debian

# Check available kernels
apt-cache search linux-image | grep -E "generic|hwe"

# Install the latest HWE kernel (Hardware Enablement Stack)
sudo apt-get install linux-generic-hwe-22.04

# Or a specific version
sudo apt-get install linux-image-6.5.0-44-generic linux-modules-extra-6.5.0-44-generic

Reboot to the new kernel:

sudo reboot
uname -r  # verify after reboot

Updating the Kernel on RHEL/CentOS/Rocky

# Enable ELRepo for mainline kernels
sudo rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
sudo dnf install https://www.elrepo.org/elrepo-release-9.el9.elrepo.noarch.rpm

# Install latest mainline kernel
sudo dnf --enablerepo=elrepo-kernel install kernel-ml

Set it as the default:

sudo grubby --set-default /boot/vmlinuz-$(rpm -q kernel-ml --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}\n' | sort -V | tail -1)
sudo reboot

Verifying CephFS Compatibility After Upgrade

After booting the new kernel, remount CephFS:

sudo umount /mnt/cephfs
sudo mount -t ceph mon1:6789:/ /mnt/cephfs \
  -o name=admin,secretfile=/etc/ceph/admin.secret

# Check negotiated features
dmesg | grep ceph | grep -i "feature\|version"

Testing Without Rebooting (FUSE Fallback)

While planning a kernel update, use ceph-fuse as a temporary fallback:

sudo ceph-fuse /mnt/cephfs -n client.admin

Summary

Update the Linux kernel when CephFS mount fails with feature errors or when you need capabilities added in newer Ceph releases. Use linux-generic-hwe on Ubuntu for a supported HWE kernel, or ELRepo on RHEL for mainline kernels. Always remount and check dmesg after upgrade to confirm successful feature negotiation.