Jump to content

Jack Cornils

Legacy Group
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Jack Cornils

  1. Since this thread still appears in Google searches about getting the SR usage in command line, I'll update just add this:

     

    There's more fields in "xe sr-list" than just what you see with no parameters. If you append "params=all", it'll have a lot more, in addition virtual-allocation, physical-utilisation and physical-size.

     

    Example of that:

     

    # xe sr-list params=all
    
    uuid ( RO)                    : 123456789-1234-1234-1234-1234567890
                  name-label ( RW): Local ISO
            name-description ( RW): 
                        host ( RO): demohost1
          allowed-operations (SRO): unplug; plug; PBD.create; PBD.destroy; VDI.clone; scan; VDI.create; VDI.destroy
          current-operations (SRO): 
                        VDIs (SRO): 123456789-1234-1234-1234-1234567890; 123456789-1234-1234-1234-1234567890
                        PBDs (SRO): 123456789-1234-1234-1234-1234567890
          virtual-allocation ( RO): 1082130432
        physical-utilisation ( RO): 2886258688
               physical-size ( RO): 18889830400
                        type ( RO): iso
                content-type ( RO): iso
                      shared ( RW): false
               introduced-by ( RO): <not in database>
                 is-tools-sr ( RO): false
                other-config (MRW): 
                   sm-config (MRO): 
                       blobs ( RO): 
         local-cache-enabled ( RO): false
                        tags (SRW): 
                   clustered ( RO): false

     

×
×
  • Create New...