Before I screw up my filesystem, I would like to see if it's safe to
proceed. I have a 1TB FFS2 partition, which I'm about to grow to ~1.5TB

original disklabel:
  a:       2097157167               63  4.2BSD   8192 65536    1 
           ^
  c:       3907031040                0  unused      0     0 

new disklabel:
  a:       3097157167               63  4.2BSD   8192 65536    1 
           ^
  c:       3907031040                0  unused      0     0 

now to growfs(8):

$ growfs -N sd0a      
new file systemsize is: 193572322 frags
Warning: 6118432 sector(s) cannot be allocated.
growfs: 1509296.2MB (3091038720 sectors) block size 65536, fragment size
8192
        using 462 cylinder groups of 3266.88MB, 52270 blks, 104704
inodes.
super-block backups (for fsck -b #) at:
 2100836096(null) 2107526656(null) 2114217216(null) 2120907776(null)
2127598336(null)
 2134288896(null) 2140979456(null) -2147297280(null) -2140606720(null)
-2133916160(null)
 -2127225600(null) -2120535040(null) -2113844480(null) -2107153920(null)
-2100463360(null)
 -2093772800(null) -2087082240(null) -2080391680(null) -2073701120(null)
-2067010560(null)
 -2060320000(null) -2053629440(null) -2046938880(null) -2040248320(null)
-2033557760(null)
 -2026867200(null) -2020176640(null) -2013486080(null) -2006795520(null)
and so on....

Looks quite suspicious to me -- please comment.


OpenBSD 4.4-current (GENERIC) #1636: Mon Dec 22 11:50:42 MST 2008
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 2.60GHz ("GenuineIntel" 686-class) 2.61 GHz
cpu0: 
FPU,V86,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,CNXT-ID,xTPR
real mem  = 2146201600 (2046MB)
avail mem = 2066993152 (1971MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/23/04, BIOS32 rev. 0 @ 0xf0010, SMBIOS 
rev. 2.3 @ 0xf04a0 (68 entries)
bios0: vendor American Megatrends Inc. version "080009" date 02/23/2004
bios0: ASUSTeK Computer Inc. P4P800
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC OEMB
acpi0: wakeup devices P0P4(S4) MC97(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4) 
EUSB(S4) PS2K(S4) PS2M(S4) ILAN(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 200MHz
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (P0P4)
acpiprt2 at acpi0: bus -1 (P0P2)
acpicpu0 at acpi0
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc0000/0xf000! 0xcf000/0x2600
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82865G Host" rev 0x02
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xf8000000, size 0x4000000
ppb0 at pci0 dev 1 function 0 "Intel 82865G AGP" rev 0x02
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 6600 GT AGP" rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 "Intel 82801EB/ER USB" rev 0x02: apic 2 int 16 
(irq 10)
uhci1 at pci0 dev 29 function 1 "Intel 82801EB/ER USB" rev 0x02: apic 2 int 19 
(irq 10)
uhci2 at pci0 dev 29 function 2 "Intel 82801EB/ER USB" rev 0x02: apic 2 int 18 
(irq 5)
uhci3 at pci0 dev 29 function 3 "Intel 82801EB/ER USB" rev 0x02: apic 2 int 16 
(irq 10)
ehci0 at pci0 dev 29 function 7 "Intel 82801EB/ER USB2" rev 0x02: apic 2 int 23 
(irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb1 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xc2
pci2 at ppb1 bus 2
skc0 at pci2 dev 5 function 0 "3Com 3c940" rev 0x12, Yukon (0x1): apic 2 int 22 
(irq 5)
sk0 at skc0 port A: address 00:0e:a6:14:9a:5b
eephy0 at sk0 phy 0: 88E1011 Gigabit PHY, rev. 3
ami0 at pci2 dev 10 function 0 "Symbios Logic MegaRAID" rev 0x01: apic 2 int 22 
(irq 5)
ami0: LSI 523, 32b, FW 713S, BIOS vG121, 64MB RAM
ami0: 1 channels, 0 FC loops, 1 logical drives
scsibus0 at ami0: 40 targets, initiator 40
sd0 at scsibus0 targ 0 lun 0: <AMI, Host drive #00, > SCSI2 0/direct fixed
sd0: 1907730MB, 512 bytes/sec, 3907031040 sec total
scsibus1 at ami0: 16 targets, initiator 16
emu0 at pci2 dev 11 function 0 "Creative Labs SoundBlaster Audigy" rev 0x04: 
apic 2 int 23 (irq 11)
ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at emu0
"Creative Labs SoundBlaster Audigy Digital" rev 0x04 at pci2 dev 11 function 1 
not configured
"Creative Labs Firewire" rev 0x04 at pci2 dev 11 function 2 not configured
ath0 at pci2 dev 12 function 0 "Atheros AR5212" rev 0x01: apic 2 int 20 (irq 5)
ath0: AR2414 7.9 phy 4.5 rf2413 5.6, FCC2A*, address 00:03:2f:3a:59:f7
xl0 at pci2 dev 13 function 0 "3Com 3c905 100Base-TX" rev 0x00: apic 2 int 21 
(irq 11), address 00:60:08:37:68:61
nsphy0 at xl0 phy 24: DP83840 10/100 PHY, rev. 1
ichpcib0 at pci0 dev 31 function 0 "Intel 82801EB/ER LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801EB/ER IDE" rev 0x02: DMA, channel 
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <HTS726060M9AT00>
wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus2 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus2 targ 0 lun 0: <PLEXTOR, DVDR PX-708A, 1.11> ATAPI 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 "Intel 82801EB/ER SMBus" rev 0x02: apic 2 int 
17 (irq 5)
iic0 at ichiic0
lm1 at iic0 addr 0x2f: W83791SD
spdmem0 at iic0 addr 0x50: 1GB DDR SDRAM non-parity PC4000CL3.0
spdmem1 at iic0 addr 0x52: 1GB DDR SDRAM non-parity PC4000CL3.0
auich0 at pci0 dev 31 function 5 "Intel 82801EB/ER AC97" rev 0x02: apic 2 int 
17 (irq 5), ICH5 AC97
ac97: codec id 0x41445375 (Analog Devices AD1985)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio1 at auich0
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 ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
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: W83627THF rev 0x82
lm2 at wbsio0 port 0x290/8: W83627THF
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b

Reply via email to