cancel
Showing results for 
Search instead for 
Did you mean: 

Clean up of /inst/client/.packages directory??

elanmbx
Level 6

Doing a bit of housecleaning prior to upgrades... and I notice my master appliance (2.6.0.4) is probably a bit too full in the /inst filesystem to attempt an upgrade.  I look into it and see quite a few old client directories:

<master>:/inst/client/.packages # du -sk * | sort -n
978212  NetBackup_7.6.0.1_LinuxS_x86_64
1551296 NetBackup_7.6.0.1_Win
3481176 NetBackup_7.6.0.2_CLIENTS
3515036 NetBackup_7.6.0.4_CLIENTS
4053288 for_download
4530424 NetBackup_7.6.0.1_CLIENTS
10066360        from_dvd

Seems like I could get rid of a bunch of this... but was wondering if the clish provided a built-in method to do this already...

1 ACCEPTED SOLUTION

Accepted Solutions

elanmbx
Level 6

I backed up the /inst directory and removed all the old crap. :)

View solution in original post

6 REPLIES 6

sdo
Moderator
Moderator
Partner    VIP    Certified

See the Software > Uninstall and Delete options:

NetBackup 52X0 Appliance CLISH Quick Reference Card​

http://www.veritas.com/docs/000021706

...which should be able to delete some of the folders that you have listed above, after that then remove the non-standard ones manually yourself.

sdo
Moderator
Moderator
Partner    VIP    Certified

Appliance documentation is here:

https://www.veritas.com/support/en_US/article.DOC2792

.

The CLIsh command ref for v2.6.0.4 is here:

Symantec NetBackup 52xx Appliance Command Reference Guide – Release 2.6.0.4​

http://www.veritas.com/docs/000004280

...see page 105.

elanmbx
Level 6

Sorry - I should have been more clear about what I'd done - there are no updates to delete to speak of - I'd checked that earlier.  

<master>.Software> List Downloaded 
Software updates downloaded:
Patch_Name                                Size  Release_Date      NBU_Version   
SYMC_NBAPP_update-2.6.1.2-2.x86_64.rpm
                                          3.6G  Thu Jul 09 2015   7.6.1.2       
SYMC_NBAPP_EEB_ET3487431-2.6.0.2-4.x86_64.rpm
                                          4.4M  Fri Aug 08 2014                 
SYMC_NBAPP_EEB_ET3716427-2.6.0.4-1.x86_64.rpm
                                          19M   Fri Jan 30 2015                 
SYMC_NBAPP_EEB_ET3570768-2.6.0.2-1.x86_64.rpm
                                          61K   Mon Aug 18 2014                 
SYMC_NBAPP_EEB_ET3631602-2.6.0.1-6.x86_64.rpm
                                          938K  Mon Oct 06 2014        

Was hoping for some appliance-specific expertise on removing those directories.  To be honest, I'm not even sure how they got there.  Seems an odd location to install system software.  I can see the links in /usr/openv/netbackup/client/ (below).  It really smells like I could just delete the older client directories - I'm just wondering why they weren't cleaned up at some point automatically?  I think maybe I'll just play whack-a-mole and nuke 'em.

<master>:/usr/openv/netbackup/client # ll
total 48
drwxr-xr-x 3 root bin  4096 May 15  2014 HP-UX-IA64
lrwxrwxrwx 1 root root   10 Jun 17  2014 HP9000-700 -> HP9000-800
drwxr-xr-x 3 root bin  4096 Jun 17  2014 HP9000-800
drwxr-xr-x 3 root bin  4096 May 15  2014 INTEL
lrwxrwxrwx 1 root root  103 Feb  2  2015 Linux -> /inst/client/.packages/NetBackup_7.6.0.4_CLIENTS/NBClients/anb/Clients/usr/openv/netbackup/client/Linux
drwxr-xr-x 3 root bin  4096 May 15  2014 MACINTOSH
drwxr-xr-x 3 root bin  4096 May 15  2014 NDMP
drwxr-xr-x 3 root bin  4096 May 15  2014 Novell
drwxr-xr-x 5 root bin  4096 May 15  2014 OpenVMS
lrwxrwxrwx 1 root root  104 Feb  2  2015 RS6000 -> /inst/client/.packages/NetBackup_7.6.0.4_CLIENTS/NBClients/anb/Clients/usr/openv/netbackup/client/RS6000
lrwxrwxrwx 1 root root  105 Feb  2  2015 Solaris -> /inst/client/.packages/NetBackup_7.6.0.4_CLIENTS/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris
drwxr-xr-x 8 root bin  4096 May 15  2014 Windows-x64
drwxr-xr-x 8 root bin  4096 May 15  2014 Windows-x86

elanmbx
Level 6

I backed up the /inst directory and removed all the old crap. :)

sdo
Moderator
Moderator
Partner    VIP    Certified

How did you remove it?  via CLIsh or root CLI or both?

elanmbx
Level 6

I removed all the old files with an elevated shell.

WARNING: DO NOT REMOVE /inst/client/.packages/from_dvd UNLESS YOU DO NOT WANT YOUR UPGRADE TO WORK.

Don't ask me how I know this...

frown