차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
iscsi_target [2015/04/13 02:15] – [tgt-setup-lun] zzung | iscsi_target [2015/06/18 15:49] (현재) – 바깥 편집 127.0.0.1 | ||
---|---|---|---|
줄 1: | 줄 1: | ||
- | ====== iSCSI Target | + | ====== iSCSI Target_RHEL6 |
테스트환경 \\ | 테스트환경 \\ | ||
줄 57: | 줄 57: | ||
[root@iscsi ~]# | [root@iscsi ~]# | ||
+ | |||
+ | </ | ||
+ | |||
+ | * tgtd 데몬 재 시작 | ||
+ | <code vim> | ||
+ | |||
+ | [root@iscsi ~]# service tgtd restart | ||
+ | |||
+ | </ | ||
+ | |||
+ | * Target 확인 | ||
+ | <code vim> | ||
+ | |||
+ | [root@iscsi ~]# tgt-admin -s | ||
+ | |||
+ | </ | ||
+ | |||
+ | <code vim> | ||
+ | Target 1: iqn.2015-04.com.iscsi-iSCSI_Target1 | ||
+ | System information: | ||
+ | Driver: iscsi | ||
+ | State: ready | ||
+ | I_T nexus information: | ||
+ | LUN information: | ||
+ | LUN: 0 | ||
+ | Type: controller | ||
+ | SCSI ID: IET | ||
+ | SCSI SN: beaf10 | ||
+ | Size: 0 MB, Block size: 1 | ||
+ | Online: Yes | ||
+ | Removable media: No | ||
+ | Prevent removal: No | ||
+ | Readonly: No | ||
+ | Backing store type: null | ||
+ | Backing store path: None | ||
+ | Backing store flags: | ||
+ | LUN: 1 | ||
+ | Type: disk | ||
+ | SCSI ID: IET | ||
+ | SCSI SN: beaf11 | ||
+ | Size: 32216 MB, Block size: 512 | ||
+ | Online: Yes | ||
+ | Removable media: No | ||
+ | Prevent removal: No | ||
+ | Readonly: No | ||
+ | Backing store type: rdwr | ||
+ | Backing store path: / | ||
+ | Backing store flags: | ||
+ | Account information: | ||
+ | ACL information: | ||
+ | ALL | ||
+ | Target 2: iqn.2015-04.com.iscsi-iSCSI_Target2 | ||
+ | System information: | ||
+ | Driver: iscsi | ||
+ | State: ready | ||
+ | I_T nexus information: | ||
+ | LUN information: | ||
+ | LUN: 0 | ||
+ | Type: controller | ||
+ | SCSI ID: IET | ||
+ | SCSI SN: beaf20 | ||
+ | Size: 0 MB, Block size: 1 | ||
+ | Online: Yes | ||
+ | Removable media: No | ||
+ | Prevent removal: No | ||
+ | Readonly: No | ||
+ | Backing store type: null | ||
+ | Backing store path: None | ||
+ | Backing store flags: | ||
+ | LUN: 1 | ||
+ | Type: disk | ||
+ | SCSI ID: IET | ||
+ | SCSI SN: beaf21 | ||
+ | Size: 10737 MB, Block size: 512 | ||
+ | Online: Yes | ||
+ | Removable media: No | ||
+ | Prevent removal: No | ||
+ | Readonly: No | ||
+ | Backing store type: rdwr | ||
+ | Backing store path: / | ||
+ | Backing store flags: | ||
+ | Account information: | ||
+ | ACL information: | ||
+ | ALL | ||
+ | Target 3: iqn.2015-04.com.iscsi-iSCSI_Target3 | ||
+ | System information: | ||
+ | Driver: iscsi | ||
+ | State: ready | ||
+ | I_T nexus information: | ||
+ | LUN information: | ||
+ | LUN: 0 | ||
+ | Type: controller | ||
+ | SCSI ID: IET | ||
+ | SCSI SN: beaf30 | ||
+ | Size: 0 MB, Block size: 1 | ||
+ | Online: Yes | ||
+ | Removable media: No | ||
+ | Prevent removal: No | ||
+ | Readonly: No | ||
+ | Backing store type: null | ||
+ | Backing store path: None | ||
+ | Backing store flags: | ||
+ | LUN: 1 | ||
+ | Type: disk | ||
+ | SCSI ID: IET | ||
+ | SCSI SN: beaf31 | ||
+ | Size: 5377 MB, Block size: 512 | ||
+ | Online: Yes | ||
+ | Removable media: No | ||
+ | Prevent removal: No | ||
+ | Readonly: No | ||
+ | Backing store type: rdwr | ||
+ | Backing store path: / | ||
+ | Backing store flags: | ||
+ | Account information: | ||
+ | ACL information: | ||
+ | ALL | ||
+ | Target 4: iqn.2015-04.com.iscsi-iSCSI_Target4 | ||
+ | System information: | ||
+ | Driver: iscsi | ||
+ | State: ready | ||
+ | I_T nexus information: | ||
+ | LUN information: | ||
+ | LUN: 0 | ||
+ | Type: controller | ||
+ | SCSI ID: IET | ||
+ | SCSI SN: beaf40 | ||
+ | Size: 0 MB, Block size: 1 | ||
+ | Online: Yes | ||
+ | Removable media: No | ||
+ | Prevent removal: No | ||
+ | Readonly: No | ||
+ | Backing store type: null | ||
+ | Backing store path: None | ||
+ | Backing store flags: | ||
+ | LUN: 1 | ||
+ | Type: disk | ||
+ | SCSI ID: IET | ||
+ | SCSI SN: beaf41 | ||
+ | Size: 5344 MB, Block size: 512 | ||
+ | Online: Yes | ||
+ | Removable media: No | ||
+ | Prevent removal: No | ||
+ | Readonly: No | ||
+ | Backing store type: rdwr | ||
+ | Backing store path: / | ||
+ | Backing store flags: | ||
+ | Account information: | ||
+ | ACL information: | ||
+ | ALL | ||
+ | |||
+ | </ | ||
+ | |||
+ | * target 제거 | ||
+ | <code vim> | ||
+ | |||
+ | tgt-admin --delete ALL // 모든 타겟을 지운다. | ||
+ | tgt-admin --delete tid=4 // 타겟4번을 지운다. | ||
+ | tgt-admin --delete iqn.2015-04.com | ||
+ | |||
</ | </ |