On June 11, 2015 7:47:43 PM GMT+02:00, Noth <nothingn...@citycable.ch> wrote: >Hi misc@ > > I've got a couple of softraid 1 volumes on a server and the /home one >was filling up a bit too much so I had to delete a bunch of isos and >other non necessary items. I did this yesterday and it still hasn't >cleared the disk space completely yet:
This doesn't sound like a softraid problem. Is some other process holding those files open? Does fstat -f /home give a clue? /Alexander > ># bioctl -ih sd2 >Volume Status Size Device >softraid0 0 Online 910G sd2 RAID1 > 0 Online 910G 0:0.0 noencl <sd0d> > 1 Online 910G 0:1.0 noencl <sd1d> > ># df -kh >Filesystem Size Used Avail Capacity Mounted on >/dev/sd3a 19.7G 5.6G 13.0G 30% / >/dev/sd2a 906G 859G 1.2G 100% /home > >/home # du -sh >782G . > >So there's a rather large disparity there! I've tried issuing sync >commands a few times over the past 24 hours but to no avail : > >[Thu Jun 11 19:32:03] root@casper: /home # df -kh >Filesystem Size Used Avail Capacity Mounted on >/dev/sd3a 19.7G 5.6G 13.0G 30% / >/dev/sd2a 906G 859G 1.2G 100% /home >[Thu Jun 11 19:32:04] root@casper: /home # sync >[Thu Jun 11 19:35:26] root@casper: /home # df -kh >Filesystem Size Used Avail Capacity Mounted on >/dev/sd3a 19.7G 5.6G 13.0G 30% / >/dev/sd2a 906G 859G 1.2G 100% /home > >dmesg: >OpenBSD 5.7 (GENERIC.MP) #0: Tue May 5 20:04:33 CEST 2015 >r...@openbsd64.nineinchnetworks.ch:/root/binpatchng-2.1.2/work-binpatch57-amd64/src/sys/arch/amd64/compile/GENERIC.MP >RTC BIOS diagnostic error 80<clock_battery> >real mem = 4260089856 (4062MB) >avail mem = 4142768128 (3950MB) >mpath0 at root >scsibus0 at mpath0: 256 targets >mainbus0 at root >bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xceebd000 (28 entries) >bios0: vendor Intel Corp. version "CCCDT10N.86A.0032.2012.0323.1510" >date 03/23/2012 >bios0: Intel Corporation D2500CC >acpi0 at bios0: rev 2 >acpi0: sleep states S0 S3 S4 S5 >acpi0: tables DSDT FACP SSDT APIC MCFG HPET >acpi0: wakeup devices SLT1(S4) PS2M(S4) PS2K(S4) UAR1(S3) UAR2(S3) >UAR3(S4) UAR4(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB7(S3) PXSX(S4) > >RP01(S4) PXSX(S4) RP02(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) Atom(TM) CPU D2500 @ 1.86GHz, 1867.05 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,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC >cpu0: 512KB 64b/line 8-way L2 cache >cpu0: smt 0, core 0, package 0 >mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges >cpu0: apic clock running at 133MHz >cpu0: mwait min=64, max=64, C-substates=0.1.0.0.0, IBE >cpu1 at mainbus0: apid 1 (application processor) >cpu1: Intel(R) Atom(TM) CPU D2500 @ 1.86GHz, 1866.73 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,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC >cpu1: 512KB 64b/line 8-way L2 cache >cpu1: smt 0, core 1, package 0 >ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins >ioapic0: misconfigured as apic 0, remapped to apid 8 >acpimcfg0 at acpi0 addr 0xe0000000, bus 0-63 >acpihpet0 at acpi0: 14318179 Hz >acpiprt0 at acpi0: bus 0 (PCI0) >acpiprt1 at acpi0: bus 3 (P0P1) >acpiprt2 at acpi0: bus 2 (RP01) >acpiprt3 at acpi0: bus 1 (RP02) >acpiprt4 at acpi0: bus -1 (RP03) >acpiprt5 at acpi0: bus -1 (RP04) >acpicpu0 at acpi0 >acpicpu1 at acpi0 >acpibtn0 at acpi0: PWRB >acpibtn1 at acpi0: SLPB >acpivideo0 at acpi0: GFX0 >acpivout0 at acpivideo0: DD02 >pci0 at mainbus0 bus 0 >pchb0 at pci0 dev 0 function 0 "Intel Atom D2000/N2000 Host" rev 0x03 >vga1 at pci0 dev 2 function 0 "Intel Atom D2000/N2000 Video" rev 0x09 >intagp at vga1 not configured >wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) >wsdisplay0: screen 1-5 added (80x25, vt100 emulation) >azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: >msi >azalia0: codecs: Realtek ALC888 >audio0 at azalia0 >ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: msi >pci1 at ppb0 bus 2 >em0 at pci1 dev 0 function 0 "Intel 82574L" rev 0x00: msi, address >00:22:4d:88:5c:4f >ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: msi >pci2 at ppb1 bus 1 >em1 at pci2 dev 0 function 0 "Intel 82574L" rev 0x00: msi, address >00:22:4d:88:5c:52 >uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 8 >int 23 >uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 8 >int 19 >uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 8 >int 18 >uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 8 >int 16 >ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 8 >int 23 >usb0 at ehci0: USB revision 2.0 >uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 >ppb2 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2 >pci3 at ppb2 bus 3 >pcib0 at pci0 dev 31 function 0 "Intel NM10 LPC" rev 0x02 >ahci0 at pci0 dev 31 function 2 "Intel 82801GR AHCI" rev 0x02: msi, >AHCI 1.1 >scsibus1 at ahci0: 32 targets >sd0 at scsibus1 targ 0 lun 0: <ATA, WDC WD10JPVT-22A, 01.0> SCSI3 >0/direct fixed naa.50014ee6ad7915f1 >sd0: 953869MB, 512 bytes/sector, 1953525168 sectors >sd1 at scsibus1 targ 1 lun 0: <ATA, WDC WD10JPVT-22A, 01.0> SCSI3 >0/direct fixed naa.50014ee65823f816 >sd1: 953869MB, 512 bytes/sector, 1953525168 sectors >ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic >8 >int 19 >iic0 at ichiic0 >lm1 at iic0 addr 0x2d: W83627DHG >spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-8500 SO-DIMM >spdmem1 at iic0 addr 0x51: 2GB DDR3 SDRAM PC3-8500 SO-DIMM >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 >com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo >pcppi0 at isa0 port 0x61 >spkr0 at pcppi0 >wbsio0 at isa0 port 0x2e/2: W83627UHG rev 0x32 >lm2 at wbsio0 port 0x290/8: W83627DHG >lm1: disabling sensors due to alias with lm2 >uhidev0 at uhub3 port 2 configuration 1 interface 0 "Logitech Logitech >USB Keyboard" rev 1.10/28.00 addr 2 >uhidev0: iclass 3/1 >ukbd0 at uhidev0: 8 variable keys, 6 key codes >wskbd0 at ukbd0: console keyboard, using wsdisplay0 >vscsi0 at root >scsibus2 at vscsi0: 256 targets >softraid0 at root >scsibus3 at softraid0: 256 targets >sd2 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 005> SCSI2 0/direct >fixed >sd2: 931338MB, 512 bytes/sector, 1907380720 sectors >sd3 at scsibus3 targ 2 lun 0: <OPENBSD, SR RAID 1, 005> SCSI2 0/direct >fixed >sd3: 20481MB, 512 bytes/sector, 41945104 sectors >root on sd3a (e0e2efd6dc314ad9.a) swap on sd3b dump on sd3b > >Is there any solution to this apart from waiting for days on end? > >Noth > >P.S. Don't CC me I'm subscribed to the mailing list!