CiscoWorks: running out of diskspace on solaris

Unanswered Question
Feb 28th, 2007

I'm running a ciscoworks installation on a solaris 2.8.

My problem is that /opt is running out of space. It is 100% full. I have pruned out old devices no longer in use. I have lowered the number of days that ciscoworks will keep logs. That did not help.

Under /opt/CSCOpx/ it is the directory

databases and backup that are the largest.

My questions are:

1. Can i move /opt/CSCOpx/backup to another partition?

2. Under /opt/CSCOpx/databases/rme i have the following files:

drwxr-x--- 2 casuser casusers 512 Apr 8 2005 orig

-rw------- 1 casuser casusers 1899397120 Feb 28 13:06 rme.db

-rw------- 1 casuser casusers 163840 Feb 28 13:06 rme.log

-rw------- 1 casuser casusers 463089664 Feb 24 02:57 syslog.db

Is there a way i can compress any of these files?


These are the versions

CiscoWorks Common Services with SP3 2.2

Resource Manager Essentials 3.5

Resource Manager Essentials Incremental Device Support 3.5

Campus Manager 3.3

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)

Yes, I'd suggest you create another partition , dd the files, and leave a symbolic link over to the new disk space.

You also might find that you /var/adm/CSCOpx fills up too depending on how much syslog traffic you get.

Planning for gobs of disk before you install is preferable. I run two clusters of Ciscoworks with around 5K devices in each.

David Stanford Wed, 02/28/2007 - 07:11

Like Andy says its a good idea to add more disk space. If you run out of space it can severely impact the application and its databases. So much, that you may have to reinstall.

rskjelsvik Wed, 02/28/2007 - 07:22

Thank you for your replies!

Adding disks is a long term solution. I inherited this installation and it seems to me that the best solution is to reinstall both the OS and cw2k. Unfortunately the other partitions are quite full.

What i was looking for was a shot term solution which could save the day. What i did was to move two compressed files to another partition. The files i moved was:



Those two was almost 1 Gb of data.

I really appreciate your suggestions and would still like to hear from you if there are other smart ways of reducing the the disk space cw2k uses.

Thank you!

David Stanford Wed, 02/28/2007 - 07:24

What is the total space available in /opt? Any other applications installed there?

rskjelsvik Wed, 02/28/2007 - 07:26

Right now, after moving the files i mentioned:

rskjels# df -k

Filesystem kbytes used avail capacity Mounted on

/dev/md/dsk/d0 5642478 2250318 3335736 41% /

/proc 0 0 0 0% /proc

fd 0 0 0 0% /dev/fd

mnttab 0 0 0 0% /etc/mnttab

/dev/md/dsk/d2 20160418 10845316 9113498 55% /var

swap 5218616 24 5218592 1% /var/run

swap 5219768 1176 5218592 1% /tmp

/dev/md/dsk/d3 5040814 4113540 876866 83% /opt

but before moving the files:

# df -k

Filesystem kbytes used avail capacity Mounted on

/dev/md/dsk/d0 5642478 2250314 3335740 41% /

/proc 0 0 0 0% /proc

fd 0 0 0 0% /dev/fd

mnttab 0 0 0 0% /etc/mnttab

/dev/md/dsk/d2 20160418 9968626 9990188 50% /var

swap 5220048 24 5220024 1% /var/run

swap 5221200 1176 5220024 1% /tmp

/dev/md/dsk/d3 5040814 4990196 210 100% /opt

The following directories are in /opt

CSCOpx SUNWconn SUNWexplo SUNWits SUNWrtvc hbaapi lost+found sun

kyawzawhtut Thu, 03/01/2007 - 19:02

Just to point out what others missing. You may try to clear the logs which can grow till your HDD full.

LMS has this utility called which stand for log rotation. Not sure how to use in Solaris though as my domain knowledge is Window$. You can check it out and try to clear your logs which can save your days.

HTH. Cheers!


This Discussion