본문 바로가기

Linux

[LINUX] hpacucli 온라인 raid 재구성

[ 삭제시 ]

=> ctrl all show config

Smart Array P410i in Slot 0 (Embedded)    (sn: 5001438023108980)


      logicaldrive 1 (279.4 GB, RAID 1, OK)
   array A (SAS, Unused Space: 0  MB)


      physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 300 GB, OK)
      physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 300 GB, OK)

 

      logicaldrive 2 (279.4 GB, RAID 1, OK)

   array B (SAS, Unused Space: 0  MB)


      physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 300 GB, OK)
      physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 300 GB, OK)

 

      logicaldrive 3 (279.4 GB, RAID 1, OK)

   array C (SAS, Unused Space: 0  MB)


      physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SAS, 300 GB, OK)
      physicaldrive 2I:1:6 (port 2I:box 1:bay 6, SAS, 300 GB, OK)

 

      logicaldrive 4 (279.4 GB, RAID 1, OK)

   array D (SAS, Unused Space: 0  MB)


      physicaldrive 2I:1:7 (port 2I:box 1:bay 7, SAS, 300 GB, OK)
      physicaldrive 2I:1:8 (port 2I:box 1:bay 8, SAS, 300 GB, OK)

 

   SEP (Vendor ID PMCSIERA, Model  SRC 8x6G) 250 (WWID: 500143802310898F)

 

=> 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) y

=> ctrl slot=0 ld 3 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) y

=> ctrl slot=0 ld 4 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) y


=> ctrl all show config                                          

Smart Array P410i in Slot 0 (Embedded)    (sn: 5001438023108980)


      logicaldrive 1 (279.4 GB, RAID 1, OK)
   array A (SAS, Unused Space: 0  MB)


      physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 300 GB, OK)
      physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 300 GB, OK)

   unassigned

      physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 300 GB, OK)
      physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 300 GB, OK)
      physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SAS, 300 GB, OK)
      physicaldrive 2I:1:6 (port 2I:box 1:bay 6, SAS, 300 GB, OK)
      physicaldrive 2I:1:7 (port 2I:box 1:bay 7, SAS, 300 GB, OK)
      physicaldrive 2I:1:8 (port 2I:box 1:bay 8, SAS, 300 GB, OK)

   SEP (Vendor ID PMCSIERA, Model  SRC 8x6G) 250 (WWID: 500143802310898F)

 

[ 재구성 ]

 

=> ctrl slot=0 create type=ld drives=1I:1:3 raid=0 stripsize=256

=> ctrl slot=0 create type=ld drives=1I:1:4 raid=0 stripsize=256

=> ctrl slot=0 create type=ld drives=2I:1:5 raid=0 stripsize=256

=> ctrl slot=0 create type=ld drives=2I:1:6 raid=0 stripsize=256

=> ctrl slot=0 create type=ld drives=2I:1:7 raid=0 stripsize=256

=> ctrl slot=0 create type=ld drives=2I:1:8 raid=0 stripsize=256


[ 결과값 ]


=> ctrl all show config

Smart Array P410i in Slot 0 (Embedded)    (sn: 5001438023108980)


      logicaldrive 1 (279.4 GB, RAID 1, OK)
   array A (SAS, Unused Space: 0  MB)


      physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 300 GB, OK)
      physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 300 GB, OK)

      logicaldrive 2 (279.4 GB, RAID 0, OK)

   array B (SAS, Unused Space: 0  MB)


      physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 300 GB, OK)

      logicaldrive 3 (279.4 GB, RAID 0, OK)

   array C (SAS, Unused Space: 0  MB)


      physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 300 GB, OK)

      logicaldrive 4 (279.4 GB, RAID 0, OK)

   array D (SAS, Unused Space: 0  MB)


      physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SAS, 300 GB, OK)

      logicaldrive 5 (279.4 GB, RAID 0, OK)

   array E (SAS, Unused Space: 0  MB)


      physicaldrive 2I:1:6 (port 2I:box 1:bay 6, SAS, 300 GB, OK)

      logicaldrive 6 (279.4 GB, RAID 0, OK)

   array F (SAS, Unused Space: 0  MB)


      physicaldrive 2I:1:7 (port 2I:box 1:bay 7, SAS, 300 GB, OK)

      logicaldrive 7 (279.4 GB, RAID 0, OK)

   array G (SAS, Unused Space: 0  MB)


      physicaldrive 2I:1:8 (port 2I:box 1:bay 8, SAS, 300 GB, OK)

   SEP (Vendor ID PMCSIERA, Model  SRC 8x6G) 250 (WWID: 500143802310898F)