<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Digital Journal &#187; solaris replacing faulty disk</title>
	<atom:link href="http://digitaljournal.sg/wp/?feed=rss2&#038;tag=solaris-replacing-faulty-disk" rel="self" type="application/rss+xml" />
	<link>http://digitaljournal.sg/wp</link>
	<description>My Digital Journal</description>
	<lastBuildDate>Mon, 20 Oct 2014 00:32:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<item>
		<title>Replace faulty disk in Solaris</title>
		<link>http://digitaljournal.sg/wp/?p=70</link>
		<comments>http://digitaljournal.sg/wp/?p=70#comments</comments>
		<pubDate>Fri, 28 Sep 2012 01:38:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tips&Info]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[how to replace faulty disk in solaris]]></category>
		<category><![CDATA[Replace faulty disk in Solaris]]></category>
		<category><![CDATA[solaris replacing faulty disk]]></category>
		<category><![CDATA[steps to replace faulty disk in solaris]]></category>

		<guid isPermaLink="false">http://digitaljournal.sg/wp/?p=70</guid>
		<description><![CDATA[[Please proceed with your own risk] Here&#8217;s simple tutorials on how to replace faulty disk on solaris, in this example my customer using RAID 0 (don&#8217;t ask me why RAID 0, cause they using this RAID partition is for development only, but sometimes there are many comapnies using RAID 0 because it&#8217;s has a highest [...]]]></description>
			<content:encoded><![CDATA[<p><em>[Please proceed with your own risk]</em></p>
<p>Here&#8217;s simple tutorials on how to replace faulty disk on solaris, in this example my customer using RAID 0 (don&#8217;t ask me why RAID 0, cause they using this RAID partition is for development only, but sometimes there are many comapnies using RAID 0 because it&#8217;s has a highest performance rather than RAID 1 and RAID 5 even with No data protection at all; One drive fails, all data is lost forever), ok enough for the fairy tale :&gt;&gt;, so here we go<br />
-)Figure out which one is the faulty disk and which array affected,you can use these commands</p>
<p><em><strong>#iostat -En<br />
#metastat</strong></em></p>
<p>-)umount mounted fs using umount command(you can refer to /etc/vfstab)<br />
<em><strong>#umount /custimadb</strong></em></p>
<p>-)turn off RAID0 array, in this example d0 is the RAID array, kindly note disks composition<br />
<em><strong>#metaclear d0</strong></em></p>
<p>-)release the faulty disk from os</p>
<p><em><strong>#cfgadm -c unconfigure c6t11d0</strong></em></p>
<p>-)replace faulty disk with the new one (do it carefully, it&#8217;s better to labeled all disks before do this step,if you are not too sure which disk is the fauly one, you can use format, select the disk and do a verification (target disk will blinking, but i warn you it&#8217;s too fast), and open your eyes, if you have many storages connected to one machine, ask your friends to helps you to keep their eyes on it <img src='http://digitaljournal.sg/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</p>
<p>-)force the Solaris to recognize new disk, you can either type</p>
<p><em><strong>#cfgadm -C -c disk</strong></em><br />
or<br />
<em><strong>#devfsadm -C</strong></em></p>
<p>-)Recreate RAID0 array</p>
<p><em><strong>#metainit d0 5 1 c6t11d0 c6t12d0 c6t13d0 c6t14d0 c6t15d0</strong></em></p>
<p>-)Recreate fs on selected partition</p>
<p><em><strong>#newfs /dev/md/rdsk/d0</strong></em></p>
<p>-)Remount file system</p>
<p><em><strong>#mount /custimadb</strong></em></p>
<p><em>[Please proceed with your own risk]</em></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://digitaljournal.sg/wp/?feed=rss2&#038;p=70</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
