lvmteam / lvm2

Mirror of upstream LVM2 repository
https://gitlab.com/lvmteam/lvm2
GNU General Public License v2.0
134 stars 72 forks source link

striped lv #127

Closed jiangwenkkkk closed 1 year ago

jiangwenkkkk commented 1 year ago

Hello, I have backed up data to QEMU with disk, and I encountered a problem when doing LVM striped backup. I built a filesystem in a striped LVM. I only want to get the end of the data stored by this file system in each disk, and I don't want to back up all the data. I looked at the source code, the ability is limited, can not come up with a solution, can you help me

zkabelac commented 1 year ago

Really not sure what kind of help is expected here. If you LV is striped and spread over multiple disks - then according to stripe size the blocks are placed on those disks. So you should 'activate' LV (make it online) and mount your filesystem and take your backup. What kind of other help is expected here ? Do you want to calculated blocks of stripes yourself and then also manage filesystem metadata ?

This really doesn't look like and issue for lvm2 but rather some forum discussion.

zkabelac commented 1 year ago

Closing as it's really not an issue of an lvm2.