{"id":811,"date":"2015-12-27T05:27:34","date_gmt":"2015-12-27T05:27:34","guid":{"rendered":"http:\/\/haisins.epac.to\/wordpress\/?p=811"},"modified":"2015-12-27T05:27:34","modified_gmt":"2015-12-27T05:27:34","slug":"mknod-%eb%aa%85%eb%a0%b9%ec%96%b4%eb%a5%bc-%ec%9d%b4%ec%9a%a9%ed%95%9c-rawdevice-%ec%88%9c%ec%84%9c-%eb%a7%9e%ec%b6%94%ea%b8%b0rac-%ea%b5%ac%ec%84%b1%ec%8b%9c","status":"publish","type":"post","link":"http:\/\/haisins.synology.me\/wordpress\/?p=811","title":{"rendered":"mknod \uba85\ub839\uc5b4\ub97c \uc774\uc6a9\ud55c Rawdevice \uc21c\uc11c \ub9de\ucd94\uae30(RAC \uad6c\uc131\uc2dc)"},"content":{"rendered":"<p><P># \uc678\ubd80 \uc2a4\ud1a0\ub9ac\uc9c0\ub97c \uc11c\ubc84\uc5d0 \uc5f0\uacb0\ud560 \ub54c AIX\uc758 \uacbd\uc6b0 1\ubc88\uc11c\ubc84\uc5d0\uc11c\ub294 hdisk10\uc774\ub77c\uace0 \ub418\uc5b4\uc788\ub294\ub370, 2\ubc88\uc11c\ubc84\uc5d0\uc11c\ub294 hdisk20 \ub4f1\uc73c\ub85c \uc774\ub984\uc774 \ub2e4\ub974\uac8c \ud560\ub2f9\ub420 \uacbd\uc6b0\uac00 \uc788\ub294\ub370 \uc774\ub7f0 \uacbd\uc6b0\uc5d0 mknod\ub97c \uc774\uc6a9\ud558\uc5ec \ud2b9\uc218\ud30c\uc77c\uc744 \uc0dd\uc131\ud55c \ud6c4 \uc774\ub984\uc744 \ub9de\ucd94\uc5b4 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4.<\/P><br \/>\n<P>RAC \uc124\uce58\ud560 \ub54c Device\uba85\uc774 \ub9de\uc9c0 \uc54a\uc73c\uba74 Grid\uc5d4\uc9c4 \uc124\uce58\uc2dc root.sh \uc2e4\ud589\uc911\uc5d0 \uc5d0\ub7ec\ub97c \ub9cc\ub0a0 \uc218 \uc788\ub2e4.<\/P><br \/>\n<P>AIX, HP-UX, Linux(RHEL\uacc4\uc5f4)\uc740 mknod \uba85\ub839\uc5b4\uac00 \ud655\uc778\uc774 \ub418\uc5c8\ub294\ub370 Solaris\ub294 \uc544\uc9c1 \ud655\uc778\uc774 \ub418\uc9c0 \uc54a\uc558\ub2e4.<\/P><br \/>\n<P>1. AIX<\/P><br \/>\n<P>\ud574\ub2f9 rawdive\uc758 major, minor \ub118\ubc84\ub97c \ud655\uc778 \ud55c \ud6c4 <\/P><br \/>\n<P># ls -la | grep rhdisk5 <br \/>crw&#8212;&#8212;-&nbsp;&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp; system&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style=\"COLOR: #ff0000\">15,&nbsp; 6<\/SPAN> Oct 06 2010&nbsp; rhdisk5<\/P><br \/>\n<P>\uc544\ub798 \uba85\ub839\uc5b4\ub97c \uc774\uc6a9\ud558\uc5ec \ud2b9\uc218\ud30c\uc77c \uc0dd\uc131<\/P><br \/>\n<P># mknod \/dev\/asm_data01 c 15 6<\/P><br \/>\n<P>\uc544\ub798\uc640 \uac19\uc774 \uc0dd\uc131\ub41c \uac83\uc744 \ud655\uc778 \ud55c \ud6c4 chmod 660, chown oracle:oinstall \ub4f1\uc744 \uc124\uc815\ud558\uc5ec \uc0ac\uc6a9\ud558\uba74 \ub41c\ub2e4.<\/P><br \/>\n<P>RAC\uad6c\uc131\uc758 \uacbd\uc6b0, 2\ubc88\ub178\ub4dc\ub3c4 \ud574\uc918\uc57c \ud55c\ub2e4.<\/P><br \/>\n<P># ls -la | grep asm_data01 <br \/>crw&#8212;&#8212;-&nbsp;&nbsp;&nbsp; 1 oracle&nbsp;&nbsp;&nbsp;&nbsp; oinstall&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 15,&nbsp; 6 Oct 06 2010&nbsp; asm_data01<\/P><br \/>\n<P>***\ucd94\uac00<\/P><br \/>\n<P>RAC\uc758 \uacbd\uc6b0\uc591 \ucabd \ub178\ub4dc\uc758 unique_id\ub3c4 \ud655\uc778\uc744 \ud574\uc57c \ud55c\ub2e4. (\uc704\uc5d0\uc11c \ub098\uc628 major, minor \ubc88\ud638\uac00 \uc591\ub178\ub4dc\uac04\uc5d0 \ud2c0\ub9b4\uc2dc)<\/P><br \/>\n<P>lsattr -El hdisk1|grep unique_id<\/P>unique_id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 36213600601607C391100B25F4BC0429FE51107RAID 1003DGCfcp Unique device identifier&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; False<br \/>\n<P>&nbsp;<\/P><br \/>\n<P>2.&nbsp; HP-UX<\/P><br \/>\n<P>\uc544\ub798 ioscan\uacfc scsimgr \uba85\ub839\uc5b4\ub97c \uc774\uc6a9\ud558\uc5ec \uc591\ucabd\ub178\ub4dc\uc5d0 \ub514\ubc14\uc774\uc2a4\uba85\uc774 \ub611\uac19\uc740\uc9c0 \uc544\ub2c8\uba74 \ud2c0\ub9b0\uc9c0 WWID\ub97c \uc774\uc6a9\ud558\uc5ec<\/P><br \/>\n<P>\ucc3e\uc544\ub193\ub294\ub2e4.(WWID\ub294 \uace0\uc720\ud558\uae30 \ub54c\ubb38\uc5d0 \uc544\ub798\uc5d0\uc11c \ubcf4\uc774\ub294 disk10x \uba85\uc740 \ub2ec\ub77c\ub3c4 scsimgr\uc744 \uc774\uc6a9\ud558\uc5ec WWID \ube44\uad50\ud558\uc5ec \ucc3e\uc73c\uba74 \ub41c\ub2e4)<\/P><br \/>\n<P># ioscan -fnNkCdisk<\/P><br \/>\n<P>Class&nbsp;&nbsp;&nbsp;&nbsp; I&nbsp; H\/W Path&nbsp; Driver S\/W State&nbsp;&nbsp; H\/W Type&nbsp;&nbsp;&nbsp;&nbsp; Description<br \/>===================================================================<br \/>disk&nbsp;&nbsp;&nbsp; 105&nbsp; 64000\/0xfa00\/0x1a&nbsp; esdisk&nbsp;&nbsp; CLAIMED&nbsp;&nbsp;&nbsp;&nbsp; DEVICE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HSV360<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \/dev\/disk\/disk105&nbsp;&nbsp;&nbsp;&nbsp; \/dev\/oracle\/asm5&nbsp; \/dev\/rdisk\/disk105<br \/>disk&nbsp;&nbsp;&nbsp; 106&nbsp; 64000\/0xfa00\/0x1b&nbsp; esdisk&nbsp;&nbsp; CLAIMED&nbsp;&nbsp;&nbsp;&nbsp; DEVICE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HSV360<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \/dev\/disk\/disk106&nbsp;&nbsp;&nbsp;&nbsp; \/dev\/oracle\/asm6&nbsp; \/dev\/rdisk\/disk106<br \/>disk&nbsp;&nbsp;&nbsp; 107&nbsp; 64000\/0xfa00\/0x1c&nbsp; esdisk&nbsp;&nbsp; CLAIMED&nbsp;&nbsp;&nbsp;&nbsp; DEVICE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HSV360<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \/dev\/disk\/disk107&nbsp;&nbsp;&nbsp;&nbsp; \/dev\/oracle\/asm7&nbsp; \/dev\/rdisk\/disk107<br \/>disk&nbsp;&nbsp;&nbsp; 108&nbsp; 64000\/0xfa00\/0x1d&nbsp; esdisk&nbsp;&nbsp; CLAIMED&nbsp;&nbsp;&nbsp;&nbsp; DEVICE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HSV360<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \/dev\/disk\/disk108&nbsp;&nbsp;&nbsp;&nbsp; \/dev\/oracle\/asm8&nbsp; \/dev\/rdisk\/disk108<\/P><br \/>\n<P>&nbsp;# scsimgr lun_map -D \/dev\/rdisk\/disk105 | grep WWID<\/P><br \/>\n<P>World Wide Identifier(WWID)&nbsp;&nbsp;&nbsp; = 0x6000323009b0282d0000500001840000<\/P><br \/>\n<P>&nbsp;<\/P><br \/>\n<P>AIX\uacbd\uc6b0\uc640 \uba85\ub839\uc5b4 \uccb4\uacc4\ub294 \ube44\uc2b7\ud558\ub2e4<\/P><br \/>\n<P># mkdir \/dev\/oracle<\/P><br \/>\n<P># ls -ltr \/dev\/rdisk\/disk105<br \/>crw-r\u2014\u2013&nbsp;&nbsp; 1 bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sys&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style=\"COLOR: #ff0000\">13 0x00001a<\/SPAN> Oct 22 11:45 \/dev\/rdisk\/disk105<br \/># mknod \/dev\/oracle\/disc-asm1 c 13 0x00001a<\/P><br \/>\n<P>&nbsp;<\/P><br \/>\n<P>3. Linux(RHEL\uacc4\uc5f4)<\/P><br \/>\n<P>\ub9ac\ub205\uc2a4\uc758 \uacbd\uc6b0 \uc624\ub77c\ud074\uc5d0\uc11c \uc81c\uacf5\ud558\ub294 oracleasm \ud234\uc744 \ubc1b\uc544\uc11c \ud558\ub294\uac8c \uc81c\uc77c \ud3b8\ud558\uc9c0\ub9cc \uc548\ub420 \uacbd\uc6b0\uc5d0\ub294 mknod\ub97c \uc0ac\uc6a9\ud55c\ub2e4<\/P><br \/>\n<P>\/proc\/partitions\uc5d0\uc11c major, minor\ub97c \ud655\uc778\ud55c \ud6c4 mknod\ub85c \uc0dd\uc131<\/P><br \/>\n<P># cat \/proc\/partitions<br \/>major minor&nbsp; #blocks&nbsp; name<\/P><br \/>\n<P>&nbsp;&nbsp; 8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 195360984 sda<br \/>&nbsp;&nbsp; <SPAN style=\"COLOR: #ff0000\">8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;<\/SPAN> 180193041 sda1<br \/>&nbsp;&nbsp; 8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp; 1020127 sda2<br \/>&nbsp;&nbsp; 8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3&nbsp;&nbsp; 14145232 sda3<\/P><br \/>\n<P># mknod&nbsp;disc-asm1 c 8 1<\/P><br \/>\n<P>&nbsp;<\/P><br \/>\n<P>&nbsp;<\/P><br \/>\n<P>&nbsp;<\/P><br \/>\n<P>&nbsp;<\/P><\/p>\n","protected":false},"excerpt":{"rendered":"<p># \uc678\ubd80 \uc2a4\ud1a0\ub9ac\uc9c0\ub97c \uc11c\ubc84\uc5d0 \uc5f0\uacb0\ud560 \ub54c AIX\uc758 \uacbd\uc6b0 1\ubc88\uc11c\ubc84\uc5d0\uc11c\ub294 hdisk10\uc774\ub77c\uace0 \ub418\uc5b4\uc788\ub294\ub370, 2\ubc88\uc11c\ubc84\uc5d0\uc11c\ub294 hdisk20 \ub4f1\uc73c\ub85c \uc774\ub984\uc774 \ub2e4\ub974\uac8c \ud560\ub2f9\ub420 \uacbd\uc6b0\uac00 \uc788\ub294\ub370 \uc774\ub7f0 \uacbd\uc6b0\uc5d0 mknod\ub97c \uc774\uc6a9\ud558\uc5ec \ud2b9\uc218\ud30c\uc77c\uc744 \uc0dd\uc131\ud55c \ud6c4 \uc774\ub984\uc744 \ub9de\ucd94\uc5b4 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4. RAC \uc124\uce58\ud560 \ub54c Device\uba85\uc774 \ub9de\uc9c0 \uc54a\uc73c\uba74 Grid\uc5d4\uc9c4 \uc124\uce58\uc2dc root.sh \uc2e4\ud589\uc911\uc5d0 \uc5d0\ub7ec\ub97c \ub9cc\ub0a0 \uc218 \uc788\ub2e4. AIX, HP-UX, Linux(RHEL\uacc4\uc5f4)\uc740 mknod \uba85\ub839\uc5b4\uac00 \ud655\uc778\uc774 \ub418\uc5c8\ub294\ub370 Solaris\ub294 \uc544\uc9c1 \ud655\uc778\uc774 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"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":[21],"tags":[72,481,482,483,26],"jetpack_featured_media_url":"","amp_enabled":true,"_links":{"self":[{"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/811"}],"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=811"}],"version-history":[{"count":0,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/811\/revisions"}],"wp:attachment":[{"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=811"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=811"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}