09-19-2008
Filesystem filling up and no clue as to why!
df shows that the filesystem is filling up and the usage is 94%.
However when I actually traverse to the directory I du shows only about
10% of the space occupied!
Below is the output of df and du:
>>>df -kh
/cbmdata/00 470M 393M 29M 94% /cbmdata/00
>>>/cbmdata/00> du -sh *
57K billing
1K config
48M coreEMS
1.7M data
115K gdd
8K lost+found
4K sba
I am wondering how the hell is filesystem is so full!
Any pointers of what to look for and how would be a great help!
Thanks a lot.
4 More Discussions You Might Find Interesting
1. Programming
hi, I need to know how to lock a file. I used the following code, but after executing the program the file 'write.txt' remined empty, and I have no idea why.Maybe I'm not using the corresponding syntax for blocking a file. But I deleted then the blocking part and the problem persisted.
see to... (2 Replies)
Discussion started by: atticus
2 Replies
2. UNIX for Advanced & Expert Users
Hi,
I am using diff command to check difference between two files.Both files are very big and when i execute this command /var temp space is filled up almost 99%.
Can any one please tell me is there any way i can specify directory name which has more space so that diff can use that dir for... (2 Replies)
Discussion started by: ukatru
2 Replies
3. UNIX for Dummies Questions & Answers
Hi all.
New to the forum and new to Unix admin... / filesystem filled up and I can't find where the large files are. Any help will be apppreciated:
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c1t0d0s0 8063580 7941745 41200 100% /
/proc ... (4 Replies)
Discussion started by: jamie_collins
4 Replies
4. Shell Programming and Scripting
Hi all, i am writing a shell script in which i got stuck when tried to use a if statement.
This is my code :
#!/bin/sh
today=`date +"%a %b %e"`
find /prod/logs -name '*.log' -mtime 0 -exec cp {} /home/hzjnr0/test \;
find /home/hzjnr0/test -type f -exec grep -i "successfully" {} \; >... (6 Replies)
Discussion started by: Soma Das
6 Replies
LEARN ABOUT SUSE
btrfsctl
BTRFSCTL(8) System Manager's Manual BTRFSCTL(8)
NAME
btrfsctl - control a btrfs filesystem
SYNOPSIS
btrfsctl [ -d file|directory ] [ -s snapshot-name directory ] [ -S subvolume-name directory ] [ -r [+-]size ] [ -A device ] [ -a ] [
-c ]
DESCRIPTION
btrfsctl is used to control the filesystem and the files and directories stored. It is the tool to create a new snapshot for the filesys-
tem.
OPTIONS
-d file|directory
Defragment a file or a directory. If the argument is a directory, the entire b-tree under the directory is defragged.
-s snapshot-name directory
Creates a new snapshot of the directory specified.
-S subvolume-name directory
Creates a new subvolume.
-r [+|-]size
Resizes the filesystem with the size specified. If the value is preceded with a signed symbol, the filesystem is resized with
respect to the current filesystem size. size can be suffixed by k,m or g to represent kilobytes, megabytes, or gigabytes respec-
tively.
-A device
Scans the device for btrfs filesystem.
-a Scans all devices present in the system for btrfs filesystem.
-c Forces a filesystem sync.
AVAILABILITY
btrfsctl is part of btrfs-progs. Btrfs is currently under heavy development, and not suitable for any uses other than benchmarking and
review. Please refer to the btrfs wiki http://btrfs.wiki.kernel.org for further details.
SEE ALSO
mkfs.btrfs(8)
BTRFSCTL(8)