32bit filesystem limitations
ivoras at freebsd.org
Wed Mar 25 08:09:02 PDT 2009
Andrei Kolu wrote:
> Ivan Voras wrote:
>> Andrei Kolu wrote:
>>> I have trouble to create FreeBSD 7.1 i386 partition/slice to 3Ware 8port
>>> 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. What
>>> is the problem?
>> 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.
> 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.
> Second attempt:
> Now I reserved 20GB for "boot volume" from 3Ware 9650SE controller and
> looks like it ...oops...did it again....deem.
> # 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20090325/265b5480/signature.pgp
More information about the freebsd-stable