Steps to copy data from a volume storage
Summary
The customers cannot copy data from a volume storage because the machine is unavailable, and the volume clone is not working. Billing continues.
Solutions
- Download the latest Vast CLI from GitHub
wget https://raw.githubusercontent.com/vast-ai/vast-python/master/vast.py -O vast; chmod +x vast;Note: It is recommended to refrain from using the pip install vastaiVast command, as it does not correspond to the latest version and may not function correctly with the volume copy feature.
- Search for an available machine using the CLI command
search offers
Example:
./vast search offers "gpu_name=RTX_3060 num_gpus=1 rentable=true"
ID CUDA N Model PCIE cpu_ghz vCPUs RAM Disk $/hr DLP DLP/$ score NV Driver Net_up Net_down R Max_Days mach_id status host_id ports country
29372442 12.4 1x RTX_3060 11.8 3.3 24.0 96.4 1232 0.0494 12.3 248.27 177.7 550.107.02 755.7 876.7 99.8 14.3 31810 verified 95374 997 Vietnam,_VN
24534997 12.8 1x RTX_3060 5.5 3.3 9.3 10.7 227 0.0414 12.5 301.16 157.8 570.158.01 270.0 661.1 99.6 0.4 31444 verified 154155 16 South_Korea,_KR
Note: It is essential to search for an available machine to ensure that the new volume we are about to create below can be successfully mounted to an accessible instance.
- Search for an available volume storage using the CLI command
vastai search volumes
Example:
./vast search volumes "disk_space>=20 machine_id=31810"
ID CUDA cpu_ghz Disk B/W Disk Disk Name $/Gb/Month NV Driver Net_up Net_down R Max_Days mach_id status host_id country
29372443 12.4 3.3 1239.7 616 nvme 0.20 550.107.02 755.7 876.7 99.8 14.3 31810 verified 95374 Vietnam,_VN
- Create a new volume using
create volume
Example:
./vast create volume 29372443Note: It is necessary to create a volume that is not mounted to any instances first; otherwise, the copy command may not function properly.
- Copy data from the old volume to the new one using
copy
Example:
./vast copy V.34167645:/ V.29372443:/
copying V.34167645:/ V.29372443:/
Remote to Remote copy initiated - check instance status bar for progress updates (~30 seconds delayed).
- After the data has been successfully copied to the new volume, the new volume can be mounted to a new instance.
Updated on: 05/04/2026
