DF(1M)DF(1M)NAME
df - disk free
SYNOPSIS
df [ filesystem ] ...
DESCRIPTION
Df prints out the number of free blocks available on the filesystems. If no file system is specified, the free space on all of the nor-
mally mounted file systems is printed.
FILES
Default file systems vary with installation.
SEE ALSO icheck(1)DF(1M)
Check Out this Related Man Page
ICHECK(1M)ICHECK(1M)NAME
icheck - file system storage consistency check
SYNOPSIS
icheck [ -s ] [ -b numbers ] [ filesystem ]
DESCRIPTION
Icheck examines a file system, builds a bit map of used blocks, and compares this bit map against the free list maintained on the file sys-
tem. If the file system is not specified, a set of default file systems is checked. The normal output of icheck includes a report of
The total number of files and the numbers of regular, directory, block special and character special files.
The total number of blocks in use and the numbers of single-, double-, and triple-indirect blocks and directory blocks.
The number of free blocks.
The number of blocks missing; i.e. not in any file nor in the free list.
The -s option causes icheck to ignore the actual free list and reconstruct a new one by rewriting the super-block of the file system. The
file system should be dismounted while this is done; if this is not possible (for example if the root file system has to be salvaged) care
should be taken that the system is quiescent and that it is rebooted immediately afterwards so that the old, bad in-core copy of the super-
block will not continue to be used. Notice also that the words in the super-block which indicate the size of the free list and of the i-
list are believed. If the super-block has been curdled these words will have to be patched. The -s option causes the normal output
reports to be suppressed.
Following the -b option is a list of block numbers; whenever any of the named blocks turns up in a file, a diagnostic is produced.
Icheck is faster if the raw version of the special file is used, since it reads the i-list many blocks at a time.
FILES
Default file systems vary with installation.
SEE ALSO dcheck(1), ncheck(1), filsys(5), clri(1)DIAGNOSTICS
For duplicate blocks and bad blocks (which lie outside the file system) icheck announces the difficulty, the i-number, and the kind of
block involved. If a read error is encountered, the block number of the bad block is printed and icheck considers it to contain 0. `Bad
freeblock' means that a block number outside the available space was encountered in the free list. `n dups in free' means that n blocks
were found in the free list which duplicate blocks either in some file or in the earlier part of the free list.
BUGS
Since icheck is inherently two-pass in nature, extraneous diagnostics may be produced if applied to active file systems.
It believes even preposterous super-blocks and consequently can get core images.
ICHECK(1M)
Can anyone please tell me how safe is the following backup script?
Does it really backing up the WHOLE system or just part of it?
I do that with the system running an oracle database.
Will I be able to restore the system in case of a fault?
<pre>
Here is the output of 'df -k'
... (11 Replies)
I'm trying to understand what is happening.
The "setup".
System running OpenBSD 3.3
Connect to the system using PuTTy or with the SSH.COM SSH client, issue a DF command.
First line that comes back is:
Filesystem 1K-blocks Used Avail Capacity Mounted on
When I connect the the... (13 Replies)
I'm posting the output from two disks on my Solaris machine. The first part is the output from using the format command and then using the verify option on each disk. The last part is the output from my df -k command. I'm trying to match the partition to the filesystem/mount point. I'm assuming... (13 Replies)
Hi all
I need help finding a process that is continuing to create files in the above area. There are three sub folder titled addr q.local and msg . I have already found a process called mmdf running and have used the kill command to stop this from running. I have also looked for sendmail or... (12 Replies)
Hi,
I want to write a script to save all the bdf information (disk usage) on all mounted directories in a file. Then I want to compare saved bdf info to current system within 5%. Please help me on this. I am using HP-UX.
Actually there is data center move and I need to run the script before... (12 Replies)
Hi!
I need to realize this task.
In folder i have such files:
name1.txt
name1.pdf
name2.txt
name2.pdf
etc...
I want to scan this folder, match files with same name (name1.txt with name1.pdf, name2.txt with name2.pdf) and create files name1.xml and name2.xml, based on it. i.e:
i want... (13 Replies)
I have another script which I found also on the net.
I keep getting an error:confused::
Here is the script for it:
{/usr/bin/bdf -l |awk '$0 !~ /^F/' |awk '{print $5"\t" $6}'| sed 's/'%'//' >/tmp/b
dflist}
panic ()
{while read percent dir; do
if ]
then ... (16 Replies)
Hi all,
When I use BDF command on this particular server, it outputs mostly normal stuff. However, there is one directory it can't read at all.
Also, it doesn't seem to exist.
When I BDF my file system with a small panic script (it happens even if you use just the bdf command):
As you... (17 Replies)
Hi,
I am using SCO UNIX version 6.0.0 release 5. I am using du and df space to see the used space in the / partition. I am using du -k option to get count in 1024 k so that it directly makes kb. In dfspace I subtracted the used mb from total size mb which should be the used space and then... (40 Replies)
HI All
I need help related to Pdf printing in Solaris.as I print pdf file in solaris it print garbage.how can I print pdf correctly. need help asap.
Regards (21 Replies)
hi folks
I have issue in printing pdf while using ERP application, it's using pasta utility to print pdf. If i print from command line its successful while when ERP user give print command the printer doesnot print anything rather it gives error which is as follows
ESP Ghostscript 815.01:... (12 Replies)
I need bash script that monitor folders for new pdf files and create xml file for rss feed with newest files on the list. I have some script, but it reports errors.
#!/bin/bash
SYSDIR="/var/www/html/Intranet"
HTTPLINK="http://TYPE.IP.ADDRESS.HERE/pdfs"
FEEDTITLE="Najnoviji dokumenti na... (20 Replies)
Hi All ,
I am very new to unix script.I am aware of unix commands but never put together in unix script level.If any one can suggest me technical guidance in the below scenario that will highly beneficial.
Data have been already migrated from mainframe to Hadoop file system(HDFS).HDFS server... (15 Replies)
Hello everyone,
I am doing a check of the disk space using df -h, I want to combine the result in break line; but the result after while/done is empty:
# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 20G 14G 4.6G 75% /
/dev/root 20G 14G 4.6G 75% /... (15 Replies)
Guys: I have a customer using the 'pdftotext' utility under Linux. PDFs are received via email, converted to text, etc. and it has worked nicely for years. They received a PDF from a customer and the utility will not read it. The text file is created but it's either empty or has 1-2 bytes of... (23 Replies)