Re: SATA hotswap and write caches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michel Lespinasse wrote:
> On Sun, Jun 03, 2007 at 10:24:38AM -0400, Jeff Garzik wrote:
>> Michel Lespinasse wrote:
>>> * Is there anything one needs to know before hot-removing a drive ?
>> Make sure all data is flushed to the drive before removing it.
> 
> Sure. Is there a way to do that, though, other than using /sbin/halt
> which seems to have, errr, undesirable side-effects :)
> 
> Ideally it'd be very nice if that was doable through /sys or /proc files.
> It'd also be nice if disk standby was user-controllable in this way too.
> (or maybe both as one step, i.e. a way to tell the kernel we'd like to
> take the disk out in the safest way possible).

If you're using barrier, you should be in the clear, I think.

-- 
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux