ex) Physical device information ---------------------------------------------------------------------- Channel #1: Initiator at SCSI ID 7 Target on SCSI ID 0 Device is a Hard disk SCSI ID : 0 PFA (Yes/No) : No State : Online (ONL) Size (in MB)/(in sectors): 140013/286747728 Device ID : IBM-ESXSDTN146C3S27YECW951KC FRU part number : 32P0731 Target on SCSI ID 1 Device is a Hard disk SCSI ID : 1 PFA (Yes/No) : No State : Online (ONL) Size (in MB)/(in sectors): 140013/286747728 Device ID : IBM-ESXSDTN146C3S27YECW4E55C FRU part number : 32P0731
필요한 raid level 에 맞는 disk 수량 조사
2. create ./ipssend.bin create
Found 1 IBM ServeRAID controller(s).
Usage: IPSSEND CREATE <Controller> LOGICALDRIVE <Options> <Size> <RAIDLevel> [<Channel> <SCSI ID>] NOPROMPT Controller --> The ServeRAID controller number (1 to 16) LOGICALDRIVE --> Indicates you are creating a logical drive. Options --> One of the following: - NEWARRAY indicates you are creating a new array and a new logical drive. - A valid array ID ( A - H ) of an existing array. Size --> One of the following: - The size in megabytes (MB) of the logical drive. - MAX to create the maximum size for the array. RAIDLevel --> The RAID level for the logical drive (0,1,1E,5,5E,5EE) Channel --> Channel number for device (1 to 4) SCSI ID --> SCSI ID of device (0 to 15) NOPROMPT --> Optional parameter to override user prompt
./ipssend.bin create 1 logicaldrive newarray max 1E 1 1 1 2 1 3 1 4 noprompt -> 1번 controller 에 새로운 array 생성, raid level 은 1E , 1번 채널에 연결 된 1 ~ 4번 디스크 사용 2번 채널에 연결 된 3 ~ 7 번 디스크를 사용 하려면 2 3 2 4 2 5 2 6 2 7 이라고 써주면 됨
3. init ./ipssend.bin getconfig 1 ld 로 신규 생성된 logical volume 확인 ---------------------------------------------------------------------- Logical drive information ---------------------------------------------------------------------- Logical drive number 1 Status of logical drive : Okay (OKY) RAID level : 0 Size (in MB) : 140013 Write cache status : Write back (WB) Number of chunks : 1 Stripe-unit size : 64 KB Access blocked : No Part of array : A Part of merge group : 207 Logical drive number 2 Status of logical drive : Okay (OKY) RAID level : 1E Size (in MB) : 280026 Write cache status : Write back (WB) Number of chunks : 4 Stripe-unit size : 64 KB Access blocked : No Part of array : B Part of merge group : 207
Array A stripe order (Channel/SCSI ID) : 1,0 Array B stripe order (Channel/SCSI ID) : 1,1 1,3 1,4 1,5