Re: Strange df

2007-10-05 Thread Jerry McAllister
On Fri, Oct 05, 2007 at 04:24:33PM +0200, Albert Shih wrote:

>  Le 05/10/2007 à 12:12:26+0200, Albert Shih a écrit
> > Hi all
> > 
> > What's that mean ? 
> > 
> > Filesystem  1K-blocks UsedAvail Capacity  Mounted on
> > /dev/ad4s1a50763069050   39797015%/
> > devfs   110   100%/dev
> > /dev/ad4s1g  78017664 55539220 1623703277%/home
> > /dev/ad4s1e507630-8960   475980-2%/tmp

Sorry, I didn't notice the negative value in the Used column before.

> 
> Well after reboot, and manually fsck (one problem fix by fsck -y) everthing
> become normal.

FSCk fixes all, I guess.Must have had a bit flip in the inode
somewhere or something like that.

jerry

> 
> Lots of thanks.
> 
> I'm sorry I don't send all my partition (just for put the ) in fact
> I've 
> 
> Filesystem  512-blocks  UsedAvail Capacity  Mounted on
> /dev/ad4s1a1015260138100   79594015%/
> devfs2 20   100%/dev
> /dev/ad4s1g  156035328 111535712 3201679278%/home
> /dev/ad4s1e1015260 10596   923444 1%/tmp
> /dev/ad4s1f   60925272  23487372 3256388042%/usr
> /dev/ad4s1d4025436268516  3434888 7%/var
> 
> And no I don't use MFS for /tmp it's real partition (I known I'm old
> fashion).
> 
> Regards.
> --
> Albert SHIH
> Observatoire de Paris Meudon
> SIO batiment 15
> Téléphone : 01 45 07 76 26
> Heure local/Local time:
> Ven 5 oct 2007 16:21:29 CEST
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Strange df

2007-10-05 Thread Jerry McAllister
On Fri, Oct 05, 2007 at 12:12:26PM +0200, Albert Shih wrote:

> Hi all
> 
> What's that mean ? 

What does it look like?

It looks to me like the output of a df(1) command - 
specifically 'df -k'

The first line contains labels that explain what is in each column.
The file system or partition device name
How many 1K blocks in the partition
How much of it is used up
How much is still available to use
What percent of the capacity is used
and at what mount point is the partition mounted

devfs is a special psuedo partition used for creating devices


> Filesystem  1K-blocks UsedAvail Capacity  Mounted on
> /dev/ad4s1a50763069050   39797015%/
> devfs   110   100%/dev
> /dev/ad4s1g  78017664 55539220 1623703277%/home
> /dev/ad4s1e507630-8960   475980-2%/tmp
>   ^^
> Regards.
> 

So, it all really makes sense.  It is not a big mystery.
It is just what it says.

jerry

> --
> Albert SHIH
> Observatoire de Paris Meudon
> SIO batiment 15
> Heure local/Local time:
> Ven 5 oct 2007 12:11:30 CEST
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Strange df

2007-10-05 Thread Albert Shih
 Le 05/10/2007 à 12:12:26+0200, Albert Shih a écrit
> Hi all
> 
> What's that mean ? 
> 
> Filesystem  1K-blocks UsedAvail Capacity  Mounted on
> /dev/ad4s1a50763069050   39797015%/
> devfs   110   100%/dev
> /dev/ad4s1g  78017664 55539220 1623703277%/home
> /dev/ad4s1e507630-8960   475980-2%/tmp

Well after reboot, and manually fsck (one problem fix by fsck -y) everthing
become normal.

Lots of thanks.

I'm sorry I don't send all my partition (just for put the ) in fact
I've 

Filesystem  512-blocks  UsedAvail Capacity  Mounted on
/dev/ad4s1a1015260138100   79594015%/
devfs2 20   100%/dev
/dev/ad4s1g  156035328 111535712 3201679278%/home
/dev/ad4s1e1015260 10596   923444 1%/tmp
/dev/ad4s1f   60925272  23487372 3256388042%/usr
/dev/ad4s1d4025436268516  3434888 7%/var

