问题描述
我们有如下要求
假设有一个虚拟机(VM1),其中的操作系统(RHEL8)位于逻辑卷上,并且LV用XFS(版本5)格式化,
yum list installed | grep xfs
xfsdump.x86_64 3.1.8-2.el8 @rhel-8-for-x86_64-baseos-rpms
xfsprogs.x86_64 5.0.0-2.el8 @rhel-8-for-x86_64-baseos-rpms
比方说,我们克隆了VM1的OS磁盘并附加到操作系统为CENTOS7的VM2 但是,当我尝试在作为VM1 OS磁盘连接一部分的逻辑卷上执行xfs_repair
下面是VM2 XFS输出
yum list installed | grep xfs
xfsprogs.x86_64 4.5.0-20.el7 @base
它在抱怨如下
Superblock has unknown compat/rocompat/incompat features (0x0/0x4/0x0).
3708 Using a more recent xfs_repair is recommended.
3709 Found unsupported filesystem features. Exiting now.
我理解它是因为VM2上的XFS版本较低。我试图使用来升级XFS
sudo yum install xfsprogs
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.arizona.edu
* epel: d2lzkl7pfhq30w.cloudfront.net
* extras: mirrors.radwebhosting.com
* updates: mirror.dal10.us.leaseweb.net
Package xfsprogs-4.5.0-20.el7.x86_64 already installed and latest version
Nothing to do
除了操作系统升级以外,还有其他解决方法吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)