05-26-2008
Quote:
Originally Posted by
trims
df -k report filesystem disk space usage.better to use du -sh*|sort -nr or du -sk*|sort -nr to know which directory or file is using most of the space
thanks,
trims
df also shows how much disk is free.
If you run du it will take ages to get a result.
Its a filesystem that is full, we are not trying to find which is the biggest directory.
9 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
When I try to log in as root I get the following message
realloccg /: file system full sendmail :NO Queue:low on space (have 0,SMTP-DAEMON needs 101 in /var/spool/mqueue) What should I do? (1 Reply)
Discussion started by: hopeless
1 Replies
2. UNIX for Advanced & Expert Users
Hi All,
There was a background process running on a Solaris 2.8 machine, and appeared to have filled all available disk-space. I done a killall, and upon re-booting found that the file system had filled up, and will not boot as normal as a result. For example, I'm getting
/usr/adm/messages: No... (8 Replies)
Discussion started by: Breen
8 Replies
3. Filesystems, Disks and Memory
Hi
I have a Solaris 2.5.1 system. Recently my file system is full and i couldn't find what flood my root file system.
Anyone can suggext any directories i should look out for.
I am using Samba and Patrol agent. I am just usng this server as a file server, users cannot login into the system,... (1 Reply)
Discussion started by: owls
1 Replies
4. Solaris
Hi, I just started working with UNIX on an old semi-fossilized Sun workstation which I use to process LOTS of images,however, I just started to get an error message that the file system is full and then my shell tool or/and text editor freeze up. Help? (8 Replies)
Discussion started by: Bend
8 Replies
5. Solaris
I read the sticky and thought of a script I use on a regular basis. Since unless you patch/upgrade the df command on solaris you have a very tought time teling how full the system truly is.
Output looks like
$ biggest.sh /tmp
Filesystem kbytes used avail capacity Mounted... (0 Replies)
Discussion started by: meyerder
0 Replies
6. Solaris
I am receving following Error message in /var/adm/messages
"NOTICE: alloc: /: file system full"
Disk space usage is as beklow:
df -k
$ Filesystem kbytes used avail capacity Mounted on
/dev/md/dsk/d10 76678257 56962561 18948914 76% /
/proc ... (8 Replies)
Discussion started by: Asteroid
8 Replies
7. Solaris
Hi All,
This is Babu working as a system administrator.
Here I am getting one problem with one of my Sun server's root (/) file system.
In df -h command / file system showing 7.8 GB used space.But in du -hd command it showing 5.2 gb only.
Please can any one help me resolve this issue... (2 Replies)
Discussion started by: lbreddy
2 Replies
8. UNIX for Advanced & Expert Users
Can anyone help me in cleaning /opt filesystem..
i have checked all the options and i have cleared all the logs and the total size of the files in /opt is shown as 1.8GB were as the size of /opt is 4.8GB
but wen i run the command
# df -h /opt
it gives
capacity
99%
Please help... (17 Replies)
Discussion started by: kjamsheed
17 Replies
9. Red Hat
Hey all,
What do you think mostly happened in the following situation?
I have a Red Hat 5.5 server. Someone, somehow, managed to get two .nfs000.... type files that totaled over a terabyte in size. I removed them and thought things were back to normal. Then I started getting complains from... (2 Replies)
Discussion started by: geelsu
2 Replies
LEARN ABOUT DEBIAN
gfs2_convert
gfs2_convert(8) System Manager's Manual gfs2_convert(8)
NAME
gfs2_convert - Convert a GFS1 filesystem to GFS2
SYNOPSIS
gfs2_convert [OPTION]... DEVICE
DESCRIPTION
gfs2_convert is used to convert a filesystem from GFS1 to GFS2. Do not attempt to convert a GFS1 filesystem which is not clean - the
process of conversion will reinitialise the journals. We highly recommend that fsck.gfs is run successfully before attempting to convert a
filesystem. Many of the on-disk structures are identical between GFS1 and GFS2, so the conversion process updates the journals, a few items
of incompatible metadata (mostly indirect pointers and inodes) and adds the per-node directories required by the gfs2meta filesystem. The
conversion process is performed in-place and does not require any extra disk space so that it is possible to successfully convert a GFS1
filesystem that is completely full.
Always ensure you have a complete backup of the data on any filesystem before starting the conversion process.
OPTIONS
-h Help.
This prints out the proper command line usage syntax.
-q Quiet. Print less information while running.
-n No to all questions.
-V Print program Version information only.
Print out the current version name.
-v Verbose operation.
Print more information while running.
-y Yes to all questions.
By specifying this option, gfs2_convert will not prompt before making changes.
EXAMPLE
gfs2_convert /dev/vg0/lvol0
This will convert the Global File System on the block device "/dev/vg0/lvol0" to gfs2 format.
gfs2_convert(8)