Open antmoveh opened 1 year ago
about ③: maybe we can extend snapshot size at the same time?
Snapshot will affect lv performance.Fortunately, this feature is optional.
about ③: maybe we can extend snapshot size at the same time?
The snapshot does not have a capacity at the initial stage. As the volume data changes, the size of the snapshot becomes larger. At most, the size of the snapshot is the same as that of the created lvm volume
After the lvm is resized, there may be a problem in resizing snapshots at the same time, because there may not be enough physical space, which may cause trouble for snapshot recovery. If this function is placed in the feature gate, it may be acceptable not to allow expansion.
After the lvm is resized, there may be a problem in resizing snapshots at the same time, because there may not be enough physical space, which may cause trouble for snapshot recovery. If this function is placed in the feature gate, it may be acceptable not to allow expansion.
check available space before expand.
Snapshots will consume a lot of disk space over time.
快照是否可以考虑上传到S3之类的存储中,安全性更高,才能满足对磁盘依赖较高的需求,如果依赖LVM,会加深底层环境的维护复杂性。
快照是否可以考虑上传到S3之类的存储中,安全性更高,才能满足对磁盘依赖较高的需求,如果依赖LVM,会加深底层环境的维护复杂性。
这个lvm snapshot 同步到s3,这个没弄过。 你能提供一下实现思路吗?
有些快照细节设计,我想和大家讨论一下 ① 只有lvm卷支持快照 ② 快照的容量需要1:1当前的存储卷大小,当vg卷组容量不足时不允许创建快照。举个例子
vg - lvm总容量 - snap总容量 < 新快照容量
,则不允许创建,这里的snap等于lvm大小 ③ 一旦创建快照后则存储卷不允许扩容,这是因为一旦扩容后,在进行快照恢复的时候存储卷的大小将会还原暂时想到这么多,有更多的问题请在下边补充
There are some snapshot details I'd like to discuss with you ① Only lvm volumes support snapshots ② The snapshot capacity must be 1:1 of the current volume size. Snapshots cannot be created when the capacity of a vg volume group is insufficient. For example
vg - lvm total - snap total < new snap
, snap cannot be created. The value here is equal to the lvm size ③ After a snapshot is created, the storage volume cannot be expanded. This is because the capacity of the storage volume will be restored during snapshot restorationI think of so much for the moment. If you have more questions, please add them below