Rather than getting him trapped in an editor, I would just more the file,
which also works similar to a Windows cmd shell.

 

-- 
Mike Gill

 

From: Salvador Manzo [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 04, 2008 1:27 PM
To: NT System Admin Issues
Subject: Re: BSD Filesystem Full?

 

:) that's what the / in the name was for.  Since / has room, but /usr
doesn't, I had it drop the text file in /

cd /
ls DiskUse.txt

I'm not sure if pico or vi are installed with that cacti VM, but the syntax
to look through the file while keeping it on disk would just be

vi /DiskUse.txt
or
pico /DiskUse.txt



On 3/4/08 1:21 PM, "Sam Cayze" <[EMAIL PROTECTED]> wrote:

Cacti won't start, so I can't do any log management from that GUI.
 
So, I ran the dump that creates DiskUse.txt, but where does it get saved?  
 
I ran it from /usr
 


From: Salvador Manzo [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 04, 2008 3:10 PM
To: NT System Admin Issues
Subject: Re: BSD Filesystem Full?

Sam,
>From what you posted, this is something in /usr (probably
/usr/home/someaccountname).

Run the following in order
cd /usr
du -h  > /DiskUse.txt

Then copy off DiskUse.txt for review somewhere else.  You've got plenty of
TMP space, and any logs in /var are fine as well.  I expect you've got a lot
of old reports buried under /usr.  If Cacti allows you to delete old reports
from it's interface, attack it that way, otherwise, SCP or FTP them off.  I
don't suggest rm'ing them, just in case Cacti freaks out over stuff
disappearing.



On 3/4/08 12:20 PM, "Sam Cayze" <[EMAIL PROTECTED]> wrote:
Salvador to the rescue!  Thanks!
 
Alright, I can SSH into it, and I am at the [EMAIL PROTECTED] ~]# prompt.  
 
Here is my output.  Yep, I look pretty full!  So - I guess I will have to
play around and find some stuff to delete.  
 
Do you know any obvious locations for temp files in BSD?
Do you know of any good BSD training resources to get me familiar with file
system commands in BSD?
 
Sounds like now is a great time to make some use of VMware snapshot feature!
 
 
[EMAIL PROTECTED] ~]# df -h
Filesystem     Size   Used   Avail Capacity  Mounted on
/dev/ad0s1a    496M   103M    353M    23%    /
devfs         1.0K    1.0K      0B  100%    /dev
/dev/ad0s1e    248M    12K    228M     0%    /tmp
/dev/ad0s1f    2.1G   2.0G   -101M   105%    /usr
/dev/ad0s1d    629M    28M    551M     5%    /var

 
 
 
 
 

From: Salvador Manzo [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 04, 2008 1:51 PM
To: NT System Admin Issues
Subject: Re: BSD Filesystem Full?

Sam,
Assuming the Cacti appliance doesn't offer the ability to age out old log
files, can you SSH into it?  A df -h will show you usage on the different
mount points, and a du -h redirected to a text file will give you the exact
layout (starting from wherever you launch it, recursive by default)


On 3/4/08 11:38 AM, "Sam Cayze" <[EMAIL PROTECTED]> wrote:
Hey all, 
 
I have a VM Appliance I installed about 2 years ago that runs Cacti, and
does all the cute little RDP graphs for my server utilization, server room
temp monitors, disk space, etc.
http://www.vmware.com/appliances/directory/310
 
It runs on BSD6.1 and is supposed to be a set and forget appliance.
However, it is failing, and I suspect it just might have something to do
with this error when I fire it up "Filesystem Full"
 
Does anybody run BSD that might be able to give me a hand?
 
Thanks in Advance.
 
Sam








----- 
Salvador Manzo  [ 620 W. 35th St - Los Angeles, CA 90089  e. [EMAIL PROTECTED] ]
Auxiliary Services IT, Datacenter
University of Southern California
818-612-5112
"Progress is made by lazy men looking for easier ways to do things." -
Robert A. Heinlein









----- 
Salvador Manzo  [ 620 W. 35th St - Los Angeles, CA 90089  e. [EMAIL PROTECTED] ]
Auxiliary Services IT, Datacenter
University of Southern California
818-612-5112
--- 
"Sometimes it is said that man can not be trusted with government of
himself. Can he, then, be trusted with the government of others? Or have we
found angels in the forms of kings to govern him? Let history answer this
question."
-- Thomas Jefferson (First Inaugural Address, 3/4 1801)










----- 
Salvador Manzo  [ 620 W. 35th St - Los Angeles, CA 90089  e. [EMAIL PROTECTED] ]
Auxiliary Services IT, Datacenter
University of Southern California
818-612-5112
--- 
"Sometimes it is said that man can not be trusted with government of
himself. Can he, then, be trusted with the government of others? Or have we
found angels in the forms of kings to govern him? Let history answer this
question."
-- Thomas Jefferson (First Inaugural Address, 3/4 1801)

 

~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~

Reply via email to