AppSync:Red Hat Linux 8.0サーバーからRed Hat Linux 7.xサーバーへのマウントに失敗する
Summary: Red Hat Linux 8サーバーで作成されたコピーをRed Hat Linux 7.xマウント ホストにマウントしているときに、RHELのバグにより、マウント ホストのエージェント ログに次のエラーが表示されることがあります:「mount() Error caught during mount: : ['mount: wrong fs type, bad option, bad superblock on(filesystem name)」 ...
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
イベント ログ:
Mount copy MILE_000002,<AppSync Host>,Error occurred during the execution of service plan <Service Plan name>
Mount copy HST_000065,<AppSync Host>,Failed to discover fc and iscsi adapter information on host <Mount Host>
Mount copy UNIX_000009,<Mount Host>,Rescan command failed on the host.
マウント ホスト ログ:
Mount copy UNIX_000009,<Mount Host>,Rescan command failed on the host.
acputil.py[647]:execute() Info:Running command: mount -t xfs -o nouuid,rw,relatime,attr2,inode64,noquota <FS>
host.py[4121]:mount() Error caught during mount: : ['mount: wrong fs type, bad option, bad superblock on <FS>,', ' missing codepage or helper program, or other error', '', ' In some cases useful info is found in syslog - try', ' dmesg | tail or so.']
host.py[4121]:mount() Error caught during mount: : ['mount: wrong fs type, bad option, bad superblock on <FS>,', ' missing codepage or helper program, or other error', '', ' In some cases useful info is found in syslog - try', ' dmesg | tail or so.']
ホストOSメッセージ ログ ファイル内のエラー:
kernel: XFS (dm-32): Superblock has unknown read-only compatible features (0x4) enabled.
kernel: XFS (dm-32): Attempted to mount read-only compatible filesystem read-write.
kernel: XFS (dm-32): Filesystem can only be safely mounted read only.
kernel: XFS (dm-32): SB validate failed with error -22.
ホストOSのdmesgログ ファイル:
[ 8.529818] XFS (dm-7): Mounting V5 Filesystem
[ 8.530257] XFS (dm-8): Mounting V5 Filesystem
[ 8.557572] XFS (dm-7): Ending clean mount
[ 9.253626] XFS (dm-8): Ending clean mount
Cause
ソース ホストとマウント ホストのOSバージョンが一致しないサポートされていない構成のため、RHELバグが発生します。
Resolution
この例では、ユーザーは上位のソース ホスト バージョン(RHEL 8)と下位のマウント ホスト バージョン(RHEL 7.9)を使用していました。ユーザーは、ソース ホストに一致する新しいマウント ホストを作成し、サービス プランは正常に実行されました。
Additional Information
Google検索を実行した後、XFS v5ファイル システムに問題がある可能性が発見されました。重要なポイントをいくつか以下に示します。
a)XFSファイル システムは、XFS v5(dmesgログによる)を使用しており、RHEL7カーネルでサポートされていない機能が含まれています。
b)RHEL(https://access.redhat.com/solutions/4582401)によると、REFリンク機能なしでファイル システムを作成して、RHEL 7とRHEL 8の両方でXFSファイル システムを使用する必要があります。お客様は、RHEL 7.9を使用しています。
mkfs.xfs -m reflink=0 /dev/sdN
エラーを回避するには、「-m reflink=0」が必要です。これは、互換性のないCopy-On-Write REFリンクのサポートを無効にします。
ソース:- https://www.humblec.com/ceph-csi-xfs-superblock-has-unknown-read-only-or-wrong-fs-type-bad-on-dev-rbd4-missing-codepage-or/
c)mkfs.xfs(xfsprogsのバージョン3.2.4から開始)は最近、デフォルトでバージョン5のスーパーブロックとなり、メタデータCRCチェックサムなどの新しい機能強化が追加されました。バージョン5のスーパーブロックには、3.16カーネル以上が必要です。このエラーは典型的なもので、v5のスーパーブロックをサポートしていないカーネル(すなわち、3.16より前のバージョン)でボリュームをマウントしようとしていることが原因です。
古いカーネルでxfsprogsの最新バージョンを使用する場合は注意が必要です。これらのオプションを使用して、次のようにv4ファイル システムを作成する必要があります。
mkfs.xfs -m crc=0,finobt=0 /your/device
ソース:https://serverfault.com/questions/746377/want-to-understand-xfs-strangeness
a)XFSファイル システムは、XFS v5(dmesgログによる)を使用しており、RHEL7カーネルでサポートされていない機能が含まれています。
b)RHEL(https://access.redhat.com/solutions/4582401)によると、REFリンク機能なしでファイル システムを作成して、RHEL 7とRHEL 8の両方でXFSファイル システムを使用する必要があります。お客様は、RHEL 7.9を使用しています。
mkfs.xfs -m reflink=0 /dev/sdN
エラーを回避するには、「-m reflink=0」が必要です。これは、互換性のないCopy-On-Write REFリンクのサポートを無効にします。
ソース:- https://www.humblec.com/ceph-csi-xfs-superblock-has-unknown-read-only-or-wrong-fs-type-bad-on-dev-rbd4-missing-codepage-or/
c)mkfs.xfs(xfsprogsのバージョン3.2.4から開始)は最近、デフォルトでバージョン5のスーパーブロックとなり、メタデータCRCチェックサムなどの新しい機能強化が追加されました。バージョン5のスーパーブロックには、3.16カーネル以上が必要です。このエラーは典型的なもので、v5のスーパーブロックをサポートしていないカーネル(すなわち、3.16より前のバージョン)でボリュームをマウントしようとしていることが原因です。
古いカーネルでxfsprogsの最新バージョンを使用する場合は注意が必要です。これらのオプションを使用して、次のようにv4ファイル システムを作成する必要があります。
mkfs.xfs -m crc=0,finobt=0 /your/device
ソース:https://serverfault.com/questions/746377/want-to-understand-xfs-strangeness
Products
Data Protection, Data Backup & Protection Software, AppSync, AppSyncArticle Properties
Article Number: 000181978
Article Type: Solution
Last Modified: 22 Oct 2024
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.