<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Hot-Swap-Procedure on KnightLi Blog</title>
        <link>https://www.knightli.com/en/tags/hot-swap-procedure/</link>
        <description>Recent content in Hot-Swap-Procedure on KnightLi Blog</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en</language>
        <lastBuildDate>Wed, 01 Jan 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://www.knightli.com/en/tags/hot-swap-procedure/index.xml" rel="self" type="application/rss+xml" /><item>
        <title>How to Safely Hot-Swap HDDs (Do It Right and Avoid Hardware Damage)</title>
        <link>https://www.knightli.com/en/2025/01/01/safe-hdd-hot-swap/</link>
        <pubDate>Wed, 01 Jan 2025 00:00:00 +0000</pubDate>
        
        <guid>https://www.knightli.com/en/2025/01/01/safe-hdd-hot-swap/</guid>
        <description>&lt;h2 id=&#34;prerequisite-hardware-must-support-hot-swap&#34;&gt;Prerequisite: Hardware Must Support Hot Swap
&lt;/h2&gt;&lt;p&gt;First confirm your drive backplane/controller and platform support hot swap. This is the basic requirement.&lt;/p&gt;
&lt;h2 id=&#34;bios-settings-you-need&#34;&gt;BIOS Settings You Need
&lt;/h2&gt;&lt;p&gt;Using ASUS as an example:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Press &lt;code&gt;F2&lt;/code&gt; or &lt;code&gt;DEL&lt;/code&gt; during boot to enter BIOS.&lt;/li&gt;
&lt;li&gt;Switch to &lt;code&gt;Advanced Mode&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Go to &lt;code&gt;Advanced -&amp;gt; PCH Storage Configuration&lt;/code&gt;, find the target SATA port, and set &lt;code&gt;Hot Plug&lt;/code&gt; to &lt;code&gt;Enabled&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Press &lt;code&gt;F10&lt;/code&gt; to save and exit.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;After this, hot-swap should be available. Other motherboard brands provide similar options.&lt;/p&gt;
&lt;h2 id=&#34;operating-system-steps&#34;&gt;Operating-System Steps
&lt;/h2&gt;&lt;h3 id=&#34;windows&#34;&gt;Windows
&lt;/h3&gt;&lt;ol&gt;
&lt;li&gt;Stop I/O activity on the target drive.&lt;/li&gt;
&lt;li&gt;In Device Manager, find the drive and choose to uninstall/eject the device.&lt;br&gt;
&lt;img src=&#34;https://www.knightli.com/2025/01/01/%E6%AD%A3%E7%A1%AE%E7%83%AD%E6%8F%92%E6%8B%94%E6%9C%BA%E6%A2%B0%E7%A1%AC%E7%9B%98/1.jpg&#34;
	width=&#34;983&#34;
	height=&#34;704&#34;
	srcset=&#34;https://www.knightli.com/2025/01/01/%E6%AD%A3%E7%A1%AE%E7%83%AD%E6%8F%92%E6%8B%94%E6%9C%BA%E6%A2%B0%E7%A1%AC%E7%9B%98/1_hu_4cee7f09f8d3a57e.jpg 480w, https://www.knightli.com/2025/01/01/%E6%AD%A3%E7%A1%AE%E7%83%AD%E6%8F%92%E6%8B%94%E6%9C%BA%E6%A2%B0%E7%A1%AC%E7%9B%98/1_hu_2675a424ac071a8d.jpg 1024w&#34;
	loading=&#34;lazy&#34;
	
	
		class=&#34;gallery-image&#34; 
		data-flex-grow=&#34;139&#34;
		data-flex-basis=&#34;335px&#34;
	
&gt;&lt;/li&gt;
&lt;li&gt;After successful removal, physically unplug the drive.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;linux&#34;&gt;Linux
&lt;/h3&gt;&lt;ol&gt;
&lt;li&gt;Stop I/O activity on the target drive.&lt;/li&gt;
&lt;li&gt;Unmount the file system (for example &lt;code&gt;umount /dev/sda&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;If using LVM, deactivate the volume group (for example &lt;code&gt;vgchange -an&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Put the disk into standby (for example &lt;code&gt;sudo hdparm -Y /dev/sda&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Remove the device from the OS (&lt;code&gt;echo 1 | sudo tee /sys/block/sda/device/delete&lt;/code&gt;).
After this command, verify the disk has fully stopped spinning before unplugging power/data. Pulling a still-spinning HDD can damage the head/platter assembly.&lt;/li&gt;
&lt;li&gt;Once the above steps are completed, unplug the drive.&lt;/li&gt;
&lt;/ol&gt;
</description>
        </item>
        
    </channel>
</rss>
