Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Aug 2005 18:51:20 -0700
From:      Colin King <ring_06@m202.net>
To:        Justin Finkelstein <justin@redwiredesign.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Hot-swap SATA and atacontrol
Message-ID:  <20050802015120.GA43118@xenon.m202.net>
In-Reply-To: <000c01c596ba$83abe050$0b02a8c0@justin>
References:  <20050801162615.GA40704@xenon.m202.net> <000c01c596ba$83abe050$0b02a8c0@justin>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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@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@freebsd.org mailing list 
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to 
> > "freebsd-current-unsubscribe@freebsd.org"
> 
> -- 
> Colin King
> http://www.m202.net/
> 
> 010000110110111101101110011001110111001001100001
> 011101000111010101101100011000010111010001101001
> 011011110110111001110011001011000010000001111001
> 011011110111010100100000011001100110111101110101
> 011011100110010000100000011101000110100001100101
> 001000000111001101100101011000110111001001100101
> 011101000010000001101101011001010111001101110011
> 011000010110011101100101001011100010000001011001
> 011011110111010100100000011101110110100101101110
> 001000000110110101111001001000000110010001100101
> 011001010111000000100000011000010110010001101101
> 011010010111001001100001011101000110100101101111
> 011011100010000001100001011011100110010000100000
> 011100100110010101110011011100000110010101100011
> 0111010000101110
> 

-- 
Colin King
http://www.m202.net/

010000110110111101101110011001110111001001100001
011101000111010101101100011000010111010001101001
011011110110111001110011001011000010000001111001
011011110111010100100000011001100110111101110101
011011100110010000100000011101000110100001100101
001000000111001101100101011000110111001001100101
011101000010000001101101011001010111001101110011
011000010110011101100101001011100010000001011001
011011110111010100100000011101110110100101101110
001000000110110101111001001000000110010001100101
011001010111000000100000011000010110010001101101
011010010111001001100001011101000110100101101111
011011100010000001100001011011100110010000100000
011100100110010101110011011100000110010101100011
0111010000101110

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Signed from MercuryIV

iD8DBQFC7tGX/snj4TV8XCERAoYJAKC50sjjZKsx2EJAOLDLCcUgATxKEQCdEKcF
H2IQxDhSy11MiAlmXmg64QY=
=twyc
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050802015120.GA43118>