Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jun 2000 12:51:07 GMT
From:      Jason Fonseca <fonseca@csips5.nrlssc.navy.mil>
To:        freebsd-questions@freebsd.org
Subject:   Trouble with ~700GB drive and FreeBSD 4.0
Message-ID:  <200006191251.MAA103198@csips5.nrlssc.navy.mil>

next in thread | raw e-mail | index | archive | help
I'm having trouble with a ~700GB array I'm trying to connect to a Micron
NetFrame 5200 running FreeBSD 4.0 using an Adaptec 2940U2W.  First, dmesg 
reports the drive as follows:

da6 at ahc2 bus 0 target 1 lun 0
da6: <RAIDinc. COBRA-2 0223> Fixed Direct Access SCSI-2 device 
da6: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da6: 667826MB (1367708160 512 byte sectors: 64H 32S/T 12466C)

Note that the size and total number of sectors is correct but the number of
cylinders appears to be truncated.

I can label, newfs, mount, and unmount the drive, but fsck claims the 
superblock is bad every time.  It claims to fix it, but if fsck is run again
it reports the same problem.  Below is a transcript of the session showing the
disklabel, newfs, and fsck's.  Is there a problem with the configuration or
does FreeBSD have trouble with this size drive?

thing# disklabel da6
# /dev/rda6c:
type: SCSI
disk: RAIDinc.
label: 
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 667826
sectors/unit: 1367708160
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]
  c: 1367708160        0    unused        0     0               # (Cyl.    0 - 667826*)
  e: 1367708160        0    4.2BSD     1024  8192    16         # (Cyl.    0 - 667826*)
thing# newfs /dev/da6e 
Warning: 3584 sector(s) in last cylinder unallocated
/dev/da6e:      1367708160 sectors in 333914 cylinders of 1 tracks, 4096 sectors
        667826.2MB in 20870 cyl groups (16 c/g, 32.00MB/g, 7936 i/g)
super-block backups (for fsck -b #) at:
 32, 65568, 131104, 196640, 262176, 327712, 393248, 458784, 524320, 589856,
 655392, 720928, 786464, 852000, 917536, 983072, 1048608, 1114144, 1179680,

***Listing of many super-block backup locations deleted*****************

 1367015456, 1367080992, 1367146528, 1367212064, 1367277600, 1367343136,
 1367408672, 1367474208, 1367539744, 1367605280, 1367670816
thing# fsck /dev/da6e
** /dev/da6e
BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE

LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y

USING ALTERNATE SUPERBLOCK AT 32
** Last Mounted on 
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
1 files, 1 used, 662816776 free (8 frags, 82852096 blocks, 0.0% fragmentation)

UPDATE STANDARD SUPERBLOCK? [yn] y


***** FILE SYSTEM WAS MODIFIED *****
thing# fsck /dev/da6e
** /dev/da6e
BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE

LOOK FOR ALTERNATE SUPERBLOCKS? [yn] n


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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