awslabs / flexible-snapshot-proxy

High-performance open-source orchestration utility that utilizes EBS Direct APIs to efficiently clone, copy and migrate EBS snapshots to and from arbitrary File, Block or Object destinations.
Apache License 2.0
30 stars 2 forks source link

deltadownload results in OSError: [Errno 9] Bad file descriptor #7

Open rducic opened 2 years ago

rducic commented 2 years ago

I have 2 snapshots from same parent, an initial and a diff

Original Snapshot ID [snap-01e5f2fee19e08fae] Size 500 GiB Progress Available (100%) Snapshot status Completed Owner 387198252553 Volume ID [vol-0b4c2a2591f78c536] Started Wed Aug 31 2022 11:42:19 GMT-0500 (Central Daylight Time)

2nd snapshot Snapshot ID [snap-01b3747942520453a] Size 500 GiB Progress Available (100%) Snapshot status Completed Owner 387198252553 Volume ID [vol-0b4c2a2591f78c536]

When I do a diff I get C:\flexible-snapshot-proxy\src/main.py diff snap-01e5f2fee19e08fae snap-0095db1e0578136bc Changes between snap-01e5f2fee19e08fae and snap-0095db1e0578136bc contain 8 chunks and 4194304 bytes, took 0.15 seconds.

however DeltaDownload throws an error:

PS C:\flexible-snapshot-proxy\src/main.py deltadownload snap-01e5f2fee19e08fae snap-01b3747942520453a \.\PhysicalDrive2 Changes between snap-01e5f2fee19e08fae and snap-01b3747942520453a contain 8 chunks and 4194304 bytes, took 0.16 seconds. ['\\.\PhysicalDrive2'] C:\flexible-snapshot-proxy\src/main.py : Traceback (most recent call last): At line:1 char:1