C
Chris S
SATA drives are theoretically hot swappable; the power and data
connectors are designed for 'hot' removal, with ground wires
connecting first, and the interface is designed to deal with the
various surge issues - this is well known.
I've used several USB 2.0 external drives, and before you remove them,
you are supposed to 'stop' them; presumably to flush any delayed
writes that may be in progress, etc.
But when I plug in a SATA drive, it does not show up as a device to be
'safely removed' in the 'Safely Remove Hardware' applet that shows up
if I plug in a USB device.
I've done some tests; when I plug in a SATA drive (a data drive,
obviously, not a boot drive), a new hard drive shows up, no problem.
I can read and write to this drive, no problem. And if I unplug it,
or power it down, the drive letter simply disappears - no error
messages or warnings whatsoever. All sounds good.
HOWEVER, I could not find a file that I had written to the drive.
This has all the markings of a write-cached file not being written to
the device. So it occurred to me that, somehow, I should be able to
'stop', or 'dismount', or otherwise 'software disconnect' this drive
before I actually remove it. But the only relevant option I can find
for the device is to disable write caching - is that what I should be
doing? I'd rather not do that as it will generally slow down
performance, but if it is the only way to guarantee data integrity,
that's what I'll do.
I've seen posts from others that indicate this is a regular practice,
so I just wondered, how do I guarantee my files have been 'flushed'
before removing the drive?
Thanks!
For email, send to chris at panties domain dot com, Remove panties and replace domain with attbi.
connectors are designed for 'hot' removal, with ground wires
connecting first, and the interface is designed to deal with the
various surge issues - this is well known.
I've used several USB 2.0 external drives, and before you remove them,
you are supposed to 'stop' them; presumably to flush any delayed
writes that may be in progress, etc.
But when I plug in a SATA drive, it does not show up as a device to be
'safely removed' in the 'Safely Remove Hardware' applet that shows up
if I plug in a USB device.
I've done some tests; when I plug in a SATA drive (a data drive,
obviously, not a boot drive), a new hard drive shows up, no problem.
I can read and write to this drive, no problem. And if I unplug it,
or power it down, the drive letter simply disappears - no error
messages or warnings whatsoever. All sounds good.
HOWEVER, I could not find a file that I had written to the drive.
This has all the markings of a write-cached file not being written to
the device. So it occurred to me that, somehow, I should be able to
'stop', or 'dismount', or otherwise 'software disconnect' this drive
before I actually remove it. But the only relevant option I can find
for the device is to disable write caching - is that what I should be
doing? I'd rather not do that as it will generally slow down
performance, but if it is the only way to guarantee data integrity,
that's what I'll do.
I've seen posts from others that indicate this is a regular practice,
so I just wondered, how do I guarantee my files have been 'flushed'
before removing the drive?
Thanks!
For email, send to chris at panties domain dot com, Remove panties and replace domain with attbi.