This post is more than 5 years old
1 Rookie
•
50 Posts
0
655
August 5th, 2008 09:00
meta devices with wrong size as seen on host side
from time to time, I run into a strange situation: I create a meta devices
with multiple members, mapped to FA, then masked with host HBA.
re-scan the host would see it, but the size as reported by format is wrong.
ex: I have a meta consist of 8 x 9.4GB = 75GB
# symdev -sid xxxx list -raid5 | grep 00B1
00B1 Not Visible ???:? 05A:C0 RAID-5 N/Grp'd (M) RW 75938
# cat /tmp/map.cmd
map dev 00B1 to dir 08B:0 target=0, lun=017, wwn=xxxxxxxxxxxxxxxxx;
# symconfigure -sid xxxx -f /tmp/map.cmd commit -nop;
then on the host side, the disk is showing up as
c2t5006xxxxxxxxxxxxd23
and it is ONLY 9G, see format
ascii name =
pcyl = 20250
ncyl = 20248
acyl = 2
nhead = 15
nsect = 64
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 0 (0/0/0) 0
1 unassigned wm 0 0 (0/0/0) 0
2 backup wu 0 - 20247 9.27GB (20248/0/0) 19438080
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 unassigned wm 0 0 (0/0/0) 0
7 - wu 0 - 20247 9.27GB (20248/0/0) 19438080
bash-3.00# symdev -sid 0xxx show 00B1
Device Symmetrix Name : 00B1
Device Serial ID : N/A
Symmetrix ID : 0001xxxxxxx
Attached BCV Device : N/A
Attached VDEV TGT Device : N/A
Vendor ID : EMC
Product ID : SYMMETRIX
Product Revision : 5671
Device WWN : 60060480000xxxxxxxxxxxxxxxxxxx
Device Emulation Type : FBA
Device Block Size : 512
Device Capacity
{
Cylinders : 162000
Tracks : 2430000
512-byte Blocks : 155520000
MegaBytes : 75938
KiloBytes : 77760000
}
Device Configuration : RAID-5 (Meta Head,
Non-Exclusive Access)
Device is WORM Enabled : No
Device is WORM Protected : No
SCSI-3 Persistent Reserve: Disabled
Dynamic Spare Invoked : No
Dynamic RDF Capability : None
Device Service State : Normal
Device Status : Ready (RW)
Device SA Status : Ready (RW)
Front Director Paths (1):
{
----------------------------------------------------------------------
POWERPATH DIRECTOR PORT LUN
--------- ---------- ---- -------- ---------
PdevName Type Type Num Sts VBUS TID SYMM Host
----------------------------------------------------------------------
Not Visible N/A FA 08B:0 RW 000 00 017 N/A
}
Meta Configuration : Concatenated
Meta Device Members (8) :
{
----------------------------------------------------------------------
BCV DATA RDF DATA
---------------------------- --------------------------
Sym Cap Std Inv BCV Inv Pair R1 Inv R2 Inv Pair
Dev (MB) Tracks Tracks State Tracks Tracks State
----------------------------------------------------------------------
--> 00B1 9492 - - N/A - - N/A
00B2 9492 - - N/A - - N/A
00B3 9492 - - N/A - - N/A
00B4 9492 - - N/A - - N/A
00B5 9492 - - N/A - - N/A
00B6 9492 - - N/A - - N/A
00B7 9492 - - N/A - - N/A
00B8 9492 - - N/A - - N/A
----------------------------------------------------------------------
75938 - - - -
}
the question is: why this is show up as 9G instead of 75G ?
I have tried to re-label the drive use format -e , with SMI label still no luck?
Thanks in advance.
JasonJ
Message was edited by:
Stefano Del Corno
removed some more details from FA and device WWN
with multiple members, mapped to FA, then masked with host HBA.
re-scan the host would see it, but the size as reported by format is wrong.
ex: I have a meta consist of 8 x 9.4GB = 75GB
# symdev -sid xxxx list -raid5 | grep 00B1
00B1 Not Visible ???:? 05A:C0 RAID-5 N/Grp'd (M) RW 75938
# cat /tmp/map.cmd
map dev 00B1 to dir 08B:0 target=0, lun=017, wwn=xxxxxxxxxxxxxxxxx;
# symconfigure -sid xxxx -f /tmp/map.cmd commit -nop;
then on the host side, the disk is showing up as
c2t5006xxxxxxxxxxxxd23
and it is ONLY 9G, see format
ascii name =
pcyl = 20250
ncyl = 20248
acyl = 2
nhead = 15
nsect = 64
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 0 (0/0/0) 0
1 unassigned wm 0 0 (0/0/0) 0
2 backup wu 0 - 20247 9.27GB (20248/0/0) 19438080
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 unassigned wm 0 0 (0/0/0) 0
7 - wu 0 - 20247 9.27GB (20248/0/0) 19438080
bash-3.00# symdev -sid 0xxx show 00B1
Device Symmetrix Name : 00B1
Device Serial ID : N/A
Symmetrix ID : 0001xxxxxxx
Attached BCV Device : N/A
Attached VDEV TGT Device : N/A
Vendor ID : EMC
Product ID : SYMMETRIX
Product Revision : 5671
Device WWN : 60060480000xxxxxxxxxxxxxxxxxxx
Device Emulation Type : FBA
Device Block Size : 512
Device Capacity
{
Cylinders : 162000
Tracks : 2430000
512-byte Blocks : 155520000
MegaBytes : 75938
KiloBytes : 77760000
}
Device Configuration : RAID-5 (Meta Head,
Non-Exclusive Access)
Device is WORM Enabled : No
Device is WORM Protected : No
SCSI-3 Persistent Reserve: Disabled
Dynamic Spare Invoked : No
Dynamic RDF Capability : None
Device Service State : Normal
Device Status : Ready (RW)
Device SA Status : Ready (RW)
Front Director Paths (1):
{
----------------------------------------------------------------------
POWERPATH DIRECTOR PORT LUN
--------- ---------- ---- -------- ---------
PdevName Type Type Num Sts VBUS TID SYMM Host
----------------------------------------------------------------------
Not Visible N/A FA 08B:0 RW 000 00 017 N/A
}
Meta Configuration : Concatenated
Meta Device Members (8) :
{
----------------------------------------------------------------------
BCV DATA RDF DATA
---------------------------- --------------------------
Sym Cap Std Inv BCV Inv Pair R1 Inv R2 Inv Pair
Dev (MB) Tracks Tracks State Tracks Tracks State
----------------------------------------------------------------------
--> 00B1 9492 - - N/A - - N/A
00B2 9492 - - N/A - - N/A
00B3 9492 - - N/A - - N/A
00B4 9492 - - N/A - - N/A
00B5 9492 - - N/A - - N/A
00B6 9492 - - N/A - - N/A
00B7 9492 - - N/A - - N/A
00B8 9492 - - N/A - - N/A
----------------------------------------------------------------------
75938 - - - -
}
the question is: why this is show up as 9G instead of 75G ?
I have tried to re-label the drive use format -e , with SMI label still no luck?
Thanks in advance.
JasonJ
Message was edited by:
Stefano Del Corno
removed some more details from FA and device WWN
No Events found!


xe2sdc
6 Operator
•
2.8K Posts
1
August 5th, 2008 09:00
I think you formed your meta using devices previously "seen" from other solaris hosts.
The hosts already labelled your devices thus your brand new meta already have a label (written from previous hosts). Format utility does not look at real SCSI size (available through INQ command). Format do read device size from device label.
Please follow primus 1.0.50601418.2513608 to fix bad behaviour.
jasonj1
1 Rookie
•
50 Posts
0
August 5th, 2008 12:00
now on a related issue: with solaris 10 and SUN's emlxs driver , the newly
provisioned LUN sometimes will show up on host following
cfgadm -al . sometime not ( then I have to reboot the server to see it )?
I'm wonder why? or is there a delay of some sort on the FC switches ?
Thanks again.
JasonJ
xe2sdc
6 Operator
•
2.8K Posts
0
August 5th, 2008 12:00