32bit filesystem limitations

Andrei Kolu antik at bsd.ee
Wed Mar 25 07:50:00 PDT 2009


Ivan Voras wrote:
> Andrei Kolu wrote:
>   
>> Hi,
>>
>> 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

NOTE: during sysinstall partition creatin it showd me 3.2TB of /data...

# dmesg

da0 at twa0 bus 0 target 0 lun 0
da0: <AMCC 9650SE-8LP DISK 4.06> Fixed Direct Access SCSI-5 device
da0: 100.000MB/s transfers
da0: 20479MB (41943039 512 byte sectors: 255H 63S/T 2610C)
cd0 at umass-sim0 bus 0 target 0 lun 0
cd0: <ATAPI DVD A  DH20A3P XP5Z> Removable CD-ROM SCSI-0 device
cd0: 40.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present 
- tray closed
da1 at twa0 bus 0 target 0 lun 1
da1: <AMCC 9650SE-8LP DISK 4.06> Fixed Direct Access SCSI-5 device
da1: 100.000MB/s transfers
da1: 3317309MB (6793848833 512 byte sectors: 255H 63S/T 422897C)



More information about the freebsd-stable mailing list