iSCSI disk showing incorrect size


 
Thread Tools Search this Thread
Operating Systems Solaris iSCSI disk showing incorrect size
# 1  
Old 09-22-2010
iSCSI disk showing incorrect size

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)
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script showing incorrect output

Hello scripting geeks, I am new to scripting and facing some issues in writing the logic of the script. Request your kind help here Actually when i run a command i get o/p as below o/p : 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 these are hex values i guess...now i want to... (15 Replies)
Discussion started by: kulvant29
15 Replies

2. Red Hat

Udev Rule TAG for identifying a local sas disk, non-scsi, non-fiber, non-iscsi

I need to add a VMware virtual disk to the 99-oracle-asmdevices.rules file but the OS is not assigning a WWID to the disk. It has been fdisk'd and a single partition created. What TAG inside the file needs to be added? the Program scsi-id does not work for some reason. latest patches... (0 Replies)
Discussion started by: mrmurdock
0 Replies

3. Solaris

Iscsi shared disk - same naming across server

Hi all, Is there anyway i can control the naming of the disk device ? I have added an iscsi disk on server1 using iscsiadm , devfsadm and it is now showing as /dev/dsk/c2t0d0 in node1 However, i am worried that the same disk will appear as /dev/dsk/cXtXd0 in node2 This iscsi disk(lun)... (0 Replies)
Discussion started by: javanoob
0 Replies

4. Solaris

Showing strange size in df output

Hi, This is Solaris-10 box and in few of file-system (root file-system of non global zones), usage/available is not showing correct size. I am not able to figure out, what is eating up this space. Global Server - bdrpod01 Non Global zone - bdrpod01-zputq01 root@bdrpod01:/root# df -h... (2 Replies)
Discussion started by: solaris_1977
2 Replies

5. HP-UX

After adding new iscsi target port, still the session state of that target port is showing offline

Hi, I wanted to configure new iscsi port on HPUX system, i added the target port address and configured it, once done, went to array side and searched for that host iqn number , but was nt able to find the same, came to host, then when i ran "iscsiutil -pVS" command it gave me below result ... (0 Replies)
Discussion started by: Vinay Kumar D
0 Replies

6. UNIX for Advanced & Expert Users

Physical disk IO size smaller than fragment block filesystem size ?

Hello, in one default UFS filesystem we have 8K block size (bsize) and 1K fragmentsize (fsize). At this scenary I thought all "FileSytem IO" will be 8K (or greater) but never smaller than the fragment size (1K). If a UFS fragment/blocksize is allwasy several ADJACENTS sectors on disk (in a ... (4 Replies)
Discussion started by: rarino2
4 Replies

7. Shell Programming and Scripting

Disk Monitoring shell script giving incorrect information

Hi All, OS: Linux 86x64 bits Red Hat Linux I get the email alert for the following when Alert condition is set for 30: /dev/sda1 99M 21M 74M 22% /boot -> Below 30%(Should not get the email alert) Expected output as per E-Mail alert: /dev/sda3 20G ... (2 Replies)
Discussion started by: a1_win
2 Replies

8. AIX

mkvg on iscsi disk won't work (6.1)

Hi All, Recently I'm taking my first steps in AIX, initially with no real issues. Until now, off course... I hooked up a couple of iSCSI disks to the system, with a RHEL5 machine running tgt on the other side. When running cfgmgr after initial configuration, I got an error: # cfgmgr -l... (4 Replies)
Discussion started by: mr.aart
4 Replies

9. Solaris

Raidz displays incorrect size

So I just tried what somebody here suggested and set up my backupserver with a zraid2 over 16 disks (4x4 groups) zpool create tank raidz2 c7t0d0 c7t1d0 and so on. zpool list showed a correct info about 5,4T in size (I did not use all disks), but when I did a df -h, it showed me only half the... (5 Replies)
Discussion started by: PatrickBaer
5 Replies

10. SCO

Incorrect Disk Partition - New Install SCO 6.0

New IBM x3400 machine with a raid 5 configuration. Go through the early setup routine to the point where I answer the questions for time zone, machine name. Enter continue and get a message stating : "Incorrect disk partitioning cannot continue" This is a sco message, refers to the installation... (1 Reply)
Discussion started by: wjbtms
1 Replies
Login or Register to Ask a Question