Re: merkwürdiges df

From: Oliver Fromme <olli(at)lurza.secnetix.de>
Date: Thu, 5 Oct 2006 15:01:14 +0200 (CEST)

Michael Gusek <michael.gusek(at)web.de> wrote:
> Heute Morgen checke ich nichts schlimmes ahnend meinen Festplattenplatz
> mit df. Folgende Ausgabe bekomme ich:
> Filesystem Size Used Avail Capacity Mounted on
> /dev/da0s1a 383M 236M 117M 67% /
> devfs 1.0K 1.0K 0B 100% /dev
> /dev/da0s1d 124M -90K 114M -0% /tmp
> /dev/da0s1f 1.1G 833M 234M 78% /usr
> /dev/da0s1e 190M 93M 82M 53% /var

Ts ts, wieder so eine unleserliche Ausgabe ... Verwende
besser "df -k" statt "df -h", damit man die Werte besser
vergleichen kann.

> Interessant find ich ja die Zeile für /tmp. Wer schenkt mir denn da 90K,

Offenbar ist das Dateisystem kaputt. Boote in den Single-
user-mode und mach ein »fsck /dev/da0s1d«. Oder leg's
gleich neu an (»newfs -U -n /dev/da0s1d«).

Du kannst auch ein Memory-FS auf /tmp legen, z.B. mit
folgender Zeile in /etc/fstab (für 300 MB):

   md /tmp mfs rw,nosuid,async,-s300m 0 0

oder folgende Einträge in /etc/rc.conf:

   tmpmfs="YES"
   tmpsize="300m"
   tmpmfs_flags="-S -o nosuid,async"

Gruß
   Olli

-- 
Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"What is this talk of 'release'?  We do not make software 'releases'.
Our software 'escapes', leaving a bloody trail of designers and quality
assurance people in its wake."
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 05 Oct 2006 - 15:03:20 CEST

search this site