[Dirvish] Hot Swap SATA

Eric Wilhelm scratchcomputing at gmail.com
Mon Sep 10 18:58:24 UTC 2007


# from JT Moree
# on Monday 10 September 2007 09:50 am:

>Quick google search turns up sparse information.  mostly saying hot
> swap SATA under linux will require libata and may not work well yet.

It works flawlessly and without intervention if your controller properly 
supports hotswap.

e.g. Rosewill RC-209, 4 ports -- $20
     Intel 82801ER, onboard   -- worthless

----------  Forwarded Message:  ----------

Subject: Re: [PLUG] SATA hot swap
Date: Saturday 08 September 2007 10:20 am
From: Eric Wilhelm <ewilhelm at cpan.org>
To: PLUG <plug at lists.pdxlinux.org>

# from Keith Lofstrom
# on Saturday 08 September 2007 08:56 am:
>Are any of you running SATA drives?  Do you know whether they can be
>hotswapped in Linux,

Yes.  There's no documentation on how to do it because it "just works."

If the sata controller supports it, it is just as easy as usb.  Onboard
controllers may not.  You'll know you got a lemon controller when the
machine locks up.

>perhaps with some "hdparm" action before and after?

If your controller doesn't hotplug, the 'warmplug' mechanism seems to
 be `scsiadd` -- though you only really get to add it.  I think I
 managed to remove a drive from my junky onboard controller once
 without the machine hanging, but repeated warmplugging seems unstable.

--Eric
-- 
Chicken farmer's observation:  Clunk is the past tense of cluck.
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------



More information about the Dirvish mailing list