From owner-freebsd-questions Tue Jun 20 6:24:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from vixen.nrlssc.navy.mil (vixen.nrlssc.navy.mil [128.160.52.117]) by hub.freebsd.org (Postfix) with ESMTP id 50D9037BE9E for ; Tue, 20 Jun 2000 06:24:34 -0700 (PDT) (envelope-from fonseca@csips5.nrlssc.navy.mil) Received: from csips5.nrlssc.navy.mil (csips5.nrlssc.navy.mil [128.160.25.41]) by vixen.nrlssc.navy.mil (8.8.5/8.8.5) with ESMTP id IAA23075 for ; Tue, 20 Jun 2000 08:27:38 -0500 (CDT) Received: from cserv.nrlssc.navy.mil (cserv [128.160.25.34]) by csips5.nrlssc.navy.mil (8.9.3/8.6.9) with ESMTP id IAA112180 for ; Tue, 20 Jun 2000 08:46:41 GMT From: Jason Fonseca Received: (from fonseca@localhost) by cserv.nrlssc.navy.mil (8.9.3/8.9.3) id DAA493707 for freebsd-questions@FreeBSD.ORG; Tue, 20 Jun 2000 03:46:41 -0500 (CDT) Date: Tue, 20 Jun 2000 03:46:41 -0500 (CDT) Message-Id: <200006200846.DAA493707@cserv.nrlssc.navy.mil> To: freebsd-questions@FreeBSD.ORG Subject: Trouble connecting ~700GB drive. Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: 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 thing# To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message