Hot-swap SATA and atacontrol
justin at redwiredesign.com
Tue Aug 2 07:42:48 GMT 2005
OK; so, what you're saying is that it'll be ok to pull the drive if I've
In that case, is the atacontrol step unneccesary? My thinking is that it
might be, but it's just another step to ensure nothing goes wrong.
What d'you think?
From: owner-freebsd-current at freebsd.org
[mailto:owner-freebsd-current at freebsd.org] On Behalf Of Colin King
Sent: 02 August 2005 02:51
To: Justin Finkelstein
Cc: freebsd-current at freebsd.org
Subject: Re: Hot-swap SATA and atacontrol
Only if your filesystem is unstable. Using atacontrol reloads the drive's
information in the kernel, it doesn't affect the filesystem. Of course, you
always want to unmount before swapping out a drive.
On Mon, Aug 01, 2005 at 06:00:17PM +0100, Justin Finkelstein wrote:
> Thanks; and just use fsck to check consistency?
> -----Original Message-----
> From: Colin King [mailto:ring_06 at m202.net]
> Sent: 01 August 2005 17:26
> To: Justin Finkelstein
> Subject: Re: Hot-swap SATA and atacontrol
> I've been able to hot-swap regular IDE drives this way, but some
> motherboards and BIOSes don't like that. If this works for you, I'd
> say go for it.
> On Mon, Aug 01, 2005 at 04:33:24PM +0100, Justin Finkelstein wrote:
> > Hi
> > I'm trying to find out about the safety of hot-swappable sata
> > devices
> > when not using a raid configuration. What I'd like is to be able to
> > remove a hot-swap drive while the system's powered up.
> > The drive has its own sata channel, so I issue the following
> > commands:
> > umount /dev/ad2s1d - to dismount the drive
> > atacontrol detach 1 - to stop all further ata commands going to the
> > device
> > This appears to work just fine, but I'd like a second opinion.
> > Any thoughts?
> > j.
> > Redwire Design Limited
> > Studio 12
> > 37 Tanner Street
> > London SE1 3LF
> > [ www.redwiredesign.com ]
> > [ 020 7403 1444 ] - voice
> > [ 020 7378 8711 ] - fax
> > _______________________________________________
> > freebsd-current at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to
> > "freebsd-current-unsubscribe at freebsd.org"
> Colin King
More information about the freebsd-current