我有一台帶有 Smart Array P420i 的 DL380p。在此伺服器上我們有一些邏輯磁碟機:
root@server:~# hpacucli ctrl all show config
Smart Array P420i in Slot 0 (Embedded) (sn: XXXXXXX)
array A (Solid State SATA, Unused Space: 0 MB)
logicaldrive 1 (119.2 GB, RAID 0, OK)
physicaldrive 1I:2:1 (port 1I:box 2:bay 1, Solid State SATA, 128.0 GB, OK)
array B (SATA, Unused Space: 0 MB)
logicaldrive 2 (1.8 TB, RAID 1+0, Failed)
physicaldrive 1I:2:2 (port 1I:box 2:bay 2, SATA, 250.0 GB, Failed)
physicaldrive 1I:2:3 (port 1I:box 2:bay 3, SATA, 250.0 GB, Failed)
physicaldrive 1I:2:4 (port 1I:box 2:bay 4, SATA, 2 TB, Failed)
physicaldrive 2I:2:5 (port 2I:box 2:bay 5, SATA, 2 TB, Failed)
array C (Solid State SATA, Unused Space: 0 MB)
logicaldrive 3 (931.5 GB, RAID 0, OK)
physicaldrive 2I:2:6 (port 2I:box 2:bay 6, Solid State SATA, 1 TB, OK)
array D (Solid State SATA, Unused Space: 0 MB)
logicaldrive 4 (931.5 GB, RAID 0, OK)
physicaldrive 2I:2:7 (port 2I:box 2:bay 7, Solid State SATA, 1 TB, OK)
array E (Solid State SATA, Unused Space: 0 MB)
logicaldrive 5 (931.5 GB, RAID 0, OK)
physicaldrive 2I:2:8 (port 2I:box 2:bay 8, Solid State SATA, 1 TB, OK)
SEP (Vendor ID XXXX, Model XXXXX) 380 (WWID: XXXXXXX)
陣列 B,從邏輯磁碟機中刪除,但是當我執行此命令時:
root@server:~# hpacucli ctrl slot=0 ld 2 delete
Warning: Deleting an array can cause other array letters to become renamed.
E.g. Deleting array A from arrays A,B,C will result in two remaining
arrays A,B ... not B,C
Warning: Deleting the specified device(s) will result in data being lost.
Continue? (y/n) n
在我想刪除這個邏輯驅動器之前,我想問一下,如果我刪除這個ld,該盤符會不會被重新命名?因為我想用相同的字母重新建立這個陣列 B 。因此,我可以重新啟動此系統來執行此步驟,但我想在不停機的情況下執行此步驟。有人可以幫忙嗎?
最好的
答案1
數組標記使用連續的字母。如果刪除陣列 B,則目前陣列 C、D 和 E 將分別變為 B、C 和 D。 ACU 使用這些陣列字母來方便地引用一組磁碟。您的作業系統看到邏輯卷,而不是數組,因此重新命名數組不會產生太大影響,除非您在腳本中的某處硬編碼了數組字母。