Management
Reply
Trusted Contributor
Luca
Posts: 325
Registered: ‎06-11-2009
0

Upgrade to 2010 - disk space issue

Hi,

I'm trying to upgrade my NSMExpress box from 2008 to 2010.  When it runs throught the preinstall checks it fails on the disk space;

 

Checking if installed HA Server is newer....................ok
Checking if system meets RAM requirement....................ok
Checking for sufficient disk space..........................FAILED
ERROR: Need 10422MB more space on partition: /var for the following directories:  /var/netscreen/installerbackup
Specify a directory with adequate
disk space using -niSTAGINGDIR=directory.
Eg: nsm2010.1_servers_linux_x86.sh -niSTAGINGDIR=/var
See nsm2010.1_servers_linux_x86.sh -h for all command-line options.

 

So it wants another 10GB in the /var directory, hwich has about 3.5GB spare at the moment

 

[root@NSMXpress admin]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             4.9G  2.7G  2.0G  59% /
none                  2.0G     0  2.0G   0% /dev/shm
/dev/sda9             3.9G  109M  3.6G   3% /tmp
/dev/sda7              20G  4.9G   14G  27% /usr
/dev/sda6              82G   74G  3.5G  96% /var
/dev/sda3              49G  488M   46G   2% /var/cores
/dev/sdb2             225G  134G   79G  63% /var/netscreen/DevSvr
/dev/sda5              49G  712M   45G   2% /var/netscreen/DevSvr/profiler_data
/dev/sda8              20G   11G  7.9G  58% /var/netscreen/GuiSvr

 

I dont know what files i can remove to create the required disk space.  I have also tried specifying another directory, with the -niSTAGINGDIR command as follows;

 

 sh upgrade-os.sh nsm2010.1_servers_linux_x86.sh -niSTAGINGDIR=/usr Offline

 

But i get the same error....Any suggestions???

 

thanks

Trusted Contributor
Saurabh
Posts: 171
Registered: ‎09-08-2009
0

Re: Upgrade to 2010 - disk space issue

[ Edited ]

Dude you have 96% utilized in /var partition so remove some unwanted files from /var.

 

and than try you should have atleast 30% free space to install.

 

Thanks

Saurabh Joshi
--------------------------------------------------------------------------------------------------
CCNA,CCIP/JNCIA-EX,ER/JNCIS-ER,SEC,M/JNCIP-M
Trusted Contributor
Luca
Posts: 325
Registered: ‎06-11-2009
0

Re: Upgrade to 2010 - disk space issue

Yea i know that just not sure what is safe to delete from /var

 

 

its fixed now anyway

Visitor
prowl
Posts: 2
Registered: ‎05-05-2010
0

Re: Upgrade to 2010 - disk space issue

What did you do to correct this?

 

Have same issue here.

 

Thanks,

Trusted Contributor
Luca
Posts: 325
Registered: ‎06-11-2009

Re: Upgrade to 2010 - disk space issue

We had our database backups set to keep 8 days work of backups.  There were about 5GB each so this was taking up lots of space.

 

We deleted a bunch of backups from /var/Netscreen/dbbackup

then set NSM to keep only 3 says of backups/

Visitor
prowl
Posts: 2
Registered: ‎05-05-2010
0

Re: Upgrade to 2010 - disk space issue

Thanks,

 

I actually had 7 and just deleted two of them. Our backups were 11G each.

Doing the same and dropping the number of backups down.

Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.