So just trying to get a list of attached disks on a virtual machine.
So for containers i used a basic grep the container for the item "rootfs:" then used that with pvesm path (now thinking about it containers can have more than one attached storage)
But for qemu virtuals, they could have IDE drives (including CD Drives), SATA, SCSI and Virtio Block, so was wondering if any one had a quick way to get a list of attached storage, so i pipe it to ZFS for a snapshot, to then use that as a backup.
So for containers i used a basic grep the container for the item "rootfs:" then used that with pvesm path (now thinking about it containers can have more than one attached storage)
But for qemu virtuals, they could have IDE drives (including CD Drives), SATA, SCSI and Virtio Block, so was wondering if any one had a quick way to get a list of attached storage, so i pipe it to ZFS for a snapshot, to then use that as a backup.