And no I don't use MFS for /tmp it's real partition (I known I'm old
fashion).

Regards.
--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Téléphone : 01 45 07 76 26
Heure local/Local time:
Ven 5 oct 2007 16:21:29 CEST
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Strange df

2007-10-05 Thread Brian A. Seklecki
On Fri, 2007-10-05 at 13:11 +0300, Ivailo Tanusheff wrote:
> This seams as a wrong lable info.
> Check: bsdlabel /dev/ad4s1

Oh wow, yea, I misread.

That's really scarry -- normally the kernel would panic.  I'm very
surprised bsdlabel(8) let you write that to the disk.

Does fsck(8) function?  Did sysinstall do this?

You probably want /tmp to be MFS anyway -- it's almost never a disk
partition.

Especially since you don't have /var on its own file system (/var/tmp)
~BAS




IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Strange df

2007-10-05 Thread Albert Shih
 Le 05/10/2007 à 13:11:34+0300, Ivailo Tanusheff a écrit
> 
> This seams as a wrong lable info.
> Check: bsdlabel /dev/ad4s1
> 

Why you say that ? the /dev/ad4s1e is really mounted on /tmp 

This strange thing appear after I make some clean up (rm old.pdf etc...) in
my /tmp

> 
> 
> Hi all
> 
> What's that mean ?
> 
> Filesystem  1K-blocks UsedAvail Capacity  Mounted on
> /dev/ad4s1a50763069050   39797015%/
> devfs   110   100%/dev
> /dev/ad4s1g  78017664 55539220 1623703277%/home
> /dev/ad4s1e507630-8960   475980-2%/tmp
>   ^^
> 
> 
Regards.

--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Heure local/Local time:
Ven 5 oct 2007 14:28:30 CEST
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Strange df

2007-10-05 Thread Brian A. Seklecki
The math is off because some space is reserved for UID 0 / root.  Read
these two man pages:

~BAS

NEWFS(8)   FreeBSD System Manager's Manual   NEWFS(8)

NAME
 newfs -- construct a new UFS1/UFS2 file system

 -m free-space
  The percentage of space reserved from normal users; the minimum
  free space threshold.  The default value used is defined by
  MINFREE from , currently 8%.  See tunefs(8) for
  more details on how to set this option.



TUNEFS(8)   NetBSD System Manager's ManualTUNEFS(8)

NAME
 tunefs -- tune up an existing file system

  -m minfree

 This value specifies the percentage of space held back from nor-
  mal users; the minimum free space threshold.  The default value
  is set during creation of the filesystem, see newfs(8).  This
  value can be set to zero, however up to a factor of three in
  throughput will be lost over the performance obtained at a 5%
  threshold.  Note that if the value is raised above the current
  usage level, users will be unable to allocate files until enough
  files have been deleted to get under the higher threshold.



On Fri, 2007-10-05 at 12:12 +0200, Albert Shih wrote:
> Hi all
> 
> What's that mean ? 
> 
> Filesystem  1K-blocks UsedAvail Capacity  Mounted on
> /dev/ad4s1a50763069050   39797015%/
> devfs   110   100%/dev
> /dev/ad4s1g  78017664 55539220 1623703277%/home
> /dev/ad4s1e507630-8960   475980-2%/tmp
>   ^^
> 
> Regards.
> 
> 
> 
> 
> --
> Albert SHIH
> Observatoire de Paris Meudon
> SIO batiment 15
> Heure local/Local time:
> Ven 5 oct 2007 12:11:30 CEST
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> 
> 
> 
> 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Strange df

2007-10-05 Thread Ivailo Tanusheff
This seams as a wrong lable info.
Check: bsdlabel /dev/ad4s1

Regards,

Ivailo Tanusheff
Deputy Head of IT Department
ProCredit Bank (Bulgaria) AD





Albert Shih <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
05.10.2007 13:06
Please respond to
[EMAIL PROTECTED]


To
freebsd-questions@freebsd.org
cc

Subject
Strange df






Hi all

