nanovms / ops

ops - build and run nanos unikernels
https://ops.city
MIT License
1.27k stars 132 forks source link

onprem(volumes): ops volume info - get label/uuid from raw file #1565

Closed rinor closed 9 months ago

rinor commented 9 months ago

Usage: ops volume info [flags]

---
Examples:

- `ops volume info /tmp/snapshot-a1db-01.raw`
```sh
service-a1-db-v:b519fe87-0a33-500a-a33b-ee006bf6f4cb

Useful mostly when exporting volumes from the cloud, and on the export flow naming gets lost/changed, to mount locally for debug. There are other ways to archive the same, but require some more work.