InfoDoc ID   Synopsis   Date
48671   Sun StorEdge[TM] 9900: Tech Tip: Format doesn't report correct size of LUSE Volume in Format   21 Nov 2002

Status Issued

Description

If you are mapping a LUSE volume from your SE9900 and it is reporting the wrong size in format, you may have to make some modifications to the disk geometry. For instance, if the first LDEV in the volume was previously formatted as an open-9 and the path for the ldev was never removed, it will report it's disk geometry to Solaris as an open-9 with the incorrect size (it will report the size of the first ldev, not of the LUSE volume). The solution is to use format's type command and manually enter in disk geometry based on a chart in the Sun Solaris Configuration Guide (ref page 68 and 69). Having done this we were able to see the correct size of the LUSE volume. Below I have documented this procedure:

# dmesg | more

:

fca0:< Total IOPB space used: 1100624 bytes >

fca0:< Total DMA space used: 532644 bytes >

fca0: <HITACHI :OPEN-9 :5235> target 2 (alpa 0xe4) lun 0 online

sd192 at fca: target 2 lun 0

sd192 is /sbus@1f,0/fca@1,0/sd@2,0

WARNING: /sbus@1f,0/fca@1,0/sd@2,0 (sd192)

corrupt label - wrong magic number <-- not yet labled

Vendor HITACHI , product OPEN-9 , 4806720 512 byte blocks

This example shows a new disk on fca@1: target ID is 2, LUN = 0, vendor name

is HITACHI , product name is OPEN-9 , and number of blocks is 4806720. The LUN is LUN0

# format

Searching for disks...done

AVAILABLE DISK SELECTIONS:

0. c1t2d0 <HITACHI-OPEN-3-52-34 <--Not yet labeled

/sbus@1f,0/fca@1,0/sd@2,0

Specify disk (enter its number): 0

selecting c1t2d0 [disk formatted]

Disk not labeled. Label it now ? n

# format> type

AVAILABLE DRIVE TYPES

0. Auto configure

:

14. SUN2.1G

15. HITACHI-OPEN-9-0315 <--Do not select this disk type.

16. other

Specify disk type (enter its number):16

*****REF PAGES 68 and 69 IN SUN SOLARIS CONFIGURATION GUIDE*****

Enter number of data cylinders:10014

Enter number of alternate cylinders[2]:2

Enter number of physical cylinders[3338]: <--Press enter for default

Enter number of heads:15

Enter number of physical heads[defaults]: <--Press enter for default

Enter number of data sectors/track:96

Enter number of physical sectors/track[defaults]: <--Press enter for default

Enter rpm of drive [3600]:10000

Enter format time[defaults]: <--press Enter for default

Enter cylinder skew[defaults]: <--press Enter for default

Enter track skew[defaults]: <--press Enter for default

Enter track per zone[defaults]: <--press Enter for default

Enter alternate tracks[defaults]: <--press Enter for default

Enter alternate sectors[defaults]: <--press Enter for default

Enter cache control[defaults]: <--press Enter for default

Enter prefetch threshold[defaults]: <--press Enter for default

Enter minimum prefetch[defaults]: <--press Enter for default

Enter maximum prefetch[defaults]: <--press Enter for default

Enter disk type name(remember quotes): "HITACHI OPEN-9"

selecting c1t2d0

[disk formatted]

No defined partition tables. Disk not labeled. Label it now ? y

format>

INTERNAL SUMMARY:

Internal Section

SUBMITTER: Mike Martinez APPLIES TO: Hardware/Disk Storage Subsystem/StorEdge Disk Array/StorEdge 9900 ATTACHMENTS:


Copyright (c) 1997-2003 Sun Microsystems, Inc.