misc/118912: disk sizing/geometry problem with large array

stega freebsd at stega.org
Thu Dec 20 15:50:01 PST 2007


>Number:         118912
>Category:       misc
>Synopsis:       disk sizing/geometry problem with large array
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 20 23:50:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     stega
>Release:        6.2
>Organization:
sendmail.com
>Environment:
FreeBSD some.machine.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007     root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386      
>Description:
Dec 14 15:39:46 blahblahblah kernel: atapci0: <Intel ICH5 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x14a0-0x14af at device 31.1 on pci0
Dec 14 15:39:46 blahblahblah kernel: ata0: <ATA channel 0> on atapci0
Dec 14 15:39:46 blahblahblah kernel: ata1: <ATA channel 1> on atapci0
Dec 14 15:39:46 blahblahblah kernel: atapci1: <Intel ICH5 SATA150 controller> port 0x14d0-0x14d7,0x14c4-0x14c7,0x14c8-0x14cf,0x14c0-0x14c3,0x14b0-0x14bf irq 18 at device 31.2 on pci0
Dec 14 15:39:46 blahblahblah kernel: ata2: <ATA channel 0> on atapci1
Dec 14 15:39:46 blahblahblah kernel: ata3: <ATA channel 1> on atapci1     
[snip]
Dec 14 15:39:46 blahblahblah kernel: da0 at twa0 bus 0 target 0 lun 0
Dec 14 15:39:46 blahblahblah kernel: da0: <AMCC 9500S-8    DISK 2.08> Fixed Direct Access SCSI-3 device 
Dec 14 15:39:46 blahblahblah kernel: da0: 100.000MB/s transfers
Dec 14 15:39:46 blahblahblah kernel: da0: 2670213MB (5468596224 512 byte sectors: 255H 63S/T 340404C)
Dec 14 15:39:46 blahblahblah kernel: Trying to mount root from ufs:/dev/da0s1a       

[root at blahblahblah /var/log]# df -H
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/da0s1a     16G     61M     15G     0%    /
devfs          1.0k    1.0k      0B   100%    /dev
/dev/da0s1f    289G    8.2k    266G     0%    /store
/dev/da0s1d    244G    1.5G    223G     1%    /usr
/dev/da0s1e     16G    5.3M     15G     0%    /var

[da0s1f should be 10x what is is reporting as the install was set to use 2.2TB]

[root at blahblahblah /var/log]# disklabel da0s1
# /dev/da0s1:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a: 32768000        0    4.2BSD     2048 16384 28552 
  b: 32768000 557056000      swap                    
  c: 1173622901        0    unused        0     0         # "raw" part, don't edit
  d: 491520000 32768000    4.2BSD     2048 16384 28544 
  e: 32768000 524288000    4.2BSD     2048 16384 28552 
  f: 583798901 589824000    4.2BSD     2048 16384 28552    
>How-To-Repeat:
Install FreeBSD on to a machine/array configured over 2TB in size.

Reconfiguring the array to a 2x400GB mirror (which now holds /, /usr and /var) and a 6x400GB raid5 dropped the array disk size down to 1.8 and allowed sysinstall to format it and then I just shoved it in to fstab manually.  An annoying work around, but for now I'll live.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list