Re: /usr/obj partition AWOL

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Markus Lude
Date: Wednesday, June 6, 2007 - 9:17 am

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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
/usr/obj partition AWOL, Emilio Perea, (Mon Jun 4, 4:02 pm)
Re: /usr/obj partition AWOL, Markus Lude, (Mon Jun 4, 6:33 pm)
Re: /usr/obj partition AWOL, Otto Moerbeek, (Mon Jun 4, 10:51 pm)
Re: /usr/obj partition AWOL, Emilio Perea, (Tue Jun 5, 8:41 am)
Re: /usr/obj partition AWOL, Markus Lude, (Wed Jun 6, 9:17 am)
Re: /usr/obj partition AWOL, Otto Moerbeek, (Wed Jun 6, 12:39 pm)
Re: /usr/obj partition AWOL, Otto Moerbeek, (Thu Jun 7, 12:06 am)
Re: /usr/obj partition AWOL, Otto Moerbeek, (Thu Jun 7, 3:51 am)
Re: /usr/obj partition AWOL, Otto Moerbeek, (Thu Jun 7, 10:50 am)
Re: /usr/obj partition AWOL, Emilio Perea, (Thu Jun 7, 2:58 pm)
Re: /usr/obj partition AWOL, Markus Lude, (Fri Jun 8, 9:44 am)
Invalid partition table (was /usr/obj partition AWOL), Emilio Perea, (Fri Jun 8, 7:08 pm)
Re: Invalid partition table (was /usr/obj partition AWOL), Kenneth R Westerback, (Fri Jun 8, 7:41 pm)
Re: Invalid partition table (was /usr/obj partition AWOL), Jimmy Mitchener, (Fri Jun 8, 10:04 pm)