<?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>SSD | KC's Blog</title>
	<atom:link href="https://www.kjctech.net/tag/ssd/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kjctech.net</link>
	<description></description>
	<lastBuildDate>Tue, 24 Jan 2023 18:21:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/cropped-KC-Logo.png?fit=32%2C32&#038;ssl=1</url>
	<title>SSD | KC's Blog</title>
	<link>https://www.kjctech.net</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">24634607</site>	<item>
		<title>How To Monitor SSD Health Status on VMware ESXi Host</title>
		<link>https://www.kjctech.net/how-to-monitor-ssd-health-status-on-vmware-esxi-host/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-monitor-ssd-health-status-on-vmware-esxi-host</link>
					<comments>https://www.kjctech.net/how-to-monitor-ssd-health-status-on-vmware-esxi-host/#comments</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Wed, 21 Aug 2019 23:54:15 +0000</pubDate>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[SSD]]></category>
		<guid isPermaLink="false">https://www.kjctech.net/?p=4398</guid>

					<description><![CDATA[<p>With more SSD drives added into the VMware host, I need to find a way to monitor the health status of these drives before it&#8217;s too late. Here is what I gathered so far: First of all, enable SSH service so you can tune in through SSH to perform the commands. To get the list of storage devices installed on [&#8230;]</p>
The post <a href="https://www.kjctech.net/how-to-monitor-ssd-health-status-on-vmware-esxi-host/">How To Monitor SSD Health Status on VMware ESXi Host</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>With more SSD drives added into the VMware host, I need to find a way to monitor the health status of these drives before it&#8217;s too late. Here is what I gathered so far:</p>



<p>First of all, enable SSH service so you can tune in through SSH to perform the commands.</p>



<p>To get the list of storage devices installed on the host, run</p>



<pre class="wp-block-code"><code class="">esxcli storage core device list</code></pre>



<p>Find the one that has Is SSD: true and mark down the device ID for the next step.</p>



<figure class="wp-block-image"><img data-recalc-dims="1" fetchpriority="high" decoding="async" width="584" height="326" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/08/image.png?resize=584%2C326&#038;ssl=1" alt="" class="wp-image-4399" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/08/image.png?w=584&amp;ssl=1 584w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/08/image.png?resize=250%2C140&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/08/image.png?resize=450%2C251&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/08/image.png?resize=520%2C290&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/08/image.png?resize=360%2C201&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/08/image.png?resize=100%2C56&amp;ssl=1 100w" sizes="(max-width: 584px) 100vw, 584px" /></figure>



<pre class="wp-block-code"><code class="">esxcli storage core device smart get -d=deviceID</code></pre>



<p>The output will look something like this. Mine says all N/A so there could be something still missing.</p>



<figure class="wp-block-image"><img decoding="async" width="642" height="274" src="https://i2.wp.com/www.kjctech.net/wp-content/uploads/2019/08/image-1.png?fit=600%2C256&amp;ssl=1" alt="" class="wp-image-4400" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/08/image-1.png?w=642&amp;ssl=1 642w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/08/image-1.png?resize=250%2C107&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/08/image-1.png?resize=450%2C192&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/08/image-1.png?resize=600%2C256&amp;ssl=1 600w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/08/image-1.png?resize=520%2C222&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/08/image-1.png?resize=360%2C154&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/08/image-1.png?resize=100%2C43&amp;ssl=1 100w" sizes="(max-width: 640px) 100vw, 640px" /></figure>



<p>You can archive the same results for all disks in once by running a script called <strong>smartinfo.sh</strong> in the following folder:</p>



<pre class="wp-block-preformatted">/usr/lib/vmware/vm-support/bin</pre>



<figure class="wp-block-image"><img decoding="async" width="631" height="444" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/08/image-2.png?fit=600%2C422&amp;ssl=1" alt="" class="wp-image-4401" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/08/image-2.png?w=631&amp;ssl=1 631w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/08/image-2.png?resize=250%2C176&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/08/image-2.png?resize=450%2C317&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/08/image-2.png?resize=600%2C422&amp;ssl=1 600w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/08/image-2.png?resize=520%2C366&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/08/image-2.png?resize=360%2C253&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/08/image-2.png?resize=100%2C70&amp;ssl=1 100w" sizes="(max-width: 631px) 100vw, 631px" /></figure>



<p>If you are satisfied with the information provided by this builtin command, great. Otherwise, you may want to try a modified copy of <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://www.smartmontools.org/" target="_blank">smartmontools</a> for VMware, thanks to <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://www.virten.net/2016/05/determine-tbw-from-ssds-with-s-m-a-r-t-values-in-esxi-smartctl/" target="_blank">this vExpert</a>.</p>



<p>Here is a step of how to get the tool installed on VMware host.</p>



<ol class="wp-block-list"><li>Download <a href="http://www.virten.net/files/smartctl-6.6-4321.x86_64.vib">smartctl-6.6-4321.x86_64.vib</a>.</li><li>Upload it to the /tmp folder of the ESXi host.</li><li>SSH to the host.</li><li>Set the ViB acceptance level to CommunitySupported.</li><li>Then install the package.</li></ol>



<pre class="wp-block-code"><code class="">esxcli software acceptance set --level=CommunitySupported
esxcli software vib install -v /tmp/smartctl-6.6-4321.x86_64.vib</code></pre>



<p>The tool is installed at <strong>/opt/smartmontools</strong> folder and works just like the Linux version.</p>



<pre class="wp-block-code"><code class="">/opt/smartmontools/smartctl -d sat --all /dev/disks/[DISK]</code></pre>The post <a href="https://www.kjctech.net/how-to-monitor-ssd-health-status-on-vmware-esxi-host/">How To Monitor SSD Health Status on VMware ESXi Host</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/how-to-monitor-ssd-health-status-on-vmware-esxi-host/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4398</post-id>	</item>
		<item>
		<title>Why RAID 5 is OK on SSD Drives?</title>
		<link>https://www.kjctech.net/why-raid-5-is-ok-on-ssd-drives/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=why-raid-5-is-ok-on-ssd-drives</link>
					<comments>https://www.kjctech.net/why-raid-5-is-ok-on-ssd-drives/#comments</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Fri, 28 Jul 2017 23:09:53 +0000</pubDate>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[RAID]]></category>
		<category><![CDATA[RAID 5]]></category>
		<category><![CDATA[SSD]]></category>
		<guid isPermaLink="false">http://www.kjctech.net/?p=3570</guid>

					<description><![CDATA[<p>First of all, here is why RAID 5 is so bad and has stopped working since 2009. To recap, two things to blame here. UREs (Unrecoverable Read Error) Disk storage capacity Here is an example to illustrate why it&#8217;s so bad having RAID 5 on large capacity hard drives. With a 7-2TB drives RAID 5 setup, when one drive failed, you [&#8230;]</p>
The post <a href="https://www.kjctech.net/why-raid-5-is-ok-on-ssd-drives/">Why RAID 5 is OK on SSD Drives?</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p><a href="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/07/RAID5.png" data-rel="lightbox-image-0" data-rl_title="" data-rl_caption="" title=""><img data-recalc-dims="1" loading="lazy" decoding="async" class="alignnone size-large wp-image-3571" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/07/RAID5-600x336.png?resize=600%2C336" alt="" width="600" height="336" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/07/RAID5.png?resize=600%2C336&amp;ssl=1 600w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/07/RAID5.png?resize=250%2C140&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/07/RAID5.png?resize=450%2C252&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/07/RAID5.png?resize=700%2C392&amp;ssl=1 700w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/07/RAID5.png?resize=520%2C291&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/07/RAID5.png?resize=360%2C202&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/07/RAID5.png?resize=100%2C56&amp;ssl=1 100w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/07/RAID5.png?w=750&amp;ssl=1 750w" sizes="auto, (max-width: 600px) 100vw, 600px" /></a></p>
<p>First of all, here is <a href="http://www.zdnet.com/article/why-raid-5-stops-working-in-2009/" target="_blank" rel="noopener">why RAID 5 is so bad and has stopped working since 2009</a>.</p>
<p>To recap, two things to blame here.</p>
<ul>
<li>UREs (Unrecoverable Read Error)</li>
<li>Disk storage capacity</li>
</ul>
<p>Here is an example to illustrate why it&#8217;s so bad having RAID 5 on large capacity hard drives.</p>
<p>With a 7-2TB drives RAID 5 setup, when one drive failed, you will have 6 2-TB drives remaining. After you put in a new 2-TB drive, the resilver process kicks off to rebuild the array. Because the RAID controller needs to read through all remaining 6 disks, total of 12-TB of data, to reconstruct the data from the failed drive, there is a very high possibility that it will see another URE during the process. When that happens, it&#8217;s the second drive failure in the array, simply meaning Game Over.</p>
<p>I actually had that exact nightmare before on one of the backup servers. I ended up having to rebuild everything from scratch.</p>
<p>However, the theory applies to the traditional Winchester hard drives (spindle drives) that have a pretty high URE no matter how reliable it claims. What about the SSDs that slowly take over the whole world?</p>
<p>Surprisingly, it seems to be absolutely fine utilizing SSD drives on RAID 5 array. Here is a nice <a href="https://community.spiceworks.com/topic/1146565-what-is-the-best-raid-for-ssd-on-a-server" target="_blank" rel="noopener">run down</a> by Scott Alan Miller:</p>
<ul>
<li>SSDs generally just don&#8217;t have UREs so the second disk failure due to URE during the resilver process is non-existed.</li>
<li>Time to reconstruct the data from the failed drive is hugely reduced.</li>
<li>Resilver impact is much reduced as SSDs handles non-sequential data access so much better.</li>
</ul>
<p>The only concern remaining here is the lifespan on SSD drives. For example, if you utilize 6-1TB SSDs from the same brand on a RAID 5 array, there are chances down the road when two of them died at the same time because they share the same endurance lifespan. Maybe, you could pick SSDs from a different brand with the same size or intentionally perform a disk failure to the array, e.g. sequentially hot-swap one with a spare drive in the array to differentiate their lifespans.</p>
<p>Now, I am marching on my way to build a new SSD RAID5 array.</p>
<p>A few more good readings regarding the disk array:</p>
<ul>
<li><a href="http://www.smbitjournal.com/2012/12/the-history-of-array-splitting">http://www.smbitjournal.com/2012/12/the-history-of-array-splitting</a></li>
<li><a href="http://www.smbitjournal.com/2012/11/one-big-raid-10-a-new-standard-in-server-storage">http://www.smbitjournal.com/2012/11/one-big-raid-10-a-new-standard-in-server-storage</a></li>
<li><a href="http://www.smbitjournal.com/2012/11/choosing-raid-for-hard-drives-in-2013">http://www.smbitjournal.com/2012/11/choosing-raid-for-hard-drives-in-2013</a></li>
<li><a href="http://www.smbitjournal.com/2012/11/choosing-a-raid-level-by-drive-count">http://www.smbitjournal.com/2012/11/choosing-a-raid-level-by-drive-count</a></li>
<li><a href="http://www.smbitjournal.com/2012/11/hardware-and-software-raid">http://www.smbitjournal.com/2012/11/hardware-and-software-raid</a></li>
<li><a href="http://www.smbitjournal.com/2012/08/nearly-as-good-is-not-better">http://www.smbitjournal.com/2012/08/nearly-as-good-is-not-better</a></li>
<li><a href="http://www.smbitjournal.com/2012/07/hot-spare-or-a-hot-mess">http://www.smbitjournal.com/2012/07/hot-spare-or-a-hot-mess</a></li>
<li><a href="http://www.smbitjournal.com/2012/05/when-no-redundancy-is-more-reliable">http://www.smbitjournal.com/2012/05/when-no-redundancy-is-more-reliable</a></li>
<li><a href="http://www.smbitjournal.com/2011/09/spotlight-on-smb-storage">http://www.smbitjournal.com/2011/09/spotlight-on-smb-storage</a></li>
<li><a href="http://www.zdnet.com/blog/storage/why-raid-6-stops-working-in-2019/805">http://www.zdnet.com/blog/storage/why-raid-6-stops-working-in-2019/805</a></li>
<li><a href="http://www.zdnet.com/blog/storage/why-raid-5-stops-working-in-2009/162">http://www.zdnet.com/blog/storage/why-raid-5-stops-working-in-2009/162</a></li>
<li><a href="http://queue.acm.org/detail.cfm?id=1670144">http://queue.acm.org/detail.cfm?id=1670144</a></li>
</ul>The post <a href="https://www.kjctech.net/why-raid-5-is-ok-on-ssd-drives/">Why RAID 5 is OK on SSD Drives?</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/why-raid-5-is-ok-on-ssd-drives/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3570</post-id>	</item>
	</channel>
</rss>
