On Tue, Jun 05, 2007 at 07:51:48AM +0200, Otto Moerbeek wrote:
Thanks for your info.
After rebuilding kernel and userland the problem still exists, but now
the affected partitions are /var, /home and /data. Hmm. Unmounting /data
and doing a manual fsck -f runs without problems.
$ cat /etc/fstab
/dev/wd0a / ffs rw 1 1
/dev/wd0d /tmp ffs rw,nodev,nosuid 1 2
/dev/wd0e /usr ffs rw,nodev 1 2
/dev/wd0f /var ffs rw,nodev,nosuid 1 2
/dev/wd0g /home ffs rw,nodev,nosuid 1 2
/dev/wd0h /data ffs rw,nodev,nosuid 1 2
/dev/wd1d /backup ffs rw,nodev,nosuid 1 2
with an actual kernel:
$ sudo disklabel wd0
# /dev/rwd0c:
type: ESDI
disk: ESDI/IDE disk
label: ST3120213A
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 16514064
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 1024128 0 4.2BSD 2048 16384 16 # Cyl 0 - 1015
b: 3072384 1024128 swap # Cyl 1016 - 4063
c: 234441648 0 unused 0 0 # Cyl 0 -232580
d: 2048256 4096512 4.2BSD 2048 16384 16 # Cyl 4064 - 6095
e: 20479536 6144768 4.2BSD 2048 16384 16 # Cyl 6096 - 26412
disklabel: partition c: partition extends past end of unit
disklabel: partition e: partition extends past end of unit
older kernel:
$ sudo disklabel wd0
[...]
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 1024128 0 4.2BSD 0 0 16 # Cyl 0 - 1015
b: 3072384 1024128 swap # Cyl 1016 - 4063
c: 234441648 0 unused 0 0 # Cyl 0 -232580
d: 2048256 4096512 4.2BSD 0 0 16 # Cyl 4064 - 6095
e: 20479536 6144768 4.2BSD 0 0 16 # Cyl 6096 - 26412
f: 4095504 26624304 4.2BSD 0 0 16 # Cyl 26413 - 30475
g: 20479536 30719808 4.2BSD 0 0 16 # Cyl 30476 - 50792
h: 183242304 51199344 4.2BSD 0 0 16 # Cyl 50793 -232580
disklabel: partition c: partition extends past end of unit
disklabel: partition e: partition extends past end of unit
disklabel: partition f: offset past end of unit
disklabel: partition f: partition extends past end of unit
disklabel: partition g: offset past end of unit
disklabel: partition g: partition extends past end of unit
disklabel: partition h: offset past end of unit
disklabel: partition h: partition extends past end of unit
Any hints how to fix this beside repartition and reinstall?
Regards,
Markus