Skip to contentSkip to conversation

LVM send/receive support?

linux-lvm Gionatan Danti 2 participants 4 messages Jun 5, 2017

lore
Share & tools
lore
#0 lore raw

Hi all,
I wonder if using LVM snapshots (even better: lvmthin snapshots, which are way faster) we can wire something like zfs or btrfs send/receive support.

In short: take a snapshot, do a full sync, take another snapshot and sync only the changed blocks.

I know that exists an utility called lvmsync[1], but it seem not maintained anymore. Any suggestion on how to do something similar?

Thanks.

[1] https://github.com/mpalmer/lvmsync

Signature · 5 lines
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: [email protected] - [email protected]
GPG public key ID: FF5F32A8
#1 lore raw

Dne 5.6.2017 v 10:11 Gionatan Danti napsal(a):

Quoted 6 lines

Hi all,
I wonder if using LVM snapshots (even better: lvmthin snapshots, which are way faster) we can wire something like zfs or btrfs send/receive support.

In short: take a snapshot, do a full sync, take another snapshot and sync only the changed blocks.

I know that exists an utility called lvmsync[1], but it seem not maintained anymore. Any suggestion on how to do something similar?

Hi

Unfortunately there is not yet direct lvm2 support - but you can do it manually via thin-pool and it support tools.

Look at the tool 'thin_delta' which you can use exactly for the purpose you describe.

Regards

Zdenek

#2 lore raw

Hi Zdenek,
thanks for pointing me to thin_delta - very useful utility. Maybe I can code around it...

As an additional question, is direct lvm2 support for send/receive planned, or not?

Thanks.

Quoted 19 lines · Zdenek Kabelac

Dne 5.6.2017 v 10:11 Gionatan Danti napsal(a):

Quoted 6 lines

Hi all,
I wonder if using LVM snapshots (even better: lvmthin snapshots, which are way faster) we can wire something like zfs or btrfs send/receive support.

In short: take a snapshot, do a full sync, take another snapshot and sync only the changed blocks.

I know that exists an utility called lvmsync[1], but it seem not maintained anymore. Any suggestion on how to do something similar?

Hi

Unfortunately there is not yet direct lvm2 support - but you can do it manually via thin-pool and it support tools.

Look at the tool 'thin_delta' which you can use exactly for the purpose you describe.

Regards

Zdenek

Signature · 5 lines
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: [email protected] - [email protected]
GPG public key ID: FF5F32A8
#3 lore raw

Dne 5.6.2017 v 10:48 Gionatan Danti napsal(a):

Quoted 4 lines

Hi Zdenek,
thanks for pointing me to thin_delta - very useful utility. Maybe I can code around it...

As an additional question, is direct lvm2 support for send/receive planned, or not?

Hi

It will certainly happen - just not sure in which year... ATM higher prio tasks are on the table.

Regards

Zdenek