<div dir="ltr">Checking in if anyone has thoughts on this? <div>Thanks,</div><div>KiranK</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 7, 2015 at 8:53 AM, Silver Sky Soft Services, Inc. <span dir="ltr"><<a href="mailto:contactus@silverskysoft.com" target="_blank">contactus@silverskysoft.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div>I'm trying to create a snapshot on a specific disk by using diskspec option. However, libvirt/virsh seems to ignore it and takes a snapshot of all disks. Am I using this option incorrectly?</div><div><br></div><div><div>In below examples, I'm trying to snapshot only vdb. However even vda is getting snapshotted regardless of diskspec. Is this a known issue?</div><div><br></div><div>I'm on CentOS 7.1, libvirtd (libvirt) 1.2.8, virsh 1.2.8</div><div><br></div><div>[root@localhost scripts]# virsh domblklist centos_nfs </div><div>Target     Source</div><div>------------------------------------------------</div><div>vda        /var/lib/libvirt/images/centos_nfs.SNAP_2015-08-07-081800</div><div>vdb        /var/lib/libvirt/images/centos_nfs_storage.SNAP_2015-08-07-081800</div><div>hdc        -</div><div> </div><div>[root@localhost scripts]# virsh snapshot-create-as --domain centos_nfs --name SNAP_2015-08-07-090909 --no-metadata --disk-only --atomic --diskspec vdb,snapshot=external</div><div>Domain snapshot SNAP_2015-08-07-090909 created</div><div><br></div><div>[root@localhost scripts]# virsh domblklist centos_nfs</div><div>Target     Source</div><div>------------------------------------------------</div><div>vda        /var/lib/libvirt/images/centos_nfs.SNAP_2015-08-07-090909</div><div>vdb        /var/lib/libvirt/images/centos_nfs_storage.SNAP_2015-08-07-090909</div><div>hdc        -</div><div><br></div><div><br></div><div>[root@localhost scripts]# virsh snapshot-create-as --domain centos_nfs --name SNAP_2015-08-07-101010 --no-metadata --disk-only --atomic --diskspec vdb,snapshot=external,file=/var/lib/libvirt/images/centos_nfs_storage.SNAP_2015-08-07-101010 </div><div>Domain snapshot SNAP_2015-08-07-101010 created</div><div><br></div><div>[root@localhost scripts]# virsh domblklist centos_nfs </div><div>Target     Source</div><div>------------------------------------------------</div><div>vda        /var/lib/libvirt/images/centos_nfs.SNAP_2015-08-07-101010</div><div>vdb        /var/lib/libvirt/images/centos_nfs_storage.SNAP_2015-08-07-101010</div><div>hdc        -</div></div><div><br></div><div>Thanks,</div><div>KiranK</div></div>
</blockquote></div><br></div>