Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2005 21:00:00 +0800
From:      Xin LI <delphij@frontfree.net>
To:        "Raphael H. Becker" <rabe@p-i-n.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Accessing SCSI-Devices >2TB
Message-ID:  <20050608130000.GB45279@frontfree.net>
In-Reply-To: <20050608122324.C41471@p-i-n.com>
References:  <20050608122324.C41471@p-i-n.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--rJwd6BRFiFCcLxzm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi, Raphael,

On Wed, Jun 08, 2005 at 12:23:24PM +0200, Raphael H. Becker wrote:
> I tried to attach our new external RAID to my RENEG_5_4 box today using
> one logical drive of about 2326GB.=20
>=20
> The RAID was preconfigured with two 50% partitions which were assigned=20
> to two LUNs. FreeBSD 5.4 was able to detect those as da1 and da2 with=20
> full capacity.=20
>=20
> For particular reasons I need one filesystem.
>=20
> The support for this RAID told me just SuSE Linux and W2k3/64Bit Systems
> are able to access devices >2TB (64bit LBA) therefore the larger RAIDs=20
> are preconfigured with smaller partitions.
>=20
> For me there will be 2+1 solutions to get this running,
>=20
> a) (preferred): Having one logical drive w/o partitions or multiple LUNs
>    by doing some magic at my KERNCONF
>=20
> b) reverting to 2 Partitions and doing ccd(4) on the resulting /dev/da(1|=
2)
>=20
> ... maybe ...=20
>=20
> c) upgrading to a closer-to-current version to have some "hidden
>    feature" available?
>=20
> Any other solutions?

Sure.  Actually even RELENG_5_3 has the support with a GENERIC kernel :-)

If you want a partition larger than 2TB, then you will want to use gpt(8)
instead of fdisk(8).  In order to use that, you need to have:

	options         GEOM_GPT

In your kernel configuration.

2TB is a hard limit for MBR partitions, but not GPT, as the latter is
designed for 64-bit operating system.  Fortunately this is also available
on FreeBSD/i386 (also amd64 as far as I have tested, and it is supposed
to be available on other platforms that FreeBSD supported).

Of course I think we should document this somewhere in our handbook,
and teach sysinstall(8) about it :-)

Cheers,
--=20
Xin LI <delphij frontfree net>	http://www.delphij.net/
See complete headers for GPG key and other information.


--rJwd6BRFiFCcLxzm
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCpuvQ/cVsHxFZiIoRAt7sAJ45j2UdFGVxIZYGAIYsT6hPwwdfyACfeOZw
fn+PudRMIsqCrVQV6yqDIFs=
=9L7z
-----END PGP SIGNATURE-----

--rJwd6BRFiFCcLxzm--



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