From owner-freebsd-stable Tue Mar 19 13:26:48 2002 Delivered-To: freebsd-stable@freebsd.org Received: from zogbe.tasam.com (ut196.blacksburg.ntc-com.net [63.165.178.196]) by hub.freebsd.org (Postfix) with ESMTP id 036B737B404; Tue, 19 Mar 2002 13:26:39 -0800 (PST) Received: from gleason (zogbe.tasam.com [10.95.95.5] (may be forged)) by zogbe.tasam.com (8.11.6/8.11.6) with SMTP id g2JLQUs93381; Tue, 19 Mar 2002 16:26:30 -0500 (EST) Message-ID: <008901c1cf8c$be5d6f50$090510ac@gleason> From: "Joseph Gleason" To: "Jaye Mathisen" , Cc: References: <20020319131556.D99985@backmaster.cdsnet.net> Subject: Re: Problems with large disk. (> 1 TB) Date: Tue, 19 Mar 2002 16:26:32 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I don't have a solution for you, but I am pretty sure I know the problem: calc 2^31*512 = 1TB. disklabel references everything using a unit of 512 byte sectors. That number of sectors I'm sure is stored as an unsigned int making 2^31-1 the max number of sectors. Aka, just under a TB is fine, one TB or over is bad. So the 32mb dos partition probably made it just under a TB. Maybe someone else knows a solution for this problem. ----- Original Message ----- From: "Jaye Mathisen" To: Cc: Sent: Tuesday, March 19, 2002 16:15 Subject: Problems with large disk. (> 1 TB) > > Trying to disklabel a 1 TB disk (with sysinstall or disklabel) > produces a lot of errors. In sysinstall, there's a kazillion > overflows and negative offsets, and stuff. > > With disklabel, it tells me that the partition size needs to > be truncated, then writes the label. then if I run disklabel > again, it takes the truncated size, says it's too big, and > truncates it again. > > Interestingly enough, using DOS FDISK to put a 32MB dos partition > at the beginning of the drive makes it all work fine. > > I am not convinced that I am not missing some space, but I haven't > counted up everything yet. > > In any case, is this supposed to work? I'll snag a ton of data > if somebody wants to look at it, but I don't want to invest > the time if it's not meant to. > > This is a 8 disk Maxtor 160GB disks in raid 5, on a 3ware > 7850 with the 7.4 release firmware. > > -Stable supped as of 3/19. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message