Re: Strange results after partition-full condition...

From: Karel J. Bosschaart (K.J.Bosschaart_at_tue.nl)
Date: 07/29/03

  • Next message: Wes Peters: "Re: Via EPIA Mini-ITX motherboard"
    Date: Tue, 29 Jul 2003 15:55:11 +0200
    To: Garance A Drosihn <drosih@rpi.edu>
    
    

    On Tue, Jul 29, 2003 at 12:55:26AM +0200, Garance A Drosihn wrote:
    > I have a test 4.x-stable system that I recently rebooted into.
    > The last time I had updated it was May 3rd. I cvsup'ed it,
    > did the buildworld/installworlds, and everything seemed fine.
    >
    > I then thought I would update all the ports. When upgrading
    > XFree86, the /usr partition ran out of disk space. Now the
    > partition shows up as:
    >
    > (21) df -k
    > Filesystem 1K-blocks Used Avail Capacity Mounted on
    > /dev/ad0s2a 251950 35550 196244 15% /
    > /dev/ad0s2f 241870 10 222512 0% /tmp
    > /dev/ad0s2g 2064302 -164180 2063338 -9% /usr
    > /dev/ad0s2e 257998 61258 176102 26% /var
    > /dev/ad0s2h 1311026 676644 529500 56% /Users
    >
    > This has persisted through a bunch of 'sync's and a system
    > reboot. Actually it had started as -1% capacity, but went
    > to -9% as I removed files (like all of /usr/obj/usr/src ).
    >
    A while back I've also seen weird numbers on one of my
    partitions: despite that minfree was 8% (default) the "Capacity"
    went to ~130%, and the "Used" part became larger than the number
    of 1K-blocks. This was on -stable, soft-updates enabled. 'sync's
    didn't have any effect either.

    > I have some other process running right now, but when that is
    > done I'm going to shutdown and then run fsck on that partition.
    > I assume that will clear it up.
    >
    Yes, in my case it solved the problem.

    > This is on a dual-CPU system, if that is significant. The
    > partition is mounted:
    > /dev/ad0s2g on /usr (ufs, local, soft-updates)
    >
    > This is only a test system, so it isn't much of a problem for
    > me. I just thought that it was odd enough that I should
    > mention it. Has anyone else seen behavior like this?
    >
    I've seen it, but no idea how to reproduce above situation.

    I don't know if it is related, but when using a USB flash drive
    (UFS formatted, no soft-updates, minfree=0), I often see after
    mounting that the free space is incorrect; it shows the free space
    it had before I deleted some files, during a previous mount.
    Unmounting and fsck'ing solves it. Usually it happens when the stick
    is unmounted in -stable and mounted on -current. Although mounting
    in -stable shows the correct numbers, an fsck (also on -stable)
    reveals "SUMMARY INFORMATION BAD". Is this an indication that the
    filesystem was left in a dirty state? Both -stable and -current
    mount it anyway, but only on -current it is evident from the
    numbers that something is wrong.
    (After unmounting I always wait some time before disconnecting
    the flash drive, at least until the LED doesn't flash anymore,
    but usually much longer).

    Karel.
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  • Next message: Wes Peters: "Re: Via EPIA Mini-ITX motherboard"

    Relevant Pages

    • Re: [SLE] SuSE 9.0 installed via FTP will not boot ...
      ... Please repair manually and reboot. ... Insert your rescue disk or #1 cdrom and restart the machine selecting ... Now you must/can check each partition from the command line with: ... to restart press Control+ D and it should restart. ...
      (SuSE)
    • Re: FAT32 Disk Consistency Check
      ... > checked and it booted to the regular Windows desktop. ... > this everytime I reboot and 5 minutes goes by and no progress is being ... partition drive as long as you don't do too many partitions. ... causes Autocheck to run on reboot. ...
      (microsoft.public.win2000.setup)
    • Re: [PATCH] X86: reboot-notify additions
      ... their out of tree blobs in an enterprise kernel. ... not stop one partition of a multi-partitioned system in a cavalier manner. ... NACK emergency_restart is for when calling a normal reboot doesn't ... couple of cases where no callback occurs from the reboot or panic lists. ...
      (Linux-Kernel)
    • Re: Windows XP Boot Up Problem
      ... Visit http://www.bootitng.com and download BootIt NG. ... bootable floppy, and reboot to that new floppy. ... partition manager, remove the floppy, and Reboot. ...
      (microsoft.public.windowsxp.setup_deployment)
    • Re: NTLDR is missing during clean install of XP SP1
      ... Save and exit the bios setup utility. ... > prompts me to create a partition. ... > Setup to install Windows XP on this new partition. ... it gets to where it wants to reboot. ...
      (microsoft.public.windowsxp.setup_deployment)