|
|
|
|
|
by londons_explore
1553 days ago
|
|
I don't think Linux can do this... When hardware is powercycled, that would be a disconnect event followed by a connect event. There is no way to be sure it's the same drive connected, or that it will connect again at all. And on the disconnect event, all the datastructures associated with the device get discarded, so all file handles are invalid and nothings gonna work again... |
|
If the power cycle is controlled, then the kernel can be reasonably sure that the re-appearing device is the same one. File handles wouldn't really be affected as long as the mounted filesystem can resume IO after the device reappears.
Most likely you'd still want to use a RAID scheme and/or data checksumming as an extra layer to ensure data integrity though.