Re: [pve-devel] [PATCH storage 4/6] rbd plugin: implement volume import/export

2024-12-17 Thread Fiona Ebner
Am 13.12.24 um 17:34 schrieb Fiona Ebner: > Am 13.12.24 um 17:30 schrieb Fiona Ebner: >> +run_command(['dd', "if=$file", "bs=64k", "status=progress"], output => >> '>&'.fileno($fh)); > > ---snip--- > >> +run_command(['dd', "of=$file", 'bs=64k'], input => '<&'.fileno($fh)); > > > Forgot

Re: [pve-devel] [PATCH storage 4/6] rbd plugin: implement volume import/export

2024-12-13 Thread Fiona Ebner
Am 13.12.24 um 17:30 schrieb Fiona Ebner: > + run_command(['dd', "if=$file", "bs=64k", "status=progress"], output => > '>&'.fileno($fh)); ---snip--- > + run_command(['dd', "of=$file", 'bs=64k'], input => '<&'.fileno($fh)); Forgot to mention, I did not test with different block sizes ye

[pve-devel] [PATCH storage 4/6] rbd plugin: implement volume import/export

2024-12-13 Thread Fiona Ebner
For now, only 'raw+size' is supported and it's not possible to export/import with snapshots. The volume or snapshot is mapped using krbd and then the data is read via 'dd'. Introducing an 'rbd' transport format might be feasible for more complete (i.e. with snapshots, incremental) transfer between