2 Replies Latest reply on Jun 8, 2020 5:50 AM by Bsodd

    Storage Extensions Pending

    Bsodd Lurker

      Hi,

       

      I am looking to see if there is a script which can find datastores which have pending datastore capacity needing to be added for a report.

       

      See attached screenshot, I would like to see if I can find any/all datastores with storage which needs to be extended.

       

      vCenter version is 6.5 appliance. I tried RVTools but it doesn't have that information built into its reports.

       

      Any help appreciated.

      Thanks

      2020-06-05 16_15_51-Snipping Tool.png

       

       

       

       

        • 1. Re: Storage Extensions Pending
          daphnissov Guru
          Community WarriorsvExpert

          Not sure what you mean by "pending datastore capacity" in this context. If you're asking about free space on the same extent, no I don't think that's exposed anywhere. It's of very limited use anyhow as that tends to only be for host-local block devices anyhow, which should really be avoided if at all possible.

          • 2. Re: Storage Extensions Pending
            Bsodd Lurker

            "Not sure what you mean by "pending datastore capacity" in this context."  - Sorry if it wasn't clear, hopefully the below clears it up

             

            As per the screenshot, If I add storage to an exported VLUN on my SAN (say 512gb), then rescan the storage in vCenter, the VLUN as it shows up in vCenter (as a datastore) will show that there is 512gb available storage which can be added to (or used to expand) the datastore. Note that the VV is exported to a cluster and not a single host.

             

            Is there any such script which which can scan all datastores in vCenter and check and see if there are any expansions pending, something similar to the table below:

             

            Datastore NameCurrently AvailableActual
            HP7400_Datastore12560gb3072gb

             

            I know I could go eyeball between my SAN and available datastores in vCenter but I was wondering if there is an easier way to do this.

             

            Thanks