Something is filling hard disk on its own.


 
Thread Tools Search this Thread
Homework and Emergencies Emergency UNIX and Linux Support Something is filling hard disk on its own.
# 22  
Old 10-22-2010
Sorry, I though it was apropos the original chain: Just a note about best practices to install once the author hits a lull in his storm. Of course, if he needs help writing them, each is certainly another chain.

I guess if you have a file open for write under a mount, it can be mysterious when the space is used. Can mount point dirs be 555 to prevent entries?

Sometimes deleted open for write can also 'hide' a growing space hog, depending on how the FS handles that (*/lost+found/ or generated file name or ???).

Swap can make the device shrink, something we often fought with on Solaris with /tmp.

BTW, I have a mixed mode (files and subtrees) script call 'biggies' to locate problem areas (if there is enough disk somewhere to sort) that does something like this:

Code:
(
du -k "$@"
find "$@" -type f |xargs -n999 du -k
)| sort -nr | more

# 23  
Old 10-22-2010
Quote:
(
du -k "$@"
find "$@" -type f |xargs -n999 du -k
)| sort -nr | more
@DGPickett
The original problem was about a full filesystem. Please read up about the "-xdev" parameter to "find", you may find it useful.
# 24  
Old 10-23-2010
Please check for any hung process.

One similar issue occured with us.
Our SFV-490 server "/ file system" got full.
We checked for /var directory and any other large file, but we could't find anything.

Only /proc directory was showing 1.5T in size.we checked that directory and found the size of the directory of PID of "fmd" process was having the size 58 GB. Then we just restarted the "fmd" process and then our / file system was back to normal condition realeasing a total space of 40 GB.


Cheers.SmilieSmilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. BSD

Migrate a Hard Disk

hi Has anyone already tried to migrate a hard disk with FreeBSD using recoverdisk? (1 Reply)
Discussion started by: ccc
1 Replies

2. Linux

C++ Code to Access Linux Hard Disk Sectors (with a LoopBack Virtual Hard Disk)

Hi all, I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies

3. UNIX for Advanced & Expert Users

Need help for getting hard-disk traces

When we write a programme,we declare variables and compiler allocates memory to them.I want to get access to the physical block number of hard-disk where actually the data is stored by the programme " Some one help me out... (3 Replies)
Discussion started by: nagraz007
3 Replies

4. Red Hat

Need help for getting hard-disk traces

When we write a programme,we declare variables and compiler allocates memory to them.I want to get access to the physical block number of hard-disk where actually the data is stored by the programme " Some one help me out... (1 Reply)
Discussion started by: nagraz007
1 Replies

5. SCO

declare disk driver for IDE hard disk

hi I've a fresh installation of SCO 5.0.7 on the IDE hard disk. For SCSI hard disk I can declare, for example blc disk driver using: # mkdev hd 0 SCSI-0 0 blc 0but it works for IDE hard disk? (3 Replies)
Discussion started by: ccc
3 Replies

6. UNIX for Dummies Questions & Answers

Hard Disk at 99% Help!

:eek: I use this Solaris to run CMS a call acounting software package for my job. No one could run reports today because it said the this when you logged on "The following file systems are low, and could adversely affect server performance: File system /: 99%full" Can some one please explain... (9 Replies)
Discussion started by: mannyisme
9 Replies

7. UNIX Desktop Questions & Answers

Hard Disk

I have a cuestion. How Can I to add other hard disk to my computer? I need to configurate anyone? (4 Replies)
Discussion started by: hmaraver
4 Replies

8. UNIX for Dummies Questions & Answers

RAM, Hard Disk

Hi, I work in a production support environment. All our PROD machines SPARC machines and Solaris O/S. I want to know how to find out what the hard disk size, RAM size etc. of our PROD machines. Please let me know if there is any way to find out this (other than from system administrator). ... (2 Replies)
Discussion started by: ramaraju
2 Replies

9. Filesystems, Disks and Memory

Adding hard Disk

Hi all, I am using SCO Openserver V and I want to add one more harddisk (/dev/hd1) Hw can I do it? (1 Reply)
Discussion started by: skant
1 Replies

10. UNIX for Dummies Questions & Answers

hard disk problems

Hi all I am facing a strange problem. I am using a sun ultra10 spark machine. first i took a 20gb IDE hard disk and installed solaris 5.8. But due to some requirement i have to reinstall the OS but this time solaris 2.6. and now the hard disk capacity is only showing 8gb. Where the 12gb... (3 Replies)
Discussion started by: Prafulla
3 Replies
Login or Register to Ask a Question