OK; so, what you're saying is that it'll be ok to pull the drive if I've unmounted it? 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? -----Original Message----- 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 > 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 0111010000101110Received on Tue Aug 02 2005 - 05:42:48 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:40 UTC