Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-14837

Script to report blob and repository size and space reclaimable by Compact Blobstore task

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.0
    • Fix Version/s: 3.6.2
    • Component/s: Blobstore
    • Labels:
    • Story Points:
      2

      Description

      Customers are trying to understand how NXRM is using their disk space; currently it's hard for them to ascribe the size of a blob store to particular repositories.

      This is a simpler version of NEXUS-13056.

      Acceptance

      • Admins can run a script to read the properties files of a blob store to summarize which repositories are using the blob store, and how much space each is consuming
      • Tabulate both the total size, and the size that could be reclaimed by compacting (i.e. soft-deleted blobs)

      Solution

      We have a script that iterates over all files in a single blobstore and reports the total size of all files per repository in that blobstore and the amount of disk that could be reclaimed by running a compact blobstore task on that blobstore.

      1. Visit this support page: https://support.sonatype.com/hc/en-us/articles/115009519847
      2. Follow the instructions for Listing the Size of File-based Repositories and Blobstores

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              mprescott Michael Prescott
              Last Updated By:
              Joe Tom
              Team:
              Nexus - Core
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title