1. 디스크 확인
#ioscan -fknC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 0 0/4/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP IR Volume
/dev/dsk/c2t0d0 /dev/dsk/c2t0d0s1 /dev/dsk/c2t0d0s2 /dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0 /dev/rdsk/c2t0d0s1 /dev/rdsk/c2t0d0s2 /dev/rdsk/c2t0d0s3
disk 48 0/4/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP EG0450FBDSQ
/dev/dsk/c2t1d0 /dev/dsk/c2t1d0s1 /dev/dsk/c2t1d0s2 /dev/dsk/c2t1d0s3 /dev/rdsk/c2t1d0 /dev/rdsk/c2t1d0s1 /dev/rdsk/c2t1d0s2 /dev/rdsk/c2t1d0s3
disk 109 0/4/1/0.0.0.2.0 sdisk CLAIMED DEVICE SEAGATE ST9600204SS
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
disk 111 0/4/1/0.0.0.3.0 sdisk CLAIMED DEVICE SEAGATE ST9600204SS
/dev/dsk/c2t3d0 /dev/rdsk/c2t3d0
disk 114 0/4/1/0.0.0.4.0 sdisk CLAIMED DEVICE SEAGATE ST9600204SS
/dev/dsk/c2t4d0 /dev/rdsk/c2t4d0
disk 113 0/4/1/0.0.0.5.0 sdisk CLAIMED DEVICE SEAGATE ST9600204SS
/dev/dsk/c2t5d0 /dev/rdsk/c2t5d0
disk 117 0/4/1/0.0.0.6.0 sdisk CLAIMED DEVICE SEAGATE ST9600204SS
/dev/dsk/c2t6d0 /dev/rdsk/c2t6d0
disk 2 255/1/0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-V
/dev/dsk/c3t0d0 /dev/rdsk/c3t0d0
#sasmgr get_info -D /dev/sasd1 -q raid
Sat Dec 30 17:46:01 2017
---------- PHYSICAL DRIVES ----------
LUN dsf SAS Address Enclosure Bay Size(MB)
/dev/rdsk/c2t1d0 0x50000392e80321fa 1 6 429247
/dev/rdsk/c2t2d0 0x5000c5003a12ff39 1 2 572325
/dev/rdsk/c2t3d0 0x5000c5003a3516b1 1 1 572325
/dev/rdsk/c2t4d0 0x5000c500331ea079 1 4 572325
/dev/rdsk/c2t5d0 0x5000c50023baf071 1 3 572325
/dev/rdsk/c2t6d0 0x5000c5003245ac65 1 5 572325
---------- LOGICAL DRIVE 5 ----------
Raid Level : RAID 1
Volume sas address : 0x4c21db93a441081
Device Special File : /dev/rdsk/c2t0d0
Raid State : OPTIMAL
Raid Status Flag : ENABLED
Raid Size : 572204
Rebuild Rate : 0.00 %
Rebuild Progress : 100.00 %
Participating Physical Drive(s) :
SAS Address Enc Bay Size(MB) Type State
0x5000c5004cef0bc1 1 8 572325 SECONDARY ONLINE
0x5000c5004cedebbd 1 7 572325 PRIMARY ONLINE
2. IR Volume 생성 및 확인
#sasmgr add -D /dev/sasd1 -q raid -q level=1 -q enc_bay=1:1,1:2
WARNING: If the disks are of different size,
then the remaining disk space of the larger disk
will be wasted and the volume cannot be expanded.
WARNING: Make sure that the disks are not being
used for BOOT, SWAP, DUMP, LVM, VxVM or any other
purpose.
This operation will overwrite the data on the disks.
Do you want to continue ?(y/n) [n]...
WARNING: This operation may take a few seconds.
RAID Volume is created successfully.
#sasmgr get_info -D /dev/sasd1 -q raid
Sat Dec 30 17:52:41 2017
---------- PHYSICAL DRIVES ----------
LUN dsf SAS Address Enclosure Bay Size(MB)
/dev/rdsk/c2t1d0 0x50000392e80321fa 1 6 429247
/dev/rdsk/c2t4d0 0x5000c500331ea079 1 4 572325
/dev/rdsk/c2t5d0 0x5000c50023baf071 1 3 572325
/dev/rdsk/c2t6d0 0x5000c5003245ac65 1 5 572325
---------- LOGICAL DRIVE 5 ----------
Raid Level : RAID 1
Volume sas address : 0x4c21db93a441081
Device Special File : /dev/rdsk/c2t0d0
Raid State : OPTIMAL
Raid Status Flag : ENABLED
Raid Size : 572204
Rebuild Rate : 0.00 %
Rebuild Progress : 100.00 %
Participating Physical Drive(s) :
SAS Address Enc Bay Size(MB) Type State
0x5000c5004cef0bc1 1 8 572325 SECONDARY ONLINE
0x5000c5004cedebbd 1 7 572325 PRIMARY ONLINE
---------- LOGICAL DRIVE 4 ----------
Raid Level : RAID 1
Volume sas address : 0xff4d8f5e0fbaa45
Device Special File : /dev/rdsk/c2t8d0
Raid State : OPTIMAL
Raid Status Flag : ENABLED
Raid Size : 572160
Rebuild Rate : 20.00 %
Rebuild Progress : 100.00 %
Participating Physical Drive(s) :
SAS Address Enc Bay Size(MB) Type State
0x5000c5003a3516b1 1 1 572325 PRIMARY ONLINE
0x5000c5003a12ff39 1 2 572325 SECONDARY ONLINE
새로운 IR Volume이 생긴것과, 묶어준 두개의 디스크가 NO_HW로 바뀐것을 확인 할 수 있다.
'IT > HP-UX' 카테고리의 다른 글
HP-UX LVM Mirror 생성 (0) | 2018.01.13 |
---|---|
[HP-UX] Hostname 변경 및 프롬프트 설정 (0) | 2016.12.28 |
HP-UX Ignite Backup/Recovery 백업 (0) | 2016.09.19 |
HP-UX DAT160 Tape I/O 테스트 및 관련 명령어 (0) | 2016.08.04 |