MrHans
Dabbler
- Joined
- May 12, 2019
- Messages
- 12
Hello,
I have a single-disk vdev that is continuously being read from/written to and the disk would need to be replaced with a larger one, preferably without stopping a "critical service" accessing the disk. Can the a disk replacement be done while a critical service is constantly accessing the disk or would it need to be stopped?
This is running on FreeNAS 11.2 U8. (Ok, it is not really a critical application, but I would much prefer not to turn it off. )
Assuming I do not want to stop the application using the disk:
1. Can I proceed with a replace disk operation on a "live", single-disk vdev?
2. Would it be better to turn the single-disk vdev first to a 2-way mirror with the larger drive and then remove the old, smaller drive, thereby returning to a single-disk vdev?
I might be overthinking this and a simple replace will do exactly what I need.
I have a single-disk vdev that is continuously being read from/written to and the disk would need to be replaced with a larger one, preferably without stopping a "critical service" accessing the disk. Can the a disk replacement be done while a critical service is constantly accessing the disk or would it need to be stopped?
This is running on FreeNAS 11.2 U8. (Ok, it is not really a critical application, but I would much prefer not to turn it off. )
Assuming I do not want to stop the application using the disk:
1. Can I proceed with a replace disk operation on a "live", single-disk vdev?
- What happens during the replace operation when the (single) source disk is continuously being read from/written to?
- Would the replace operation only finish and offline the old disk and online the new disk once it was certain that all data (data that has changed since the start of the replace operation) was successfully synced?
- Or would it merely copy the state of the disk as it was when the replace started and thereby miss data that was changed?
2. Would it be better to turn the single-disk vdev first to a 2-way mirror with the larger drive and then remove the old, smaller drive, thereby returning to a single-disk vdev?
I might be overthinking this and a simple replace will do exactly what I need.