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查询Snapshot CoW的使用情况并根据需要扩展这个lv。
Once the copy process finishes and the Snapshot is no longer needed, simply unmount and scrap it using lvremove.
复制过程完成之后,就不需要快照了,这时只需用lvremove卸载并销毁它。
For example, running a file system copy while the database is running won't give you a snapshot for your database for a particular point in time (PIT).
例如,如果数据库在运行,那么执行文件系统复制操作时将得不到即时点(point in time, PIT)上数据库的快照。
应用推荐