Hi,
I have a very frustrating issue! I hope you guys can assist
When a disk is presented out the iSCSI target display a lower disk capacity
SOLARIS VERSION is SOLARIS 10 05/09 Kernel Patch 139555-31
ISCSI Patch 119090-31, 141878-11
Unix Commands To discover Target
bash-3.00# i scsiadm add discovery-address 192.168.1.52
bash-3.00# iscsiadm modify discovery --sendtargets enable
bash-3.00# devfsadm –Cv –i iscsi
--------------------------------------------------------------------------------------------------------------------------------------
LIST FOUND TARGET
bash-3.00# iscsiadm list target -vS
Target: iqn.1986-03.com.sun:02:4f81f6ae-514f-6dd7-8161-c6e9d63c5e4d.iroot
Alias: iroot
TPGT: 1
ISID: 4000002a0000
Connections: 1
CID: 0
IP address (Local): 192.168.1.50:32786
IP address (Peer): 192.168.1.52:3260
Discovery Method: SendTargets
Login Parameters (Negotiated):
Data Sequence In Order: yes
Data PDU In Order: yes
Default Time To Retain: 20
Default Time To Wait: 2
Error Recovery Level: 0
First Burst Length: 65536
Immediate Data: yes
Initial Ready To Transfer (R2T): yes
Max Burst Length: 262144
Max Outstanding R2T: 1
Max Receive Data Segment Length: 8192
Max Connections: 1
Header Digest: NONE
Data Digest: NONE
LUN: 0
Vendor: SUN
Product: SOLARIS
OS Device Name: /dev/rdsk/c3t8d0s2
-----------------------------------------------------------------------------------------------------------------------------------
USE FORMAT TO CHECK DISK GEOMETRY
bash-3.00#format
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1f,4000/scsi@3/sd@0,0
1. c0t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1f,4000/scsi@3/sd@1,0
2. c3t8d0 <SUN-SOLARIS-1 cyl 6 alt 2 hd 255 sec 34866>
/iscsi/disk@0000iqn.1986-03.com.sun%3A02%3A4f81f6ae-514f-6dd7-8161-c6e9d63c5e4d.iroot0001,0
Specify disk (enter its number):2
---------------------------------------------------------------------------------------------------
INITIAL DISCOVERED PARTITION SIZE
partition> p
Current partition table (default):
Total disk cylinders available: 6 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 0 4.24GB (1/0/0) 8890830
1 swap wu 1 - 1 4.24GB (1/0/0) 8890830
2 backup wu 0 - 5 25.44GB (6/0/0) 53344980
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 usr wm 2 - 5 16.96GB (4/0/0) 35563320
7 unassigned wm 0 0 (0/0/0) 0
partition>
Current partition table (unnamed):
Total disk cylinders available: 6 + 2 (reserved cylinders)
---------------------------------------------------------------------------------------------------------------------------
ATTEMPT TO FORMAT DRIVE WITH CORRECT TYPE AND SIZE
AVAILABLE DRIVE TYPES:
0. Auto configure
1. Quantum ProDrive 80S
2. Quantum ProDrive 105S
3. CDC Wren IV 94171-344
4. SUN0104
5. SUN0207
6. SUN0327
7. SUN0340
8. SUN0424
9. SUN0535
10. SUN0669
11. SUN1.0G
12. SUN1.05
13. SUN1.3G
14. SUN2.1G
15. SUN2.9G
16. Zip 100
17. Zip 250
18. Peerless 10GB
19. SUN36G
20. SUN72G
21. SUN-SOLARIS-1
22. other
Specify disk type (enter its number)[21]: 19
selecting c3t8d0
[disk formatted]
Disk not labeled. Label it now? Y
Write label failed
Warning: Current geometry overshoots actual geometry of disk
Continue labelling disk?n
Current partition table (original):
Total disk cylinders available: 24620 + 2 (reserved cylinders)