Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 1996 15:47:12 +0000
From:      tonyc@compnews.co.uk (Tony Clark)
To:        questions@freebsd.org
Subject:   QUESTION: disklabel.
Message-ID:  <8371.9606111447@padua.compnews.co.uk>

next in thread | raw e-mail | index | archive | help

I have looked through all the FreeBSD FAQ and searched the website for
answers but am still unable to fix this problem.

I have two disks both of which are Micro1991 (I know - i have heard bad things
about these disks but you got to give them the benefit of the doubt).

One disk works happily because freebsd has managed to install on this disk
(sd0) but the other is having problems.

SD0 information is:-

pepper# scsiformat -p c sd0
MICROP 
1991-27   1128RF 
28RF 

Mode data length:  35 
Medium type:  0 
Device Specific Parameter:  0 
Block descriptor length:  8 
Density code:  0 
Number of blocks:  978576 
Reserved:  0 
Block length:  512 
PS:  1 
Reserved:  0 
Page code:  4 
Page length:  22 
Number of Cylinders:  4476 
Number of Heads:  27 
Starting Cylinder-Write Precompensation:  0 
Starting Cylinder-Reduced Write Current:  0 
Drive Step Rate:  0 
Landing Zone Cylinder:  0 
Reserved:  0 
RPL:  0 
Rotational Offset:  0 
Reserved:  0 
Medium Rotation Rate:  5400 
Reserved:  0 
Reserved:  0 

Parition information of SD0 is:-

pepper# disklabel sd0
# /dev/rsd0c:
type: SCSI
disk: sd0s1
label: 
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 8668
sectors/unit: 17754080
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:   204800        0    4.2BSD        0     0     0   # (Cyl.    0 - 99)
  b:   409600   204800      swap                        # (Cyl.  100 - 299)
  c: 17754080        0    unused        0     0         # (Cyl.    0 - 8668*)
  e:   819200   614400    4.2BSD        0     0     0   # (Cyl.  300 - 699)
  f:  2048000  1433600    4.2BSD        0     0     0   # (Cyl.  700 - 1699)
  g: 14270464  3481600    4.2BSD        0     0     0   # (Cyl. 1700 - 8667)


I have configured SD1 to be the same as SD0 but when it comes to newfs it it
complains about superblock backups at about 13370960

12976160, 13041696, 13107232, 13172768, 13238304, 13303840,write error: 13370960
wtfs: Input/output error

The parition inforamtion for this disk SD1 is :-

4 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a: 17752064        0    4.2BSD        0     0     0   # (Cyl.    0 - 8667)
  c: 17754080        0    unused        0     0         # (Cyl.    0 - 8668*)

Does anyone have any clues what the problem is ?

Could it be that newfs is trying to write to areas that don't exsist or is the
parition table incorrect ?

Any help would be greatly appericated.

Thanx in advance.
Tony

-- 

Little Tony........

Systems Administrator (PA Data Design)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8371.9606111447>