What's that mean ? 

Filesystem  1K-blocks UsedAvail Capacity  Mounted on
/dev/ad4s1a50763069050   39797015%/
devfs   110   100%/dev
/dev/ad4s1g  78017664 55539220 1623703277%/home
/dev/ad4s1e507630-8960   475980-2%/tmp
 ^^

Regards.




--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Heure local/Local time:
Ven 5 oct 2007 12:11:30 CEST
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Strange df

2007-10-05 Thread Albert Shih
Hi all

What's that mean ? 

Filesystem  1K-blocks UsedAvail Capacity  Mounted on
/dev/ad4s1a50763069050   39797015%/
devfs   110   100%/dev
/dev/ad4s1g  78017664 55539220 1623703277%/home
/dev/ad4s1e507630-8960   475980-2%/tmp
^^

Regards.




--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Heure local/Local time:
Ven 5 oct 2007 12:11:30 CEST
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Strange df output, including non-mounts

2007-07-18 Thread Robin Vleij

Hi guys,

In the daily run output, the disk status always starts to look a bit 
strange on one of my machines. I think this starts after about three 
weeks of uptime.


It never seems to cause any serious problems, but today I decided to 
find out why this happens. :) I couldn't find any answers on Google (or 
the list archives, which search function seems to be broken).


df (both in the daily run and manual df -hi) starts showing mountpoints 
that are not mountpoints. Like var/spool and usr/local. Why these 
suddenly show up in the df output I'd like to know... :)


The output looks like this:

Disk status:
df: libexec stats possibly stale
df: lib stats possibly stale
df: usr/lib stats possibly stale
df: usr/sbin stats possibly stale
df: usr/share stats possibly stale
df: usr/bin stats possibly stale
df: usr/man stats possibly stale
df: usr/X11R6 stats possibly stale
df: usr/libexec stats possibly stale
df: usr/local/bin stats possibly stale
df: usr/local/lib stats possibly stale
df: var/spool stats possibly stale
df: var/lib stats possibly stale
df: var/run stats possibly stale
df: var/log stats possibly stale
df: jacco stats possibly stale
df: tmp stats possibly stale
df: dev stats possibly stale
df: bin stats possibly stale
df: proc stats possibly stale
Filesystem 1K-blocks Used Avail Capacity  Mounted on
/dev/da0s1a   5076307953238748817%/
devfs  11 0   100%/dev
/dev/da0s1d   5076305877040825013%/tmp
/dev/da0s1f 13694960  5729928   686943645%/usr
/dev/da0s1e  1506190  124450014119690%/var_local
devfs  11 0   100%/var/named/dev
procfs 44 0   100%/proc
/libexec  5076307953238748817%libexec
/lib  5076307953238748817%lib
/usr/lib13694960  5729862   686950245%usr/lib
/usr/sbin   13694960  5729862   686950245%usr/sbin
/usr/share  13694960  5729862   686950245%usr/share
/usr/bin13694960  5729862   686950245%usr/bin
/usr/man13694960  5729862   686950245%usr/man
/usr/X11R6  13694960  5729862   686950245%usr/X11R6
/usr/libexec13694960  5729862   686950245%usr/libexec
/usr/local/bin  13694960  5729862   686950245%usr/local/bin
/usr/local/lib  13694960  5729862   686950245%usr/local/lib
/var/spool  83886080  3969332  79916748 5%var/spool
/var/lib83886080  3969332  79916748 5%var/lib
/var/run83886080  3969332  79916748 5%var/run
/var/log83886080  3969332  79916748 5%var/log
/home/jail251658240 41213716 21044452416% jail
/tmp  50763030598436422 7%tmp
/dev   11 0   100%dev
/bin  5076307953238748817%bin
/proc  44 0   100%proc

Anyone seen this or has any ideas?

I'm thinking maybe some threshold is reached which makes those points 
show up (inode free% or something else). But I can't seem to find any 
info on that in the manpages for df or the handbook.


--
F/X Services
Managed Hosting
http://www.fx-services.com | http://www.fxs.se
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"