[SLE] Problems with Smart
Smart has filled up my /var system and /opt which is including in same system. It is 2.1Gb but doing an update/upgrade it filled to 100 percent. What can I safely delete out of /var is my first question and second is am I doing something wrong in just updating/upgrading the whole caboodle. How big should I make /var in future so that I dont run into this problem again. Thanks ------------------- Ron Wilson Men of ill judgment oft ignore the good that lies within their hands, till they have lost it. Sophocles (495 BC - 406 BC), Ajax -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Saturday 15 July 2006 07:19, Ron Wilson wrote:
Smart has filled up my /var system and /opt which is including in same system. It is 2.1Gb but doing an update/upgrade it filled to 100 percent. What can I safely delete out of /var is my first question and second is am I doing something wrong in just updating/upgrading the whole caboodle. How big should I make /var in future so that I dont run into this problem again. Thanks
Check the size of the /var/lib/smart/packages folder. Unless you have a particular reason for keeping the files in here (i.e. sharing to other machines) Then once they are installed, you can delete them. The easiest way is with: # smart clean You may have set # smart config --set remove-packages=false at some point, which will stop smart deleting the files, so they'll just stack up in there. If you don't need them just do: # smart config --set remove-packages=true -- Steve Boddy -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Saturday 15 July 2006 08:19, Ron Wilson wrote:
Smart has filled up my /var system and /opt which is including in same system. It is 2.1Gb but doing an update/upgrade it filled to 100 percent. What can I safely delete out of /var is my first question and second is am I doing something wrong in just updating/upgrading the whole caboodle. How big should I make /var in future so that I dont run into this problem again. Thanks
This isn't an answer, but a related tip: When you delete an open log file, the space for that file is not actually freed up. For example: ~> rm /var/log/messages That won't do what you expect - the space is not freed until syslog is restarted (typically during a reboot). A way around this problem, if you need to quickly free up space used by open log files: ~> echo '' > /var/log/messages That empties out the file and immediately frees up the space used by existing data in the file. -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts
On Sun, 2006-07-16 at 14:03 +0200, stephan beal wrote:
On Saturday 15 July 2006 08:19, Ron Wilson wrote:
Smart has filled up my /var system and /opt which is including in same system. It is 2.1Gb but doing an update/upgrade it filled to 100 percent. What can I safely delete out of /var is my first question and second is am I doing something wrong in just updating/upgrading the whole caboodle. How big should I make /var in future so that I dont run into this problem again. Thanks
This isn't an answer, but a related tip:
When you delete an open log file, the space for that file is not actually freed up. For example:
~> rm /var/log/messages
That won't do what you expect - the space is not freed until syslog is restarted (typically during a reboot).
Actually in openSUSE use rcsyslog reload, no need to reboot.
A way around this problem, if you need to quickly free up space used by open log files:
~> echo '' > /var/log/messages
"> /var/log/messages" (with out the quote of course) will work as well. But that is a rather drastic step to take. And if the messages file is getting that big there may be some other underlying problem that needs to be fixed or else the messages file will just fillup the filesystem again. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (4)
-
Ken Schneider
-
Ron Wilson
-
stephan beal
-
Stephen Boddy