Thanks for taking a look.

I will play with larger fragment/block sizes unless anyone suggests otherwise.

-William

On Mon, May 12, 2008 at 11:49 AM, Otto Moerbeek <[EMAIL PROTECTED]> wrote:
> On Fri, May 09, 2008 at 11:16:28AM -0400, Will wrote:
>
>  > Here are the requested outputs.
>
>  OK, your filesystem indeed uses default block and fragment sizes. The
>  # of inodes is about 238M.
>
>  De fsck_ffs code allocates a number of arrays directly depending on
>  the # of indodes in setup(), totalling 4 bytes per inode. Some other
>  data is also needed, so it's not surprise you hit the 1G data space limit.
>
>  I can only conclude that the 2TB number I gave to Nick for the FAQ is
>  wrong, and should be 1TB. There might be some leeway there, but I
>  don't have the time to test now. I'll fix the FAQ.
>
>         -Otto
>
>
>
>  >
>  > output of `df -i`:
>  >
>  > Filesystem  512-blocks      Used     Avail Capacity iused   ifree  %iused
>  > Mounted on
>  > /dev/sd0a       314480    101152    197604    34%    2189   23409     9%
>  > /
>  > /dev/sd0h      8264196        92   7850896     0%      20  545642     0%
>  > /home
>  > /dev/sd0d       251564        20    238968     0%       8   20470     0%
>  > /tmp
>  > /dev/sd0g     12391564   3360420   8411568    29%  193508  611994    24%
>  > /usr
>  > /dev/sd0e       172836     19604    144592    12%     941   13137     7%
>  > /var
>  > /dev/sd0i   3758267452 1935577136 1634776944    54%   25270 242482248
>  > 0%   /mnt/share
>  >
>  > output of `disklabel /dev/sd0`:
>  >
>  > # /dev/rsd0c:
>  > type: SCSI
>  > disk: SCSI disk
>  > label: Host drive
>  > flags:
>  > bytes/sector: 512
>  > sectors/track: 63
>  > tracks/cylinder: 255
>  > sectors/cylinder: 16065
>  > cylinders: 243152
>  > total sectors: 3906248704
>  > rpm: 3600
>  > interleave: 1
>  > trackskew: 0
>  > cylinderskew: 0
>  > headswitch: 0           # microseconds
>  > track-to-track seek: 0  # microseconds
>  > drivedata: 0
>  >
>  > 16 partitions:
>  > #                size           offset  fstype [fsize bsize  cpg]
>  >  a:           321237               63  4.2BSD   2048 16384    1
>  >  b:          4209030           321300    swap
>  >  c:       3906248704                0  unused      0     0
>  >  d:           257040          4530330  4.2BSD   2048 16384    1
>  >  e:           176715          4787370  4.2BSD   2048 16384    1
>  >  g:         12594960          4964085  4.2BSD   2048 16384    1
>  >  h:          8401995         17559045  4.2BSD   2048 16384    1
>  >  i:       3880275840         25961040  4.2BSD   2048 16384 38144
>  >
>  > Thanks,
>  > William
>  >
>  > On Fri, May 9, 2008 at 2:44 AM, Otto Moerbeek <[EMAIL PROTECTED]> wrote:
>  > > On Thu, May 08, 2008 at 05:18:26PM -0400, Will wrote:
>  > >
>  > >> I did see that, but did not realize that the 1GB limit is not a
>  > >> user-configurable feature.
>  > >>
>  > >> Even so, the FAQ implies that a 2TB filesystem is possible with
>  > >> default options, which is what I have.
>  > >
>  > > It might be the 2TB limit is a little too high, and the actual limit
>  > > is lower. Can you show us your disklabel entry for /dev/sd0i and the
>  > > output of df -i?
>  > >
>  > >        -Otto
>  > >
>  > >>
>  > >> relevant output of df:
>  > >>
>  > >> Filesystem  512-blocks      Used     Avail Capacity  Mounted on
>  > >> /dev/sd0i   3758267452 1935576944 1634777136    54%    /mnt/share
>  > >>
>  > >> -William
>  > >>
>  > >> On Thu, May 8, 2008 at 5:04 PM, David J. Stillman
>  > >> <[EMAIL PROTECTED]> wrote:
>  > >> > Isn't this the 1GB application limit mentioned in FAQ 14.7 - " By the 
> time
>  > >> > one gets to a 2TB file system with default fragment and block sizes, 
> fsck
>  > >> > will require 1GB RAM to run, which is the application limit under 
> OpenBSD.
>  > >> > Larger fragments and/or blocks will reduce the number of inodes, and 
> allow
>  > >> > for larger file systems."?
>  > >> >
>  > >> > Will wrote:
>  > >> >>
>  > >> >> Hello all,
>  > >> >>
>  > >> >> I just upgraded to 4.3, and I would like to congratulate the devs on
>  > >> >> another wonderful release! shutdown -p works and the wbng sensor
>  > >> >> support was a nice surprise. However, the most useful feature to me
>  > >> >> was the support for ffs2.
>  > >> >>
>  > >> >> I upgraded without a hitch, and repartitioned from a 1tb filesystem 
> to
>  > >> >> a 2tb share mount point. However, when I try to fsck the system just
>  > >> >> to make sure everything is ok, I receive this error:
>  > >> >>
>  > >> >> # fsck -f /dev/sd0i
>  > >> >> ** /dev/rsd0i
>  > >> >> ** File system is already clean
>  > >> >> cannot alloc 485015042 bytes for lncntp
>  > >> >>
>  > >> >> I just upgraded to 3gb ram, so that should be a non-issue according 
> to the
>  > >> >> faq.
>  > >> >>
>  > >> >> I have tried `ulimit -d unlimited` (as suggested previously in the
>  > >> >> archives), but the data limit will not go above 1048576, which I
>  > >> >> suspect to be the problem. I'm sure that there is another silly limit
>  > >> >> I am missing somewhere.
>  > >> >>
>  > >> >> Thanks for any help!
>  > >> >> -William
>  > >> >>
>  > >> >> Here is a dmesg of my system:
>  > >> >>
>  > >> >> OpenBSD 4.3 (GENERIC.MP) #1: Sat May  3 17:08:02 EDT 2008
>  > >> >>   [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>  > >> >> real mem = 3219636224 (3070MB)
>  > >> >> avail mem = 3110854656 (2966MB)
>  > >> >> mainbus0 at root
>  > >> >> bios0 at mainbus0: SMBIOS rev. 2.51 @ 0xbfeea000 (35 entries)
>  > >> >> bios0: vendor Phoenix Technologies LTD version "6.00" date 07/12/2006
>  > >> >> bios0: Supermicro PDSM4+
>  > >> >> acpi0 at bios0: rev 0
>  > >> >> acpi0: tables DSDT FACP MCFG APIC BOOT SSDT
>  > >> >> acpi0: wakeup devices PXHA(S5) PXHB(S5) DEV3(S5) EXP1(S5) EXP5(S5)
>  > >> >> EXP6(S5) PCIB(S5) KBC0(S1) MSE0(S1) COM1(S5) COM2(S5) USB1(S4) 
> USB2(S4)
>  > >> >> USB3(S4) USB4(S4) EUSB(S4)
>  > >> >> acpitimer0 at acpi0: 3579545 Hz, 24 bits
>  > >> >> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
>  > >> >> cpu0 at mainbus0: apid 0 (boot processor)
>  > >> >> cpu0: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz, 2394.32 MHz
>  > >> >> cpu0:
>  > >> >>
>  > >> >> 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG
>  > >> >> cpu0: 4MB 64b/line 16-way L2 cache
>  > >> >> cpu0: apic clock running at 266MHz
>  > >> >> cpu1 at mainbus0: apid 1 (application processor)
>  > >> >> cpu1: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz, 2394.00 MHz
>  > >> >> cpu1:
>  > >> >>
>  > >> >> 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG
>  > >> >> cpu1: 4MB 64b/line 16-way L2 cache
>  > >> >> ioapic0 at mainbus0 apid 2 pa 0xfec00000, version 20, 24 pins
>  > >> >> ioapic1 at mainbus0 apid 3 pa 0xfecc0000, version 20, 24 pins
>  > >> >> ioapic2 at mainbus0 apid 4 pa 0xfecc0400, version 20, 24 pins
>  > >> >> acpiprt0 at acpi0: bus 0 (PCI0)
>  > >> >> acpiprt1 at acpi0: bus 2 (PXHA)
>  > >> >> acpiprt2 at acpi0: bus 3 (PXHB)
>  > >> >> acpiprt3 at acpi0: bus -1 (DEV3)
>  > >> >> acpiprt4 at acpi0: bus 9 (EXP1)
>  > >> >> acpiprt5 at acpi0: bus 13 (EXP5)
>  > >> >> acpiprt6 at acpi0: bus 14 (EXP6)
>  > >> >> acpiprt7 at acpi0: bus 15 (PCIB)
>  > >> >> acpicpu0 at acpi0
>  > >> >> acpicpu1 at acpi0
>  > >> >> acpibtn0 at acpi0: PWRB
>  > >> >> ipmi at mainbus0 not configured
>  > >> >> pci0 at mainbus0 bus 0: configuration mode 1
>  > >> >> pchb0 at pci0 dev 0 function 0 "Intel E7230 Host" rev 0xc0
>  > >> >> ppb0 at pci0 dev 1 function 0 "Intel E7230 PCIE" rev 0xc0: apic 2 
> int 16
>  > >> >> (irq 10)
>  > >> >> pci1 at ppb0 bus 1
>  > >> >> ppb1 at pci1 dev 0 function 0 "Intel PCIE-PCIE" rev 0x09
>  > >> >> pci2 at ppb1 bus 2
>  > >> >> "Intel IOxAPIC" rev 0x09 at pci1 dev 0 function 1 not configured
>  > >> >> ppb2 at pci1 dev 0 function 2 "Intel PCIE-PCIE" rev 0x09
>  > >> >> pci3 at ppb2 bus 3
>  > >> >> ppb3 at pci3 dev 3 function 0 "Intel IOP331 PCIX-PCIX" rev 0x07
>  > >> >> pci4 at ppb3 bus 4
>  > >> >> ami0 at pci4 dev 14 function 0 "Symbios Logic MegaRAID SATA 4x/8x" 
> rev
>  > >> >> 0x07: apic 4 int 4 (irq 10)
>  > >> >> ami0: LSI 3008, 32b, FW 815C, BIOS vH432, 128MB RAM
>  > >> >> ami0: 1 channels, 0 FC loops, 1 logical drives
>  > >> >> scsibus0 at ami0: 40 targets
>  > >> >> sd0 at scsibus0 targ 0 lun 0: <AMI, Host drive #00, > SCSI2 0/direct 
> fixed
>  > >> >> sd0: 1907348MB, 243152 cyl, 255 head, 63 sec, 512 bytes/sec, 
> 3906248704
>  > >> >> sec total
>  > >> >> scsibus1 at ami0: 16 targets
>  > >> >> "Intel IOxAPIC" rev 0x09 at pci1 dev 0 function 3 not configured
>  > >> >> ppb4 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: apic 2 
> int
>  > >> >> 17 (irq 11)
>  > >> >> pci5 at ppb4 bus 9
>  > >> >> ppb5 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: apic 2 
> int 17
>  > >> >> (irq 11)
>  > >> >> pci6 at ppb5 bus 13
>  > >> >> em0 at pci6 dev 0 function 0 "Intel PRO/1000MT (82573E)" rev 0x03: 
> apic 2
>  > >> >> int 16 (irq 10), address 00:30:48:8b:b6:76
>  > >> >> ppb6 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01: apic 2 
> int 16
>  > >> >> (irq 10)
>  > >> >> pci7 at ppb6 bus 14
>  > >> >> em1 at pci7 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: 
> apic 2
>  > >> >> int 17 (irq 11), address 00:30:48:8b:b6:77
>  > >> >> uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 2 
> int
>  > >> >> 23 (irq 5)
>  > >> >> uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 2 
> int
>  > >> >> 19 (irq 10)
>  > >> >> uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 2 
> int
>  > >> >> 18 (irq 11)
>  > >> >> uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 2 
> int
>  > >> >> 16 (irq 10)
>  > >> >> ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 2 
> int
>  > >> >> 23 (irq 5)
>  > >> >> usb0 at ehci0: USB revision 2.0
>  > >> >> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
>  > >> >> ppb7 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1
>  > >> >> pci8 at ppb7 bus 15
>  > >> >> vga1 at pci8 dev 4 function 0 "ATI ES1000" rev 0x02
>  > >> >> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
>  > >> >> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
>  > >> >> pcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01
>  > >> >> pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA,
>  > >> >> channel 0 configured to compatibility, channel 1 configured to
>  > >> >> compatibility
>  > >> >> pciide0: channel 0 disabled (no drives)
>  > >> >> pciide0: channel 1 disabled (no drives)
>  > >> >> ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x01: 
> apic 2
>  > >> >> int 19 (irq 10)
>  > >> >> iic0 at ichiic0
>  > >> >> lm1 at iic0 addr 0x2d: W83627HF
>  > >> >> wbng0 at iic0 addr 0x2f: w83793g
>  > >> >> iic0: addr 0x48 00=7f 02=4b 03=50 04=7f 06=4b 07=50 08=7f 0a=4b 0b=50
>  > >> >> 0c=7f 0e=4b 0f=50 10=7f 12=4b 13=50 14=7f 16=4b 17=50 18=7f 1a=4b 
> 1b=50
>  > >> >> 1c=7f 1e=4b 1f=50 20=7f 22=4b 23=50 24=7f 26=4b 27=50 28=7f 2a=4b 
> 2b=50
>  > >> >> 2c=7f 2e=4b 2f=50 30=7f 32=4b 33=50 34=7f 36=4b 37=50 38=7f 3a=4b 
> 3b=50
>  > >> >> 3c=7f 3e=4b 3f=50 40=7f 42=4b 43=50 44=7f 46=4b 47=50 48=7f 4a=4b 
> 4b=50
>  > >> >> 4c=7f 4e=4b 4f=50 50=7f 52=4b 53=50 54=7f 56=4b 57=50 58=7f 5a=4b 
> 5b=50
>  > >> >> 5c=7f 5e=4b 5f=50 60=7f 62=4b 63=50 64=7f 66=4b 67=50 68=7f 6a=4b 
> 6b=50
>  > >> >> 6c=7f 6e=4b 6f=50 70=7f 72=4b 73=50 74=7f 76=4b 77=50 78=7f 7a=4b 
> 7b=50
>  > >> >> 7c=7f 7e=4b 7f=50 80=7f 82=4b 83=50 84=7f 86=4b 87=50 88=7f 8a=4b 
> 8b=50
>  > >> >> 8c=7f 8e=4b 8f=50 90=7f 92=4b 93=50 94=7f 96=4b 97=50 98=7f 9a=4b 
> 9b=50
>  > >> >> 9c=7f 9e=4b 9f=50 a0=7f a2=4b a3=50 a4=7f a6=4b a7=50 a8=7f aa=4b 
> ab=50
>  > >> >> ac=7f ae=4b af=50 b0=7f b2=4b b3=50 b4=7f b6=4b b7=50 b8=7f ba=4b 
> bb=50
>  > >> >> bc=7f be=4b bf=50 c0=7f c2=4b c3=50 c4=7f c6=4b c7=50 c8=7f ca=4b 
> cb=50
>  > >> >> cc=7f ce=4b cf=50 d0=7f d2=4b d3=50 d4=7f d6=4b d7=50 d!
>  > >> >>
>  > >> >>  8=7f da=4b db=50 dc=7f de=4b df=50 e0=7f e2=4b e3=50 e4=7f e6=4b 
> e7=50
>  > >> >> e8=7f ea=4b eb=50 ec=7f ee=4b ef=50 f0=7f f2=4b f3=50 f4=7f f6=4b 
> f7=50
>  > >> >> f8=7f fa=4b fb=50 fc=7f fe=4b ff=50 words 00=7f00 01=00ff 02=4b00 
> 03=5000
>  > >> >> 04=7f00 05=00ff 06=4b00 07=5000 08=7f00 09=00ff 0a=4b00 0b=5000 
> 0c=7f00
>  > >> >> 0d=00ff 0e=4b00 0f=5000
>  > >> >> iic0: addr 0x49 00=7f 02=4b 03=50 04=7f 06=4b 07=50 08=7f 0a=4b 0b=50
>  > >> >> 0c=7f 0e=4b 0f=50 10=7f 12=4b 13=50 14=7f 16=4b 17=50 18=7f 1a=4b 
> 1b=50
>  > >> >> 1c=7f 1e=4b 1f=50 20=7f 22=4b 23=50 24=7f 26=4b 27=50 28=7f 2a=4b 
> 2b=50
>  > >> >> 2c=7f 2e=4b 2f=50 30=7f 32=4b 33=50 34=7f 36=4b 37=50 38=7f 3a=4b 
> 3b=50
>  > >> >> 3c=7f 3e=4b 3f=50 40=7f 42=4b 43=50 44=7f 46=4b 47=50 48=7f 4a=4b 
> 4b=50
>  > >> >> 4c=7f 4e=4b 4f=50 50=7f 52=4b 53=50 54=7f 56=4b 57=50 58=7f 5a=4b 
> 5b=50
>  > >> >> 5c=7f 5e=4b 5f=50 60=7f 62=4b 63=50 64=7f 66=4b 67=50 68=7f 6a=4b 
> 6b=50
>  > >> >> 6c=7f 6e=4b 6f=50 70=7f 72=4b 73=50 74=7f 76=4b 77=50 78=7f 7a=4b 
> 7b=50
>  > >> >> 7c=7f 7e=4b 7f=50 80=7f 82=4b 83=50 84=7f 86=4b 87=50 88=7f 8a=4b 
> 8b=50
>  > >> >> 8c=7f 8e=4b 8f=50 90=7f 92=4b 93=50 94=7f 96=4b 97=50 98=7f 9a=4b 
> 9b=50
>  > >> >> 9c=7f 9e=4b 9f=50 a0=7f a2=4b a3=50 a4=7f a6=4b a7=50 a8=7f aa=4b 
> ab=50
>  > >> >> ac=7f ae=4b af=50 b0=7f b2=4b b3=50 b4=7f b6=4b b7=50 b8=7f ba=4b 
> bb=50
>  > >> >> bc=7f be=4b bf=50 c0=7f c2=4b c3=50 c4=7f c6=4b c7=50 c8=7f ca=4b 
> cb=50
>  > >> >> cc=7f ce=4b cf=50 d0=7f d2=4b d3=50 d4=7f d6=4b d7=50 d!
>  > >> >>
>  > >> >>  8=7f da=4b db=50 dc=7f de=4b df=50 e0=7f e2=4b e3=50 e4=7f e6=4b 
> e7=50
>  > >> >> e8=7f ea=4b eb=50 ec=7f ee=4b ef=50 f0=7f f2=4b f3=50 f4=7f f6=4b 
> f7=50
>  > >> >> f8=7f fa=4b fb=50 fc=7f fe=4b ff=50 words 00=7f00 01=00ff 02=4b00 
> 03=5000
>  > >> >> 04=7f00 05=00ff 06=4b00 07=5000 08=7f00 09=00ff 0a=4b00 0b=5000 
> 0c=7f00
>  > >> >> 0d=00ff 0e=4b00 0f=5000
>  > >> >> spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM ECC PC2-5300CL5
>  > >> >> spdmem1 at iic0 addr 0x51: 1GB DDR2 SDRAM ECC PC2-5300CL5
>  > >> >> spdmem2 at iic0 addr 0x52: 1GB DDR2 SDRAM ECC PC2-5300CL5
>  > >> >> usb1 at uhci0: USB revision 1.0
>  > >> >> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
>  > >> >> usb2 at uhci1: USB revision 1.0
>  > >> >> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
>  > >> >> usb3 at uhci2: USB revision 1.0
>  > >> >> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
>  > >> >> usb4 at uhci3: USB revision 1.0
>  > >> >> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
>  > >> >> isa0 at pcib0
>  > >> >> isadma0 at isa0
>  > >> >> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
>  > >> >> com0: console
>  > >> >> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
>  > >> >> pckbc0 at isa0 port 0x60/5
>  > >> >> pckbd0 at pckbc0 (kbd slot)
>  > >> >> pckbc0: using irq 1 for kbd slot
>  > >> >> wskbd0 at pckbd0: console keyboard, using wsdisplay0
>  > >> >> pcppi0 at isa0 port 0x61
>  > >> >> midi0 at pcppi0: <PC speaker>
>  > >> >> spkr0 at pcppi0
>  > >> >> lpt0 at isa0 port 0x378/4 irq 7
>  > >> >> wbsio0 at isa0 port 0x2e/2: W83627HF rev 0x41
>  > >> >>  port 0x295/2 not configured
>  > >> >> lm0 at isa0 port 0x290/8: W83627HF
>  > >> >> lm1 detached
>  > >> >> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
>  > >> >> softraid0 at root
>  > >> >> root on sd0a swap on sd0b dump on sd0b

Reply via email to