Subject: "Interesting" df output
To: None <port-mac68k@netbsd.org>
From: MICHAEL LARKIN <tinomen@usa.net>
List: port-mac68k
Date: 09/03/1998 12:37:00
After an uneventful installation on my Mac IIcx, I received some errors from
sendmail, complaining about lack of disk space. I was surprised to see the
following output from df:
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/sd0a 190122 168250 2859 98% /
/dev/sd0g 286321 259602 -1914 101% /usr
/dev/sd0e 317210 286873 -1384 100% /var
kernfs 1 1 0 100% /kern
procfs 4 4 0 100% /proc
Those numbers are impossible. "sd0a" is only 32MB, "sd0g" is 100MB.
"sd0e" is also only 32MB. The entire drive is only 200MB!
Everything else seems to work fine. I can create files in /usr, /var, and
anywhere else on the drive. But the broken file system size seems to hose a
number of programs, including sendmail. Other than that, the
system functions well. (Or at least appears to).
I searched the last 3 months or so of the mac68k mailing list, but saw no
reference to this, so I decided to see if anyone else had noticed this
before. Please help if you can, as I would like to have sendmail working on
this machine...
Oh, in case it could help someone diagnose the problem, here is a dump of
"disklabel sd0": (I removed the comments about cylinders at the end of the
file because my mailer chewed on them a bit)
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: fictitious
flags:
bytes/sector: 512
sectors/track: 45
tracks/cylinder: 7
sectors/cylinder: 315
cylinders: 1310
total sectors: 415436
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
7 partitions:
# size offset fstype [fsize bsize cpg]
a: 65532 20096 4.2BSD 0 0 0
b: 65532 85628 swap
c: 415436 0 unused 0 0
d: 20000 96 HFS
e: 64276 351160 4.2BSD 0 0 0
g: 200000 151160 4.2BSD 0 0 0
-ml
tinomen@usa.net
brapp@jps.net
____________________________________________________________________
Get free e-mail and a permanent address at http://www.netaddress.com/?N=1