{"id":4715,"date":"2023-02-16T14:15:45","date_gmt":"2023-02-16T05:15:45","guid":{"rendered":"http:\/\/haisins.synology.me\/wordpress\/?p=4715"},"modified":"2023-02-16T14:15:45","modified_gmt":"2023-02-16T05:15:45","slug":"%ec%86%94%eb%9d%bc%eb%a6%ac%ec%8a%a4-solaris-%ec%97%90%ec%84%9c-oracle-asm-%eb%94%94%ec%8a%a4%ed%81%ac-disk-%ec%9d%b8%ec%8b%9d%ec%9d%b4-%ec%95%88-%eb%90%a0-%ea%b2%bd%ec%9a%b0","status":"publish","type":"post","link":"http:\/\/haisins.synology.me\/wordpress\/?p=4715","title":{"rendered":"\uc194\ub77c\ub9ac\uc2a4 Solaris \uc5d0\uc11c Oracle ASM \ub514\uc2a4\ud06c Disk \uc778\uc2dd\uc774 \uc548 \ub420 \uacbd\uc6b0"},"content":{"rendered":"<p>\uc194\ub77c\ub9ac\uc2a4 Solaris \uc5d0\uc11c Oracle ASM \ub514\uc2a4\ud06c Disk \uc778\uc2dd\uc774 \uc548 \ub420 \uacbd\uc6b0<\/p>\n<p>&nbsp;<\/p>\n<p>\uc2e4\ub9b0\ub354 \ubc88\ud638 \ub098 \ud560\ub2f9 \uc601\uc5ed\uc744 \uccb4\ud06c\ud574 \ubd10\uc57c \ud569\ub2c8\ub2e4.<\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #0000ff; font-size: 14pt;\">ASM \ub514\uc2a4\ud06c \uc99d\uc124\uc778 \uacbd\uc6b0 <span style=\"color: #ff0000;\">prtvtoc \uba85\ub839\uc5b4<\/span>\ub85c \uae30\uc874\uc5d0 \ud560\ub2f9\ub41c asm \ub514\uc2a4\ud06c \ub97c \ud655\uc778\ud574\uc11c \ub3d9\uc77c\ud558\uac8c \ud30c\ud2f0\uc158 + \uc2e4\ub9b0\ub354\uac00 \uad6c\uc131 \ub418\uc5b4\u00a0 \ubc1b\uc740 \uac74\uc9c0 \ud655\uc778 \ud569\ub2c8\ub2e4.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #0000ff; font-size: 14pt;\">\uc2e0\uaddc \uc124\uce58\ud558\uc5ec \ucc98\uc74c \ubc1b\uc740 ASM \ub514\uc2a4\ud06c\uac00 \uc778\uc2dd\uc774 \uc548\ub418\ub294 \uacbd\uc6b0\ub77c\uba74\u00a0512 \ubc14\uc774\ud2b8 \uc774\uc0c1 \ud560\ub2f9 \ubc1b\uc740 \uc601\uc5ed \uacfc \uc2e4\ub9b0\ub354 3\ubc88 \uc778\uc9c0 \ud655\uc778 \ud574\uc57c \ud569\ub2c8\ub2e4 .<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>&nbsp;<\/p>\n<p>Partition # 2 is a standard partition and it SHOULD NOT be changed as it reflects the total capacity of the disk.<\/p>\n<p>All other partitions are available for the configuration.<\/p>\n<p>All this information for the partitions and other data is contained in a special structure stored within the first 512 bytes of the disk, on the first cylinders.<\/p>\n<p>This structure is called\u00a0<strong>VTOC\u00a0<\/strong>\u00a0(Volume Table of Contents).\u00a0 Actions like re-writting the VTOC will cause loosing the disk.<\/p>\n<p>The output displayed above is a typical configuration, where slice 0 was formatted using the entire disk.<\/p>\n<p>When using\u00a0<strong>ASM\u00a0<\/strong>and during the disk discovery, the previous configuration is the cause for missing disks or disks not been discovered.<\/p>\n<p>The reason seems to be that having partitions that start at cylinder 0, the complete partition\u00a0 is interpreted as the\u00a0<strong>VTOC\u00a0<\/strong>area which is not\u00a0 used as a regular partition of the disk.<\/p>\n<p>&nbsp;<\/p>\n<h1 class=\"entry-title\">Grid Infra \u2013 ASM 11.2.0.3 bug on Solaris \u2013 slice 2 CANDIDATE<\/h1>\n<div class=\"sub-title\">\n<div class=\"autor-fecha\"><\/div>\n<\/div>\n<div class=\"entry-content\">\n<div class=\"entry-content\">\n<p>We recently ran into a bug (at least that how I look at it) that is introduced with ASM 11.2.0.3. As of this version,<\/p>\n<p>ASM shows slice 2 (the complete disk, starting a cylinder 0 thus inlcuding the VTOC) as an\u00a0<strong>CANDIDATE<\/strong>\u00a0disk in ASM.<\/p>\n<p>In previous versions of ASM (Grid Infra) only slices that started from cylinder 3 (or higher) where shown as\u00a0<strong>CANDIDATE<\/strong>\u00a0disks in ASM,<\/p>\n<p>so you couldn\u2019t accidently select slice 2 to be used for a diskgroup.<\/p>\n<p>In ASM 11.2.0.3 it is possible to add the slice 2 (for example *c0t0d0s2) to an ASM diskgroup while another slice of the same disk,<\/p>\n<p>starting at cylinder 3, is already part of the same or even another diskgroup. You can understand what a mess this gives!<br \/>\n<a href=\"https:\/\/i0.wp.com\/marcel.vandewaters.nl\/wp-content\/uploads\/2012\/08\/solaris_disk_slices.jpg\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-481\" title=\"solaris_disk_slices\" src=\"https:\/\/i0.wp.com\/marcel.vandewaters.nl\/wp-content\/uploads\/2012\/08\/solaris_disk_slices.jpg?resize=371%2C82\" alt=\"\" width=\"371\" height=\"82\" data-recalc-dims=\"1\" \/><\/a>Example partition table of solaris disk, where until 11.2.0.3 you would only see partition (slice) 0,<\/p>\n<p>starting at cylinder 3 (see MOS note:\u00a0<em>ASM Does Not Discover Disk on Solaris [ID 368840.1]<\/em>).<\/p>\n<pre>Current partition table (original):\r\nTotal disk cylinders available: 13651 + 2 (reserved cylinders)\r\n\r\nPart\u00a0\u00a0\u00a0\u00a0\u00a0 Tag\u00a0\u00a0\u00a0 Flag\u00a0\u00a0\u00a0\u00a0 Cylinders\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Size\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Blocks\r\n\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 root\u00a0\u00a0\u00a0 wm\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 3 - 13650\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 49.98GB\u00a0\u00a0\u00a0 (13648\/0\/0) 104816640\r\n\u00a0 1 unassigned\u00a0\u00a0\u00a0 wu\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (0\/0\/0)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\r\n\u00a0 2\u00a0\u00a0\u00a0\u00a0 backup\u00a0\u00a0\u00a0 wu\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 - 13650\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 49.99GB\u00a0\u00a0\u00a0 (13651\/0\/0) 104839680\r\n\u00a0 3 unassigned\u00a0\u00a0\u00a0 wm\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (0\/0\/0)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\r\n\u00a0 4 unassigned\u00a0\u00a0\u00a0 wm\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (0\/0\/0)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\r\n\u00a0 5 unassigned\u00a0\u00a0\u00a0 wm\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (0\/0\/0)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\r\n\u00a0 6 unassigned\u00a0\u00a0\u00a0 wm\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (0\/0\/0)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\r\n\u00a0 7 unassigned\u00a0\u00a0\u00a0 wm\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (0\/0\/0)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0<\/pre>\n<p>ASM (11.2.0.3) discovers the following disks now. Take a good look at the disk number of the\u00a0<strong>MEMBER<\/strong>\u00a0disks and\u00a0<strong>CANDIDATE<\/strong>\u00a0disks:<\/p>\n<pre>SQL&gt; select path,header_status from v$asm_disk order by 1,2;\r\n\r\nPATH\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 HEADER_STATUS\r\n-------------------------------------------------- ---------------\r\n\/dev\/rdsk\/c3t60060E8005492800000049280000319Dd0s0\u00a0 MEMBER\r\n\/dev\/rdsk\/c3t60060E8005492800000049280000319Dd0s2\u00a0 CANDIDATE\r\n\/dev\/rdsk\/c3t60060E8005492800000049280000319Ed0s0\u00a0 MEMBER\r\n\/dev\/rdsk\/c3t60060E8005492800000049280000319Ed0s2\u00a0 CANDIDATE\r\n\/dev\/rdsk\/c3t60060E8005492800000049280000319Fd0s0\u00a0 MEMBER\r\n\/dev\/rdsk\/c3t60060E8005492800000049280000319Fd0s2\u00a0 CANDIDATE\r\n\/dev\/rdsk\/c3t60060E800549280000004928000031A0d0s0\u00a0 MEMBER\r\n\/dev\/rdsk\/c3t60060E800549280000004928000031A0d0s2\u00a0 CANDIDATE\r\n\/dev\/rdsk\/c3t60060E800549280000004928000031A6d0s0\u00a0 MEMBER\r\n\/dev\/rdsk\/c3t60060E800549280000004928000031A6d0s2\u00a0 CANDIDATE\r\n\/dev\/rdsk\/c3t60060E800549280000004928000031A7d0s0\u00a0 MEMBER\r\n\/dev\/rdsk\/c3t60060E800549280000004928000031A7d0s2\u00a0 CANDIDATE\r\n\/dev\/rdsk\/c3t60060E800549280000004928000031A8d0s0\u00a0 MEMBER\r\n\/dev\/rdsk\/c3t60060E800549280000004928000031A8d0s2\u00a0 CANDIDATE\r\n\/dev\/rdsk\/c3t60060E800549280000004928000031A9d0s0\u00a0 MEMBER\r\n\/dev\/rdsk\/c3t60060E800549280000004928000031A9d0s2\u00a0 CANDIDATE\r\n\/dev\/rdsk\/c3t60060E800549280000004928000031CBd0s0\u00a0 MEMBER\r\n\/dev\/rdsk\/c3t60060E800549280000004928000031CBd0s2\u00a0 CANDIDATE<\/pre>\n<p>I have created an SR for this problem, but until then you\u2019ll have the following options:<\/p>\n<ol>\n<li>Set the\u00a0<strong>ASM_DISKSTRING<\/strong>\u00a0parameter to\u00a0<strong>\/dev\/rdsk\/*s0<\/strong>\u00a0(or whatever slice you normally use)<\/li>\n<li>Make sure the user\u00a0<strong>grid<\/strong>\u00a0does not have any privileges on the\u00a0<strong>\/dev\/rdsk\/*s2<\/strong>\u00a0devices.<\/li>\n<\/ol>\n<p><strong>Update 26-02-2013:<\/strong><br \/>\nOracle Support finally came back with an answer and a patch.<\/p>\n<p>The most important thing is that they agree that this is actually a bug and created a bug (bug nr.\u00a0<strong>14577881<\/strong>) for it.<\/p>\n<p>Support tells me that the problem is \u201creally\u201d fixed in Oracle 12.2 (when even 12.1 is not even released yet ;-)) but they have created a backport request for it.<\/p>\n<p>I just got back that the backport is available as a one-off patch downloadable as patch 14577881 for 11.2.0.3.<\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<div>\n<div>\n<div>\n<div>\n<div>\n<div>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<blockquote><p>\uc624\ub77c\ud074 MOS\u00a0 \uc5d0 \uc788\ub294\u00a0 \uc194\ub77c\ub9ac\uc2a4 \ud658\uacbd\uc5d0\uc11c\u00a0 ASM \ub514\uc2a4\ud06c\ub85c \uc778\uc2dd \uc2dc\ud0ac \uacbd\uc6b0\u00a0 &#8230;<\/p>\n<p>&nbsp;<\/p>\n<p><b>\uc2e4\ub9b0\ub354 1 \uacfc 2\ubc88 \uc740 \ud53c\ud574\uc57c \ud569\ub2c8\ub2e4.<\/b><\/p>\n<p>&nbsp;<\/p>\n<p><b>Modifying the partitions, starting few cylinders ahead (<span style=\"color: #ff0000;\">1 or 2 to avoid wasting space<\/span>), will help\u00a0ASM\u00a0to discover the disk.<\/p>\n<p>The following output displays the disk originally presented, but now with partition 0 starting\u00a0 at cylinder 3:<\/b><\/p>\n<p>&nbsp;<\/p>\n<div><code class=\"awiz\">Part Tag Flag Cylinders Size Blocks<br \/>\n<strong>0 unassigned wm 3 - 51197 100.00GB (51198\/0\/0) 209707008<\/strong><br \/>\n1 unassigned wm 0 0 (0\/0\/0) 0<br \/>\n<strong>2 backup wu 0 - 51197 100.00GB (51198\/0\/0) 209707008<\/strong><br \/>\n3 unassigned wm 0 0 (0\/0\/0) 0<br \/>\n4 unassigned wm 0 0 (0\/0\/0) 0<br \/>\n5 unassigned wm 0 0 (0\/0\/0) 0<br \/>\n6 unassigned wm 0 0 (0\/0\/0) 0<br \/>\n7 unassigned wm 0 0 (0\/0\/0) 0<\/code><\/div>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/p>\n<div id=\"kmPgTpl:r1:0:psl1::t\">\n<div id=\"kmPgTpl:r1:0:pgl14\" class=\"x1a\">\n<div>\n<table id=\"kmPgTpl:r1:0:tl5\" border=\"0\" summary=\"\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr id=\"kmPgTpl:r1:0:rl12\">\n<td id=\"kmPgTpl:r1:0:cf41\" class=\"dext_table_border_t dext_table_border_r dext_table_border_b dext_table_border_l\" align=\"left\" width=\"10\"><\/td>\n<td id=\"kmPgTpl:r1:0:cf40\" class=\"dext_table_border_t dext_table_border_r dext_table_border_b dext_table_border_l\" width=\"10\"><img loading=\"lazy\" id=\"kmPgTpl:r1:0:s13\" src=\"https:\/\/i0.wp.com\/support.oracle.com\/epmos\/adf\/images\/t.gif?resize=10%2C10&#038;ssl=1\" alt=\"\" width=\"10\" height=\"10\" data-recalc-dims=\"1\" \/><\/td>\n<td id=\"kmPgTpl:r1:0:cf49\" class=\"dext_table_border_t dext_table_border_r dext_table_border_b dext_table_border_l\" align=\"left\"><span id=\"kmPgTpl:r1:0:ol22\" class=\"xq\"><label>ASM Does Not Discover Disk on Solaris (\ubb38\uc11c ID 368840.1)<\/label><\/span><\/td>\n<td id=\"kmPgTpl:r1:0:cf48\" class=\"dext_table_border_t dext_table_border_r dext_table_border_b dext_table_border_l\" align=\"right\"><\/td>\n<td id=\"kmPgTpl:r1:0:cf50\" class=\"dext_table_border_t dext_table_border_r dext_table_border_b dext_table_border_l\"><img loading=\"lazy\" id=\"kmPgTpl:r1:0:s6\" src=\"https:\/\/i0.wp.com\/support.oracle.com\/epmos\/adf\/images\/t.gif?resize=20%2C10&#038;ssl=1\" alt=\"\" width=\"20\" height=\"10\" data-recalc-dims=\"1\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div>\n<hr id=\"kmPgTpl:r1:0:s4\" class=\"x1j\" \/>\n<\/div>\n<\/div>\n<\/div>\n<div>\n<div id=\"kmPgTpl:r1:0:psl1::c\">\n<div id=\"kmPgTpl:r1:0:kmDocPanel\" class=\"xpj x1a\">\n<div><img loading=\"lazy\" id=\"kmPgTpl:r1:0:s23\" class=\"\" src=\"https:\/\/i0.wp.com\/support.oracle.com\/epmos\/adf\/images\/t.gif?resize=10%2C5&#038;ssl=1\" alt=\"\" width=\"10\" height=\"5\" data-recalc-dims=\"1\" \/><\/div>\n<div>\n<table id=\"kmPgTpl:r1:0:tl7\" border=\"0\" summary=\"\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr id=\"kmPgTpl:r1:0:rl14\">\n<td id=\"kmPgTpl:r1:0:cf54\" class=\"dext_table_border_t dext_table_border_r dext_table_border_b dext_table_border_l\">\n<div id=\"kmPgTpl:r1:0:pgl25\" class=\"x1a\">\n<div>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<td class=\"dext_table_border_t dext_table_border_r dext_table_border_b dext_table_border_l\" width=\"0\"><\/td>\n<td class=\"dext_table_border_t dext_table_border_r dext_table_border_b dext_table_border_l\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table style=\"width: 8px;\">\n<tbody>\n<tr>\n<td class=\"dext_table_border_t dext_table_border_r dext_table_border_b dext_table_border_l\" style=\"width: 0px;\"><\/td>\n<td class=\"dext_table_border_t dext_table_border_r dext_table_border_b dext_table_border_l\" style=\"width: 0px;\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td class=\"dext_table_border_t dext_table_border_r dext_table_border_b dext_table_border_l\" style=\"width: 4px;\"><\/td>\n<td class=\"dext_table_border_t dext_table_border_r dext_table_border_b dext_table_border_l\" style=\"width: 10px;\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table style=\"width: 67px;\">\n<tbody>\n<tr>\n<td class=\"dext_table_border_t dext_table_border_r dext_table_border_b dext_table_border_l\" style=\"width: 0px;\"><\/td>\n<td class=\"dext_table_border_t dext_table_border_r dext_table_border_b dext_table_border_l\" style=\"width: 58.5312px;\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr size=\"1\" \/>\n<h2 class=\"km\">APPLIES TO:<\/h2>\n<p><span class=\"kmContent\">Oracle Database &#8211; Enterprise Edition &#8211; Version 10.1.0.2 to 12.1.0.2 [Release 10.1 to 12.1]<br \/>\nOracle Database Cloud Schema Service &#8211; Version N\/A and later<br \/>\nGen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) &#8211; Version N\/A and later<br \/>\nOracle Database Exadata Express Cloud Service &#8211; Version N\/A and later<br \/>\nOracle Cloud Infrastructure &#8211; Database Service &#8211; Version N\/A and later<br \/>\nOracle Solaris on SPARC (64-bit)<br \/>\nSolaris Operating System (SPARC 64-bit)<br \/>\n&lt;br*\u00a0*** &lt;br=&#8221;&#8221;&gt;<\/p>\n<p><\/span><\/p>\n<h2 class=\"km\"><a target=\"_blank\" name=\"SYMPTOM\" rel=\"noopener\"><\/a>SYMPTOMS<\/h2>\n<p>Using\u00a0<strong>ASM\u00a0<\/strong>on any\u00a0\u00a0<strong>SOLARIS\u00a0<\/strong>platform and not using a volume manager to manage the disks.\u00a0 Under this circumstances, the disks are identified under path\u00a0<strong>\/dev\/rdsk<\/strong>.<\/p>\n<p>The problem is the disks are not discovered when the instance is started.<\/p>\n<p>Basic points that need to be reviewed:<\/p>\n<p>* permissions of the device are set for the oracle owner, group and mode 0660.<br \/>\n* Parameter asm_diskstring is configured with a value that resolves the disks to be used.<\/p>\n<p>Queries over\u00a0<strong>v$asm_disk<\/strong>\u00a0does not return rows or does not return all the expected disks.<\/p>\n<h2 class=\"km\"><a target=\"_blank\" name=\"CHANGE\" rel=\"noopener\"><\/a>CHANGES<\/h2>\n<h2 class=\"km\"><a target=\"_blank\" name=\"CAUSE\" rel=\"noopener\"><\/a>CAUSE<\/h2>\n<p>In Solaris the disks have a specific number of partitions (7) that are configured in order to manipulate the disk. \u00a0\u00a0<strong>format\u00a0<\/strong>is the command used to review\/configure the partitions.<\/p>\n<p>Example:<\/p>\n<div class=\"kmcodeblock\">Log in as root:<\/p>\n<p># format<br \/>\nSearching for disks&#8230;done<\/p>\n<p>AVAILABLE DISK SELECTIONS:<br \/>\n0. c1t0d0 &lt;SUN72G cyl 14087 alt 2 hd 24 sec 424&gt;<br \/>\n\/pci@1c,600000\/scsi@2\/sd@0,0<br \/>\n1. c1t1d0 &lt;SUN72G cyl 14087 alt 2 hd 24 sec 424&gt;<br \/>\n\/pci@1c,600000\/scsi@2\/sd@1,0<br \/>\n2. c3t42d10 &lt;SUN-StorEdge3510-411I cyl 51198 alt 2 hd 64 sec 64&gt;<br \/>\n\/pci@1d,700000\/SUNW,qlc@1\/fp@0,0\/ssd@w226000c0ffa8796e,a<br \/>\n3. c3t42d11 &lt;SUN-StorEdge3510-411I cyl 51198 alt 2 hd 64 sec 64&gt;<br \/>\n\/pci@1d,700000\/SUNW,qlc@1\/fp@0,0\/ssd@w226000c0ffa8796e,b<br \/>\n4. c3t42d12 &lt;SUN-StorEdge3510-411I cyl 51198 alt 2 hd 64 sec 64&gt;<br \/>\n\/pci@1d,700000\/SUNW,qlc@1\/fp@0,0\/ssd@w226000c0ffa8796e,c<br \/>\n5. c3t42d13 &lt;SUN-StorEdge3510-411I cyl 51198 alt 2 hd 64 sec 64&gt;<br \/>\n\/pci@1d,700000\/SUNW,qlc@1\/fp@0,0\/ssd@w226000c0ffa8796e,d<br \/>\n6. c3t42d14 &lt;SUN-StorEdge3510-411I cyl 51198 alt 2 hd 64 sec 64&gt;<br \/>\n\/pci@1d,700000\/SUNW,qlc@1\/fp@0,0\/ssd@w226000c0ffa8796e,e<br \/>\n7. c4t42d10 &lt;SUN-StorEdge3510-411I cyl 51198 alt 2 hd 64 sec 64&gt;<br \/>\n\/pci@1d,700000\/SUNW,qlc@1,1\/fp@0,0\/ssd@w226000c0ffa8796e,a<br \/>\n8. c4t42d11 &lt;SUN-StorEdge3510-411I cyl 51198 alt 2 hd 64 sec 64&gt;<br \/>\n\/pci@1d,700000\/SUNW,qlc@1,1\/fp@0,0\/ssd@w226000c0ffa8796e,b<br \/>\n9. c4t42d12 &lt;SUN-StorEdge3510-411I cyl 51198 alt 2 hd 64 sec 64&gt;<br \/>\n\/pci@1d,700000\/SUNW,qlc@1,1\/fp@0,0\/ssd@w226000c0ffa8796e,c<br \/>\n10. c4t42d13 &lt;SUN-StorEdge3510-411I cyl 51198 alt 2 hd 64 sec 64&gt;<br \/>\n\/pci@1d,700000\/SUNW,qlc@1,1\/fp@0,0\/ssd@w226000c0ffa8796e,d<br \/>\n11. c4t42d14 &lt;SUN-StorEdge3510-411I cyl 51198 alt 2 hd 64 sec 64&gt;<br \/>\n\/pci@1d,700000\/SUNW,qlc@1,1\/fp@0,0\/ssd@w226000c0ffa8796e,e<br \/>\nSpecify disk (enter its number): 2<br \/>\n<strong>selecting c3t42d10<\/strong><br \/>\n[disk formatted]<\/p>\n<p><strong>You pick the disk you want by typing the number and now you will get this<\/strong>:<\/p>\n<p>FORMAT MENU:<br \/>\ndisk &#8211; select a disk<br \/>\ntype &#8211; select (define) a disk type<br \/>\npartition &#8211; select (define) a partition table<br \/>\ncurrent &#8211; describe the current disk<br \/>\nformat &#8211; format and analyze the disk<br \/>\nfdisk &#8211; run the fdisk program<br \/>\nrepair &#8211; repair a defective sector<br \/>\nshow &#8211; translate a disk address<br \/>\nlabel &#8211; write label to the disk<br \/>\nanalyze &#8211; surface analysis<br \/>\ndefect &#8211; defect list management<br \/>\nbackup &#8211; search for backup labels<br \/>\nverify &#8211; read and display labels<br \/>\nsave &#8211; save new disk\/partition definitions<br \/>\nvolname &#8211; set 8-character volume name<br \/>\n! &#8211; execute , then return<\/p>\n<p><strong>then you type partition<\/strong><br \/>\n<strong>then you type print<\/p>\n<p><\/strong>partition&gt; p<br \/>\nCurrent partition table (original):<br \/>\nTotal disk cylinders available: 51198 + 2 (reserved cylinders)<\/p>\n<p>Part Tag Flag Cylinders Size Blocks<br \/>\n<strong>0 unassigned wm 0 &#8211; 51197 100.00GB (51198\/0\/0) 209707008<\/strong><br \/>\n1 unassigned wm 0 0 (0\/0\/0) 0<br \/>\n<strong>2 backup wu 0 &#8211; 51197 100.00GB (51198\/0\/0) 209707008<\/strong><br \/>\n3 unassigned wm 0 0 (0\/0\/0) 0<br \/>\n4 unassigned wm 0 0 (0\/0\/0) 0<br \/>\n5 unassigned wm 0 0 (0\/0\/0) 0<br \/>\n6 unassigned wm 0 0 (0\/0\/0) 0<br \/>\n7 unassigned wm 0 0 (0\/0\/0) 0<strong><\/p>\n<p><\/strong><\/div>\n<p>Partition # 2 is a standard partition and it SHOULD NOT be changed as it reflects the total capacity of the disk.<\/p>\n<p>All other partitions are available for the configuration.<\/p>\n<p>All this information for the partitions and other data is contained in a special structure stored within the first 512 bytes of the disk, on the first cylinders.<\/p>\n<p>This structure is called\u00a0<strong>VTOC\u00a0<\/strong>\u00a0(Volume Table of Contents).\u00a0 Actions like re-writting the VTOC will cause loosing the disk.<\/p>\n<p>The output displayed above is a typical configuration, where slice 0 was formatted using the entire disk.<\/p>\n<p>When using\u00a0<strong>ASM\u00a0<\/strong>and during the disk discovery, the previous configuration is the cause for missing disks or disks not been discovered.<\/p>\n<p>The reason seems to be that having partitions that start at cylinder 0, the complete partition\u00a0 is interpreted as the\u00a0<strong>VTOC\u00a0<\/strong>area which is not\u00a0 used as a regular partition of the disk.<\/p>\n<h2 class=\"km\"><a target=\"_blank\" name=\"FIX\" rel=\"noopener\"><\/a>SOLUTION<\/h2>\n<p>Modifying the partitions, starting few cylinders ahead (1 or 2 to avoid wasting space), will help\u00a0<strong>ASM\u00a0<\/strong>to discover the disk.<\/p>\n<p>The following output displays the disk originally presented, but now with partition 0 starting\u00a0 at cylinder 3:<\/p>\n<div><code class=\"awiz\">Part Tag Flag Cylinders Size Blocks<br \/>\n<strong>0 unassigned wm 3 - 51197 100.00GB (51198\/0\/0) 209707008<\/strong><br \/>\n1 unassigned wm 0 0 (0\/0\/0) 0<br \/>\n<strong>2 backup wu 0 - 51197 100.00GB (51198\/0\/0) 209707008<\/strong><br \/>\n3 unassigned wm 0 0 (0\/0\/0) 0<br \/>\n4 unassigned wm 0 0 (0\/0\/0) 0<br \/>\n5 unassigned wm 0 0 (0\/0\/0) 0<br \/>\n6 unassigned wm 0 0 (0\/0\/0) 0<br \/>\n7 unassigned wm 0 0 (0\/0\/0) 0<\/code><\/div>\n<p>The disk configured was c3t42d10 and the partition selected was 0 (<strong>S0<\/strong>), which is reflected as \/dev\/rdsk\/c3t42d10<strong>S0<\/strong>.<\/p>\n<p>Having a valid value for parameter asm_disktring that resolves \/dev\/rdsk\/c3t42d10S0 and running a query on v$asm_disk will now discover the disk and it will be available for\u00a0<strong>ASM<\/strong>.<\/p>\n<p><span id=\"kmPgTpl:r1:ot71\" class=\"kmContent\">&lt;\/br*\u00a0***&gt;<\/span><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\uc194\ub77c\ub9ac\uc2a4 Solaris \uc5d0\uc11c Oracle ASM \ub514\uc2a4\ud06c Disk \uc778\uc2dd\uc774 \uc548 \ub420 \uacbd\uc6b0 &nbsp; \uc2e4\ub9b0\ub354 \ubc88\ud638 \ub098 \ud560\ub2f9 \uc601\uc5ed\uc744 \uccb4\ud06c\ud574 \ubd10\uc57c \ud569\ub2c8\ub2e4. &nbsp; ASM \ub514\uc2a4\ud06c \uc99d\uc124\uc778 \uacbd\uc6b0 prtvtoc \uba85\ub839\uc5b4\ub85c \uae30\uc874\uc5d0 \ud560\ub2f9\ub41c asm \ub514\uc2a4\ud06c \ub97c \ud655\uc778\ud574\uc11c \ub3d9\uc77c\ud558\uac8c \ud30c\ud2f0\uc158 + \uc2e4\ub9b0\ub354\uac00 \uad6c\uc131 \ub418\uc5b4\u00a0 \ubc1b\uc740 \uac74\uc9c0 \ud655\uc778 \ud569\ub2c8\ub2e4. &nbsp; \uc2e0\uaddc \uc124\uce58\ud558\uc5ec \ucc98\uc74c \ubc1b\uc740 ASM \ub514\uc2a4\ud06c\uac00 \uc778\uc2dd\uc774 \uc548\ub418\ub294 \uacbd\uc6b0\ub77c\uba74\u00a0512 \ubc14\uc774\ud2b8 \uc774\uc0c1 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4556,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"spay_email":""},"categories":[9],"tags":[72,269,1270,267,1268,1267,1269],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/haisins.synology.me\/wordpress\/wp-content\/uploads\/2021\/11\/ASM.png?fit=224%2C146","amp_enabled":true,"_links":{"self":[{"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/4715"}],"collection":[{"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4715"}],"version-history":[{"count":1,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/4715\/revisions"}],"predecessor-version":[{"id":4716,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/4715\/revisions\/4716"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/media\/4556"}],"wp:attachment":[{"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4715"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4715"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4715"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}