Jim Paris wrote:
Tejun Heo wrote:
Richard Scobie wrote:
Can I unmount the connected and mounted array and just unplug the array
with no further concern?
The machine will survive and detach the device correctly but
yet-unwritten data will be lost.
He said he'll unmount it first, so presumably that should avoid most
data loss?
Ah... missed that line.
I suppose if you're in the middle of a RAID resync, or
just ran fdisk or fsck or similar, you could still have unflushed
data. Does that mean that hot-unplug is not recommended, and one
should always do warm-unplug instead?
If you have unmounted and none of fdisk/fsck/RAID resync or anything
similar is running (which is true most of the time), hot unplugging is
just fine.
--
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