File system full

My file system is full and I'm having a hard time trying to find space.  I don't know how to get to that first drive:

full.jpg
I'm using FreeBSD.
hrolsonsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Steven CarnahanNetwork ManagerCommented:
It looks like the root folder is at 107% capacity.

The /dev folder is at 100%

To get to the root folder type "cd /" without the quotes and look at what is in there.

Then to get to the /dev folder type "cd /dev" without the quotes and look at what is in there.

Use "ls -l" without the quotes to see how big everything is.
Maciej SsysadminCommented:
Do not touch /dev directory. It is always shown as 100% full and deleting files from /dev will not give you free space.

You can check which directory is consuming your disk with "du -sh /*". My blind guess would be /var or /home. Delete some files or compress them.

There is also possibility, that you have some deleted files, that are still opened by some processes. You can check this with "lsof | grep deleted" (if you have lsof installed of course). If there is some output, you will have to restart process which keeps these files.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Steven CarnahanNetwork ManagerCommented:
oklit,

I am not arguing the point that you probably shouldn't mess around in the /dev directory however I do disagree with you that it always shows 100%.  This is mine:

dev
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

hrolsonsAuthor Commented:
I did that and I'm not familiar with the files that show up, and hardly any directories:

Full Hard Drive
Maciej SsysadminCommented:
pony10us - you are checking this on linux. Author has FreeBSD. These systems are not the same.
gheistCommented:
/dev is memory disk. it will be always full.

You need to free something on /

1) lsof +L1
i.e do you have any deleted files open by broke log rotation
2) cd /var
du -sk * | sort -n
...
Steven CarnahanNetwork ManagerCommented:
Thank you oklit.  You are correct I am testing on Red Hat.  I didn't realize FreeBSD showed it different.  One more lesson learned.  :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.