slavkap commented on issue #6836:
URL: https://github.com/apache/cloudstack/issues/6836#issuecomment-1285873500
hi @GutoVeronezi, here're my results on the manual copy with the `pv` command
```
[root@lab-cs-dev-a2-block 434b557d-e974-3b78-b593-d813b5279b7a]# pv
b7d586ce-ef58-4e0c-963b-b26e4ead3756 > snapshots/testtransfer
10,1GiB 0:03:04 [55,7MiB/s]
[===================================================================================================================================================================>]
100%
```
and manual snapshot with CS
>
> 2022-10-20 18:54:42,136 DEBUG [kvm.storage.KVMStorageProcessor]
(agentRequest-Handler-3:null) (logid:b46b35b9) Pool
[{"uuid":"434b557d-e974-3b78-b593-d813b5279b7a","localPath":"\/mnt\/434b557d-e974-3b78-b593-d813b5279b7a"}]
has enough available size [47788851200] to take volume
[{"name":"b7d586ce-ef58-4e0c-963b-b26e4ead3756","path":"\/mnt\/434b557d-e974-3b78-b593-d813b5279b7a\/b7d586ce-ef58-4e0c-963b-b26e4ead3756","size":10795139072}]
snapshot.
> 2022-10-20 18:54:42,263 DEBUG [kvm.storage.KVMStorageProcessor]
(agentRequest-Handler-3:null) (logid:b46b35b9) Snapshot
[e6d9d9eb-48ee-4167-aaa6-74b402a8baa3] took [0] seconds to finish.
> 2022-10-20 19:16:06,750 DEBUG [kvm.storage.KVMStorageProcessor]
(agentRequest-Handler-3:null) (logid:b46b35b9) Copied
volumeTO[uuid=b7d586ce-ef58-4e0c-963b-b26e4ead3756|path=b7d586ce-ef58-4e0c-963b-b26e4ead3756|datastore=PrimaryDataStoreTO[uuid=434b557d-e974-3b78-b593-d813b5279b7a|name=nfs|id=7|pooltype=NetworkFilesystem]]
snapshot from
[/mnt/434b557d-e974-3b78-b593-d813b5279b7a/b7d586ce-ef58-4e0c-963b-b26e4ead3756]
to
[/mnt/434b557d-e974-3b78-b593-d813b5279b7a/snapshots/e6d9d9eb-48ee-4167-aaa6-74b402a8baa3].
in my case, the Files.copy() invokes [sun.nio.fs.UnixCopyFile.transfer(int,
int,
long)](https://github.com/AdoptOpenJDK/openjdk-jdk11/blob/master/src/java.base/unix/native/libnio/fs/UnixCopyFile.c#L53)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]