Please post the output from:
Any context or buildup? Have you have been manually editing /etc/fstab or making other changes? Any recent hardware failures?
I am trying to write a script that will allow me to do a bdf then do a test for a percentage that is 90% or greater. If the test is true then i want to send a message to myself and one other person.
Any suggestions ? ? ?
Thanks.
....svp (6 Replies)
I've recently had some space problems on one of our old HP9000 machines. I archived/moved/compressed/trashed some stuff to free up some space on one rather large (and important) logical volume.
As one would expect, when `df -b` is executed some space is shown as free:
/opt ... (2 Replies)
Hi,
I have written a funtion which taken bdf output and put's in a file.
The idea is to grep a areas which greater then 80% and echo the same on the system. However the script I have written fails with the error :-
+ awk $0 !~ /^F/
+ awk {print $5"\t" $6}
+ sed s/%//
+ 1> /tmp/bdflist}... (3 Replies)
Hi all,
Would like to know if it is possible to rearrange the order that mounts are displayed when the 'bdf' command is issued.
An example of what I mean is, currently I see the following ...
$ bdf -l
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 524288 ... (6 Replies)
Hi all
i am working on script which uses "bdf" output to create excel sheet now when i check "Total" "Used" & "Available" i found that except root everywhere
used + available != total
here is example :
part from bdf output :
filesystem-total-used-available-%used-Mounted on
... (4 Replies)
I have this line in a sh script:
bdf | grep /var/opt/vgdb | tr -s " " | cut -f4,6 -d" " | awk '{print $2" "$1}' > vgdb_free_space.txt
if I run that line in the shell it works fine
but when I ran the script got this error:
add_database_files.sh: line 83: bdf: command not found
also I tried... (4 Replies)
Hello people.
First of all I googled my problem and even found answers in this forum. Unfortunatelly my problem is not solved.
When the lenght of the filesystem is too big the output of bdf wraps into another line. e.g.:
Filesystem kbytes used avail %used Mounted on... (5 Replies)
Hi,
I'm trying to use an old script I found of the internet a while back, I forget where its from. Its supposed to convert the bdf function and display filesystem size in MB's and line it up however it never worked...
Here is the error:
And here is the code:
#!/usr/bin/sh
echo... (3 Replies)
Hi guys, I have to make an output of several databases we've got running on our system with the command bdf. This has to be done every 3 months. I want to put it in an scriptfile and trigger it in crontab. In the output it must display the differences in diskspace between these three monts. Any... (3 Replies)
Discussion started by: djmental
3 Replies
LEARN ABOUT MINIX
fstab
FSTAB(5) File Formats Manual FSTAB(5)NAME
fstab, mtab - list of file systems to mount, mounted file system table.
SYNOPSIS
/etc/fstab
/etc/mtab
DESCRIPTION
/etc/fstab is a table of file system to mount at boot time, /etc/mtab is a table of currently mounted file systems as maintained by mount
and umount.
/etc/fstab is not read by mount as it should be. It is instead a simple shell script listing the three devices that Minix needs to oper-
ate: The device names of the root file system, the temporary (scratch) file system, and the file system for /usr. Of these only the /usr
file system is mounted in /etc/rc, the scratch file system is there for the system administrator to test new kernels, or as a temporary
file system.
/etc/mtab contains lines of four fields. The layout is:
device directory type options
These fields may be explained as follows:
device
A block special device.
directory
Mount point.
type
Either 1, or 2, indicating a V1 or V2 file system.
options
Either ro, or rw, indicating a read-only or read-write mounted file system.
FILES
/etc/fstab Shell script naming three important file systems.
/etc/mtab List of mounted file systems.
SEE ALSO printroot(8), mount(1), fsck(1), mkfs(1).
BUGS
/etc/fstab is a joke.
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
FSTAB(5)