During the transformation, call back methods are set and can be invoked during the copy process.
在转换的过程中,回调方法被设置,并在复制过程中被调用。
Once the copy process finishes and the Snapshot is no longer needed, simply unmount and scrap it using lvremove.
复制过程完成之后,就不需要快照了,这时只需用lvremove卸载并销毁它。
Using the approach in Listing 1, the script exits if there is any error in the copy process, thus not allowing the script to carry on processing if there is an error.
在使用清单1中的方法时,如果复制过程发生任何错误,那么脚本将退出,以阻止脚本在出现错误后继续执行。
In special cases where the cycle can't be estimated or copy process times are long, a script could query the Snapshot CoW usage with lvdisplay and extend the lv on demand.
在某些特殊情况下,无法估计备份周期或者复制过程很长,那么脚本可以用lvdisplay查询SnapshotCoW的使用情况并根据需要扩展这个lv。
In special cases where the cycle can't be estimated or copy process times are long, a script could query the Snapshot CoW usage with lvdisplay and extend the lv on demand.
在某些特殊情况下,无法估计备份周期或者复制过程很长,那么脚本可以用lvdisplay查询SnapshotCoW的使用情况并根据需要扩展这个lv。
应用推荐