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

DB migrator NotEnoughDiskSpaceException does not mention which location

    Details

      Description

      SYMPTOM:

      DB migrator failed with below error, but the sonatype-work/nexus3/db had more than 10GB free space.

      14:13:44 [main] INFO  c.s.n.d.m.l.ProvidingJobInfoListener - Detailed message: com.sonatype.nexus.db.migrator.exception.NotEnoughDiskSpaceException: Not enough disk space available. 10 Gigabytes of free disk space is required for the correct migration.
      

      EXPECTED BEHAVIOUR:

      The migrator checks the "db" and tmp location (java.io.tmpdir), so if the tmp doesn't have enough space, it would be nice if the error message mentions the location.

      Also please update the document with this requirement.
      https://help.sonatype.com/repomanager3/new-database-options/migrating-to-a-new-database

      The migrator utility requires three times the disk space as your $data-dir/db directory.

      Above should at least mention about the temp location.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vhashock Vitalii Hashock
              Reporter:
              hosako Hajime Osako
              Last Updated By:
              Peter Lynch Peter Lynch
              Team:
              NXRM - Sentinels
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title