Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2002 16:26:32 -0500
From:      "Joseph Gleason" <clash@tasam.com>
To:        "Jaye Mathisen" <mrcpu@internetcds.com>, <stable@FreeBSD.ORG>
Cc:        <questions@FreeBSD.ORG>
Subject:   Re: Problems with large disk. (> 1 TB)
Message-ID:  <008901c1cf8c$be5d6f50$090510ac@gleason>
References:  <20020319131556.D99985@backmaster.cdsnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <mrcpu@internetcds.com>
To: <stable@FreeBSD.ORG>
Cc: <questions@FreeBSD.ORG>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008901c1cf8c$be5d6f50$090510ac>