Is this a bug, or just me running out of ram? Look at the multiple mount attempts at the bottom - 3rd one works?! Why? Should I sendbug? This box is not on the network yet, which is why I'm asking.
dmesg at the bottom # uname -a OpenBSD newurd.spidernet.to 4.4 GENERIC#1021 i386 # df -h Filesystem Size Used Avail Capacity Mounted on /dev/wd0a 72.4G 6.8G 62.0G 10% / /dev/sd0a 186G 159G 17.7G 90% /mnt # newfs /dev/rsd1a [output munched] # mkdir /mnt2; # mount /dev/sd1a /mnt2 # rsync -av /mnt/* /mnt2/ [output munched] # df -h Filesystem Size Used Avail Capacity Mounted on /dev/wd0a 72.4G 6.8G 62.0G 10% / /dev/sd0a 186G 159G 17.7G 90% /mnt /dev/sd1a 229G 166G 51.7G 76% /mnt2 # umount /mnt2 umount: /mnt2: Cannot allocate memory # sync # w 10:14AM up 15 days, 20:58, 1 user, load averages: 0.21, 0.15, 0.10 USER TTY FROM LOGIN@ IDLE WHAT root p4 apple2 10:12AM 0 w # top # lsof /mnt2 # umount /mnt2 # df -h Filesystem Size Used Avail Capacity Mounted on /dev/wd0a 72.4G 6.8G 62.0G 10% / /dev/sd0a 186G 159G 17.7G 90% /mnt # fsck /dev/sd1a ** /dev/rsd1a ** File system is clean; not checking # fsck -f /dev/sd1a ** /dev/rsd1a ** File system is already clean ** Last Mounted on /mnt2 ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 450839 files, 87042327 used, 33123735 free (7639 frags, 4139512 blocks, 0.0% fragmentation) # mount /dev/sd1a /mnt2 mount_ffs: /dev/sd1a on /mnt2: Cannot allocate memory # top # mount /dev/sd1a /mnt2 mount_ffs: /dev/sd1a on /mnt2: Cannot allocate memory # mount /dev/sd1a /mnt2 [Why did it work on the 3rd attempt??!] # dmesg OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: VIA Samuel 2 ("CentaurHauls" 686-class) 797 MHz cpu0: FPU,DE,TSC,MSR,MTRR,PGE,MMX real mem = 1039691776 (991MB) avail mem = 996839424 (950MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/19/04, BIOS32 rev. 0 @ 0xfdad0, SMBIOS rev. 2.3 @ 0xf0630 (24 entries) bios0: vendor American Megatrends Inc. version "Version 07.00T" date 04/02/01 bios0: ECS M789CG apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf79a0/144 (7 entries) pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT8235 ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc0000/0x7e00 0xc8000/0x3000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "VIA VT8623 PCI" rev 0x00 ppb0 at pci0 dev 1 function 0 "VIA VT8633 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "VIA CLE266" rev 0x03 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) agp0 at vga1: v2, aperture at 0xe0000000, size 0x10000000 drm at vga1 unsupported uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 11 uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 5 uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 12 ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82: irq 10 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1 viapm0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00 iic0 at viapm0 spdmem0 at iic0 addr 0x50: 1GB DDR SDRAM non-parity PC2100CL2.5 pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <WDC WD800JB-00JJA0> wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 pciide0: channel 1 disabled (no drives) auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x50: irq 12 ac97: codec id 0x434d4983 (C-Media Electronics CMI9761A+) audio0 at auvia0 vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x74: irq 11, address 00:1b:b9:9f:10:7b ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 10: OUI 0x004063, model 0x0032 usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "VIA UHCI root hub" rev 1.00/1.00 addr 1 isa0 at mainbus0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: 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 it0 at isa0 port 0x2e/2: IT8705F rev 0x03, EC port 0x290 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 biomask ff6d netmask ff6d ttymask ffff softraid0 at root root on wd0a swap on wd0b dump on wd0b WARNING: / was not properly unmounted umass0 at uhub0 port 2 configuration 1 interface 0 "JMicron USB to ATA/ATAPI Bridge" rev 2.00/1.00 addr 2 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: <Maxtor 6, Y200P0, 1BW0> SCSI2 0/direct fixed sd0: 194481MB, 24792 cyl, 255 head, 63 sec, 512 bytes/sec, 398297088 sec total umass1 at uhub0 port 5 configuration 1 interface 0 "Seagate FreeAgent Go" rev 2.00/0.00 addr 3 umass1: using SCSI over Bulk-Only scsibus1 at umass1: 2 targets, initiator 0 sd1 at scsibus1 targ 1 lun 0: <Seagate, FreeAgent Go, 100F> SCSI2 0/direct fixed sd1: 238475MB, 30401 cyl, 255 head, 63 sec, 512 bytes/sec, 488397168 sec total sd1 detached scsibus1 detached umass1 detached umass1 at uhub0 port 5 configuration 1 interface 0 "Seagate FreeAgent Go" rev 2.00/0.00 addr 3 umass1: using SCSI over Bulk-Only scsibus1 at umass1: 2 targets, initiator 0 sd1 at scsibus1 targ 1 lun 0: <Seagate, FreeAgent Go, 100F> SCSI2 0/direct fixed sd1: 238475MB, 30401 cyl, 255 head, 63 sec, 512 bytes/sec, 488397168 sec total -- http://www.glumbert.com/media/shift http://www.youtube.com/watch?v=tGvHNNOLnCk "This officer's men seem to follow him merely out of idle curiosity." -- Sandhurst officer cadet evaluation. "Securing an environment of Windows platforms from abuse - external or internal - is akin to trying to install sprinklers in a fireworks factory where smoking on the job is permitted." -- Gene Spafford learn french: http://www.youtube.com/watch?v=j1G-3laJJP0&feature=related