From nobody@FreeBSD.org  Sat Mar 26 12:06:45 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CBF4716A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 26 Mar 2005 12:06:45 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id ACAA443D5A
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 26 Mar 2005 12:06:45 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j2QC6jC9061559
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 26 Mar 2005 12:06:45 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j2QC6jjg061558;
	Sat, 26 Mar 2005 12:06:45 GMT
	(envelope-from nobody)
Message-Id: <200503261206.j2QC6jjg061558@www.freebsd.org>
Date: Sat, 26 Mar 2005 12:06:45 GMT
From: Piotr Kucharski <chopin@sgh.waw.pl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: newfs fails on 2.6TB gbde device 
X-Send-Pr-Version: www-2.3

>Number:         79251
>Category:       kern
>Synopsis:       [2TB] newfs fails on 2.6TB gbde device
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-geom
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 26 12:10:02 GMT 2005
>Closed-Date:    
>Last-Modified:  Tue May 10 13:19:47 GMT 2005
>Originator:     Piotr Kucharski
>Release:        5.4-PRERELEASE
>Organization:
>Environment:
FreeBSD imperator 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #4: Fri Mar 25 18:52:34 CET 2005  root@imperator /usr/obj/usr/src/sys/IMPERATOR  i386

sources cvsuped 2005-03-25

>Description:
newfs on 2.6TB gbde disk fails, while newfs on the same 2.6TB disk finishes fine

>How-To-Repeat:
Given the disk (from Simbolo Proware ide-to-scsi array):
da2: <SB-3160S Volume Set # 00 R001> Fixed Direct Access SCSI-3 device 
da2: 160.000MB/s transfers (80.000MHz, offset 62, 16bit), Tagged Queueing Enabled
da2: 2670286MB (5468746752 512 byte sectors: 255H 63S/T 340413C)

newfs /dev/da2 works without a problem, while following steps fail:

gbde init /dev/da2
gbde attach da2
newfs /dev/da2.bde 
/dev/da2.bde: 2589368.7MB (5303027136 sectors) block size 16384, fragment size 2048 using 
14091 cylinder groups of 183.77MB, 11761 blks, 23552 inodes.
super-block backups (for fsck -b #) at:
 160, 376512, 752864, 1129216, 1505568, [...few pages omitted...]
 4159442464, 4159818816, 4160195168, 4160571520, 4160947872, 4161324224, 4161700576,
 4162076928, 4162453280, 4162829632, 4163205984, 4163582336, 4163958688, 4164335040,newfs:
 wtfs: 65536 bytes at sector 4164711392: Input/output error

>Fix:
      
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-geom 
Responsible-Changed-By: arved 
Responsible-Changed-When: Tue May 10 13:19:09 GMT 2005 
Responsible-Changed-Why:  
over to GEOM mailinglist 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79251 
>Unformatted:
