Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Mar 2009 16:08:08 +0100
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: 32bit filesystem limitations
Message-ID:  <gqdhdp$qeb$1@ger.gmane.org>
In-Reply-To: <49CA4498.2020007@bsd.ee>
References:  <49CA3795.609@bsd.ee> <gqddl4$bd2$1@ger.gmane.org> <49CA4498.2020007@bsd.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig0632D13C442FD2ACA6D5856F
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Andrei Kolu wrote:
> Ivan Voras wrote:
>> Andrei Kolu wrote:
>> =20
>>> Hi,
>>>
>>> I have trouble to create FreeBSD 7.1 i386 partition/slice to 3Ware 8p=
ort
>>> raid kontroller with 8x500GB drives attached to it. Raid 5 massive is=

>>> 3,1TB in size and during sysinstall installation I select whole
>>> available space but after restart I can access only 1,2TB from it. Wh=
at
>>> is the problem?
>>>    =20
>>
>> MS-DOS fdisk partitions and bsdlabel partitions both have 32-bit
>> limitations on the file system size. You should use gpart to partition=

>> the large volume. That is, except if you want to boot from it also -
>> then it's a bit problematic; it's best to create two logical drives in=

>> your RAID controller - one small drive for the OS (something like 8 GB=

>> to keep the ports and all) and the rest for the data.
>>
>>  =20
> I created 20GB slice for system and selected everything else for /data
> but after restart I see again 1,2TB /data. After second sysinstall
> attempt I created another 2TB slice and now at least I can use whole
> space. Not so good but it works.
>=20
> Second attempt:
> Now I reserved 20GB for "boot volume" from 3Ware 9650SE controller and
> looks like it ...oops...did it again....deem.
>=20
> # df -H
> Filesystem     Size    Used   Avail Capacity  Mounted on
> /dev/da0s1a    2.1G    146M    1.8G     8%    /
> devfs          1.0k    1.0k      0B   100%    /dev
> /dev/da1s1d    1.2T    4.1k    1.1T     0%    /data
> /dev/da0s1d    3.1G     12k    2.9G     0%    /tmp
> /dev/da0s1f    8.3G    450M    7.2G     6%    /usr
> /dev/da0s1e    4.2G    281k    3.8G     0%    /var

Ok, you're on the right track. Just don't use bsdlabel or fdisk
partitions for da1 - clear the partition tables and use gpart to create
a GPT partition tables which has no 32-bit problems.


--------------enig0632D13C442FD2ACA6D5856F
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJykjYldnAQVacBcgRAt3EAJ9ykduKEkHD/8ED1VKld/KsOLJWEACdG4dV
H++fuYLFBeD3Kq0DGxpXZEQ=
=AgzX
-----END PGP SIGNATURE-----

--------------enig0632D13C442FD2ACA6D5856F--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?gqdhdp$qeb$1>