Smarts SAM: Receive "Error: Low Disk Space" message when using sm_migrate.pl utility
search cancel

Smarts SAM: Receive "Error: Low Disk Space" message when using sm_migrate.pl utility

book

Article ID: 304107

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:




 Receive "Error: Low Disk Space" message in Smarts Service Assurance Manager (Smarts SAM) when using sm_migrate.pl utility
After executing the following command in Smarts SAM environment, the following output is received:

C:\InCharge91\SAM\smarts\bin>sm_perl.exe sm_migrate.pl --archive=C:\InCharge91\SAM\smarts\backup.zip --new=C:\InCharge91\SAM\smarts

-----------------------------------------------------------------
Directories Entered:
        Archive File Location: <C:\InCharge91\SAM\smarts\backup.zip>
        New Install Location: <C:\InCharge91\SAM\smarts>

 Error: Required Space=127.271251678467 MB ; Available Disk Space=0 Mb

Error: Low Disk Space.



Environment

VMware Smart Assurance - SMARTS

Cause

The "Error: Low Disk Space." message will be seen when the command prompt is opened with non administrative privleges and is a result to the application not having the correct rights to extract the file.

Resolution

Run the command as administrator. To do this, before opening the command prompt in Windows, right-click and select "Run As Administrator". The command output above should then operate as normal, as in the following command and example output extract:

C:\InCharge91\SAM\smarts\bin>sm_perl.exe sm_migrate.pl --archive=C:\InCharge91\SAM\smarts\backup.zip --new=C:\InCharge91\SAM\smarts

-----------------------------------------------------------------
Directories Entered:
        Archive File Location: <C:\InCharge91\SAM\smarts\backup.zip>
        New Install Location: <C:\InCharge91\SAM\smarts>

        New Version: <9.1.0.0>
-----------------------------------------------------------------
We will attempt to backup the existing backups in
C:\InCharge91\SAM\smarts before we proceed.


We are extrating C:\InCharge91\SAM\smarts\backup.zip

Extracted C:\InCharge91\SAM\smarts\backup.zip successfully
-----------------------------------------------------------------
        Old Version: <7.2.0.26>
        Backup of old configurations will be under
        <C:\InCharge91\SAM\smarts\.local.bkp.7.2.0.26>
-----------------------------------------------------------------
Determining what files have been copied...

Writing the list of files copied to the backup directory in XML...
Gathering roll back data...

(The above output is only partial and not complete from start to finish)