HI, all: I am doing an inventory of all vhd files on my primary storage device. I have only eight active VM instances, but I have 43 vhd files on file system. Running cmd “xe vdi-list” on XenServer provides infor on all vhd files. From the output, I can tell that “name-label” field generally matches the disk names shown in CS web UI for active volumes, or for templates copied over to primary storage. However, there are a number of vdi’s whose “name-label” field is either blank or “base copy”, as shown below:
# xe vdi-list uuid ( RO) : 1e2b3e3d-514c-4c99-bf55-d32b60d8eefe name-label ( RW): base copy name-description ( RW): sr-uuid ( RO): b3f5cc51-a68b-842e-e5a5-4ffb042eaade virtual-size ( RO): 21474836480 sharable ( RO): false read-only ( RO): true uuid ( RO) : b7470f8a-f014-49b0-8263-65ffe348446c name-label ( RW): name-description ( RW): sr-uuid ( RO): b3f5cc51-a68b-842e-e5a5-4ffb042eaade virtual-size ( RO): 21474836480 sharable ( RO): false read-only ( RO): false uuid ( RO) : 4c3b92df-3cda-4bf0-97c3-9d88818e855a name-label ( RW): ROOT-26 name-description ( RW): sr-uuid ( RO): b3f5cc51-a68b-842e-e5a5-4ffb042eaade virtual-size ( RO): 2621440000 sharable ( RO): false read-only ( RO): false uuid ( RO) : 2a4992e4-fb97-41d3-95ed-3bf188ace7c1 name-label ( RW): Template 8206c6e7-1b7f-4365-bdf2-020a47318c3e name-description ( RW): sr-uuid ( RO): b3f5cc51-a68b-842e-e5a5-4ffb042eaade virtual-size ( RO): 21474836480 sharable ( RO): false read-only ( RO): false (more output) My questions are: 1) what are those VDI’s whose “name-label” is blank, can I safely delete them from file system ? And 2) what are those “base copy” VDI’s, how do I find out which VM / templates they belong to ? Thanks, Yiping