Can I hot-plug??


Recommended Posts

It's been a while since I looked at it..  And I vaguely remember in the past it was a no-no..  But can I live hot plug my sata drives in my Norco 5bay enclosures?  I hate having to power down the server each time I want to swap some drives in a out.  It's not a big deal..  But if I can safely hot swap it would save me a little time...  Also I think I saw someone on  YouTube do it..

 

The searches here all come up with USB hot plug topics...

 

Jim

Link to comment
1 hour ago, Squid said:

You can hot plug all day long (just make sure the BIOS for the onboard controllers is set to AHCI).  Stop the array before doing it though.

And no point even trying it with the array started, because you have to stop the array to assign the replacement disk anyway.

 

On the other hand, I sort of "hot swap" Unassigned Devices all the time from a separate eSATA enclosure, but I power it down to do the swap.

Link to comment

Hot swapping works, but obviously not with the array drives.

Unassigned Drives work well, but with a little caveat: Unraid doesn't do a scan of the drive ports unless the array is stopped. There's a linux command for forcing the scan to occur, but for most people, its best to do it with the array stopped.

 

The command in question varies depending on your actual hardware but its like:

echo "- - -" > /sys/class/scsi_host/host0/scan

where the 0 must be replaced with correct controller card.

Link to comment
2 hours ago, ken-ji said:

Unraid doesn't do a scan of the drive ports unless the array is stopped.

On 3/6/2020 at 3:12 PM, trurl said:

I sort of "hot swap" Unassigned Devices all the time from a separate eSATA enclosure, but I power it down to do the swap.

I power down the eSATA enclosure, but I don't have to stop the array to get this "hot swap" to work.

 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.