AppSync:從 Red Hat Linux 8.0 伺服器掛接至 Red Hat Linux 7.x 伺服器失敗
Summary: 將在 Red Hat Linux 8 伺服器上建立的複本掛接到 Red Hat Linux 7.x 掛接主機上時,由於 RHEL 錯誤,可能會在掛接主機代理程式記錄上看到下列錯誤: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
事件記錄:
掛接複製 MILE_000002,<AppSync Host>,執行服務計畫 <服務計畫名稱> 期間發生錯誤
掛接複製 HST_000065,<AppSync Host>,無法在主機 <掛接主機> 上探索 fc 和 iscsi 配接卡資訊
掛接複製 UNIX_000009,<掛接主機>,在主機上重新掃描命令失敗。
掛接主機記錄:
掛接複製 UNIX_000009,<掛接主機>,在主機上重新掃描命令失敗。
acputil.py[647]:execute() 資訊:執行命令:mount -t xfs -o nouuid,rw,relatime,attr2,inode64,noquota <FS>
host.py[4121]: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() 在掛接期間發現錯誤:: ['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.']
在主機作業系統訊息記錄檔案中發生錯誤:
核心:XFS (dm-32):Superblock 已啟用未知的唯讀相容功能 (0x4)。
核心:XFS (dm-32):已嘗試掛接唯讀相容的檔案系統讀寫。
核心:XFS (dm-32):只能安全地以唯讀方式掛接檔案系統。
核心:XFS (dm-32):SB 驗證失敗,錯誤 -22。
從主機作業系統 dmesg 記錄檔案:
[ 8.529818] XFS (dm-7):掛接 V5 檔案系統
[ 8.530257] XFS (dm-8):掛接 V5 檔案系統
[ 8.557572] XFS (dm-7):結束清除掛接
[ 9.253626] XFS (dm-8):結束清除掛接
Cause
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,我們需要在不使用 reflink 功能的情況下建立檔案系統,才能在 RHEL 7 和 RHEL 8 中使用 XFS 檔案系統。客戶在 RHEL 7.9 上。
mkfs.xfs -m reflink=0 /dev/sdN
為避免出現錯誤,您需要「-m reflink=0」,以停用不相容的 copy-on-write reflink 支援。
來源:- 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 superblock,有許多新的增強功能,例如中繼資料 CRC 檢查總和。版本 5 superblock 需要 3.16 核心或更高。此錯誤很常見,您正嘗試將磁碟區掛接在不支援 v5 superblock 的核心上,也就是在 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,我們需要在不使用 reflink 功能的情況下建立檔案系統,才能在 RHEL 7 和 RHEL 8 中使用 XFS 檔案系統。客戶在 RHEL 7.9 上。
mkfs.xfs -m reflink=0 /dev/sdN
為避免出現錯誤,您需要「-m reflink=0」,以停用不相容的 copy-on-write reflink 支援。
來源:- 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 superblock,有許多新的增強功能,例如中繼資料 CRC 檢查總和。版本 5 superblock 需要 3.16 核心或更高。此錯誤很常見,您正嘗試將磁碟區掛接在不支援 v5 superblock 的核心上,也就是在 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.