PowerFlex SDC 無法掛接 scini 裝置,並出現錯誤「無法建立重複的檔案名稱」

Summary: 將磁碟區對應至 SDC 後,SDC 無法掛接 scini 裝置,並在 /var/log/messages 中報告錯誤「無法建立重複的檔案名稱」。當現有對應的 scini 裝置包含 16、32、48、64 等的分割區 ID 時,就會發生此問題。

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

  • 如果 SDC 掛接的 scini 裝置包含以 16 次反覆運算 (例如 16、32、48、64 等) 具有分割區 ID 的分割區,則嘗試在 SDC 上掛接其他對應的 scini 磁碟區可能會失敗。

  • 將磁碟區從 PowerFlex 對應至 SDC 成功,但在 SDC 中掛接磁碟區卻失敗。

  • SDC 的「訊息」檔案會報告以下錯誤。

/var/log/messages
Oct 18 11:24:17 client01 kernel: PowerFlex blkDev_Create:968 :Created device scinib (252,16). Capacity 33554432 LB
Oct 18 11:24:17 client01 kernel: sysfs: cannot create duplicate filename '/dev/block/252:16'
Oct 18 11:24:17 client01 kernel: CPU: 0 PID: 17971 Comm: blk_mgr Kdump: loaded Tainted: P        W  OE     -------  ---  5.14.0-390.el9.x86_64 #1
Oct 18 11:24:17 client01 kernel: Hardware name: VMware, Inc. VMware7,1/440BX Desktop Reference Platform, BIOS VMW71.00V.21100432.B64.2301110304 01/11/2023
Oct 18 11:24:17 client01 kernel: Call Trace:
Oct 18 11:24:17 client01 kernel: <TASK>
Oct 18 11:24:17 client01 kernel: dump_stack_lvl+0x34/0x48
Oct 18 11:24:17 client01 kernel: sysfs_warn_dup.cold+0x17/0x24
Oct 18 11:24:17 client01 kernel: sysfs_do_create_link_sd+0xce/0xe0
Oct 18 11:24:17 client01 kernel: device_add+0x3f9/0x670
Oct 18 11:24:17 client01 kernel: device_add_disk+0xdf/0x3a0
Oct 18 11:24:17 client01 kernel: blkDev_Create+0x2ab/0x760 [scini]
Oct 18 11:24:17 client01 kernel: mapVolBlkMgr_Thrd+0x2ea/0x8c0 [scini]
Oct 18 11:24:17 client01 kernel: ? mosTicks_DestroyEnvSpecific+0x10/0x10 [scini]
Oct 18 11:24:17 client01 kernel: mosOsThrd_Entry+0x1f/0x60 [scini]
Oct 18 11:24:17 client01 kernel: kthread+0xe0/0x100
Oct 18 11:24:17 client01 kernel: ? __pfx_kthread+0x10/0x10
Oct 18 11:24:17 client01 kernel: ret_from_fork+0x2c/0x50
Oct 18 11:24:17 client01 kernel: </TASK>
Oct 18 11:24:17 client01 kernel: PowerFlex blkDev_Create:983 :Error: Failed to add disk scinib (252,16). Capacity 33554432 LB

Cause

  • 在 SDC 上,Linux 內核和 scini 驅動程式在 16 的反覆運算中為映射的卷提供特定的 MAJ:MIN 設備編號。以下範例顯示三個沒有分割區對應為 252:0、252:16、252:32 的 scini 裝置
  • 如果 SDC 的磁碟區包含分割區 ID 為 16 的單一分割區 (可能會將 MAJ:MIN 裝置資訊指派為 252:16、252:32,依此類推),則嘗試將更多磁碟區對應至 SDC 可能會失敗,因為已存在重複的裝置 ID (即使磁碟區可能只有一個分割區)

編號衝突範例

  • 三個裝接的 scini 卷獲得 MAJ:MIN 設備編號 252:0、252:16、252:32
  • 如果 scinia 磁碟區包含的分割區 ID 為 16,將為分割區指派 MAJ:MIN 裝置編號 252:16
  • 當 scinib 卷嘗試掛載到操作系統時,它將需要設備 ID 252:16,scinia16 已在使用該 ID
[root@client01 ~]# lsblk
NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
...
scinia      252:0    0   16G  0 disk
scinib      252:16   0  120G  0 disk
scinic      252:32   0   24G  0 disk
[root@client01 ~]# lsblk
NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
...
scinia      252:0    0   16G  0 disk
├─scinia14  252:14   0   95M  0 part
├─scinia15  252:15   0 95.5M  0 part
└─scinia16  252:16   0 95.4M  0 part
  
NOTE: This example has three partitions, but same would apply if only scinia16 existed
 

Resolution

行為是設計使然。PowerFlex 支援每個磁碟區最多 15 個分割區。

在未來的 PowerFlex 版本中,磁碟分割上限會增加到 256,以避免此列舉衝突。

Additional Information

受影響的版本

全部

已修正問題的版本

PowerFlex Core 3.6.5/4.5.4

Affected Products

PowerFlex Software
Article Properties
Article Number: 000258197
Article Type: Solution
Last Modified: 31 May 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.