![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||
Solution Type Technical Instruction Sure Solution 2036559.1 : Oracle ZFS Storage Appliance: How to avoid misalignment when using ASM on Solaris clients
In this Document
Created from <SR 3-11055998231> Applies to:Sun ZFS Storage 7120 - Version All Versions to All Versions [Release All Releases]Sun ZFS Storage 7320 - Version All Versions to All Versions [Release All Releases] Oracle ZFS Storage ZS3-2 - Version All Versions to All Versions [Release All Releases] Oracle ZFS Storage ZS3-4 - Version All Versions to All Versions [Release All Releases] Oracle ZFS Storage ZS3-BA - Version All Versions to All Versions [Release All Releases] 7000 Appliance OS (Fishworks) GoalFrom the different ASM documentation available in the web, misalignment issues are not emphasized enough. partition> print
Current partition table (unnamed): Total disk cylinders available: 1302 + 2 (reserved cylinders) Part Tag Flag Cylinders Size Blocks 0 unassigned wm 1 – 1299 9.95GB (1299/0/0) 20868435 1 unassigned wm 0 0 (0/0/0) 0 2 backup wu 0 – 1301 9.97GB (1302/0/0) 20916630 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 unassigned wm 0 0 (0/0/0) 0 8 boot wu 0 – 0 7.84MB (1/0/0) 16065 9 unassigned wm 0 0 (0/0/0) 0 partition> label Using cylinder 1 of slice0 will clearly lead to miss-alignments and extra IOs, as described here : SolutionTo avoid the miss-alignment, we need to follow the following document when assigning the LUNs to the ASM layer : See page 28 : (cylinder number * sectors/cylinder * sector size) % LUN blocksize == 0
In short, when using a disk slice for ASM with an EFI label, make sure the first sector is 256 for LUNs created with a volblocksize of 128K on the ZFS appliance or 2048 for LUNs created with a volblocksize of 1MB. SolarisHost # format
[..] selecting c0t600144F09DFB2E93000055A7D0DF0016d0 [disk formatted] partition> print Current partition table (original): Total disk sectors available: 419413949 + 16384 (reserved sectors) Part Tag Flag First Sector Size Last Sector 0 usr wm 256 199.99GB 419413981 1 unassigned wm 0 0 0 2 unassigned wm 0 0 0 3 unassigned wm 0 0 0 4 unassigned wm 0 0 0 5 unassigned wm 0 0 0 6 unassigned wm 0 0 0 8 reserved wm 419413983 8.00MB 419430366
References<NOTE:1213714.1> - Sun ZFS Storage Appliance: Performance clues and considerationsAttachments This solution has no attachment |
||||||||||||||||
|