Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Dec 1999 18:29:01 -0800
From:      "David O'Brien" <obrien@NUXI.com>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        freebsd-alpha@FreeBSD.ORG
Subject:   Re: mount & friends broken in -current!
Message-ID:  <19991201182901.F29334@relay.nuxi.com>
In-Reply-To: <14405.51797.652995.942415@grasshopper.cs.duke.edu>
References:  <14405.37232.135805.78500@grasshopper.cs.duke.edu> <19991201161053.B84520@dragon.nuxi.com> <14405.51797.652995.942415@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 01, 1999 at 08:26:49PM -0500, Andrew Gallatin wrote:
>  > I'm not having those problems, but is anybody else experiencing the
>  > situation where on every boot one gets:
>  > 
>  >     WARNING: R/W mount of / denied.  Filesystem is not clean - run fsck
> 
> This is on *every* reboot? Is there a chance / is not really clean?  
> Can you do a mount -uf / ?

Yep, *every* reboot.  When it occurs every thing but / is already
mounted.  I can manually do a ``fsck /'' and that works.  But on the next
reboot it does not help.

    Automatic reboot in progress...
    /dev/da0a: 6439 files, 127588 used, 128591 free (407 frags, 16023 blocks, 0.2% fragmentation)
    /dev/da1a: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/da1a: clean, 226285 free (6949 frags, 27417 blocks, 0.5% fragmentation)
    /dev/da1e: FILESYSTEM CLEAN; SKIPPING CHECKS
    /dev/da1e: clean, 27739 free (18379 frags, 1170 blocks, 3.9% fragmentation)
    /dev/da2f: FILESYSTEM CLEAN; SKIPPING CHECKS
    /dev/da2f: clean, 510692 free (20 frags, 63834 blocks, 0.0% fragmentation)
    WARNING: R/W mount of / denied.  Filesystem is not clean - run fsck
    mount: Operation not permitted
    Mounting /etc/fstab filesystems failed, startup aborted
    Enter full pathname of shell or RETURN for /bin/sh: 

Fine, lets go thru the drill:

    # mount -u /
    WARNING: R/W mount of / denied.  Filesystem is not clean - run fsck
    mount: Operation not permitted

    # fsck /
    ** /dev/da0a
    ** Last Mounted on /
    ** Root file system
    ** Phase 1 - Check Blocks and Sizes
    ** Phase 2 - Check Pathnames
    ** Phase 3 - Check Connectivity
    ** Phase 4 - Check Reference Counts
    ** Phase 5 - Check Cyl groups
    6439 files, 127588 used, 128591 free (407 frags, 16023 blocks, 0.2% fragmentation)

    ***** FILE SYSTEM MARKED CLEAN *****

    # mount
    /dev/da0a on / (ufs, local, read-only, writes: sync 2 async 0, reads: sync 193 async 2)
    /dev/da1a on /usr (ufs, local, writes: sync 2 async 0, reads: sync 3 async 0)
    /dev/da1e on /usr/obj (ufs, local, noatime, soft-updates, writes: sync 2 async 0, reads: sync 15 async 0)
    procfs on /proc (procfs, local)
    mfs:27 on /tmp (mfs, asynchronous, local)
    /dev/da2f on /2 (ufs, asynchronous, local, noatime, writes: sync 2 async 0)

    # mount -u /
    # mount
    /dev/da0a on / (ufs, local, writes: sync 4 async 0, reads: sync 203 async 2)
    /dev/da1a on /usr (ufs, local, writes: sync 2 async 0, reads: sync 3 async 0)
    /dev/da1e on /usr/obj (ufs, local, noatime, soft-updates, writes: sync 2 async 0, reads: sync 15 async 0)
    procfs on /proc (procfs, local)
    mfs:27 on /tmp (mfs, asynchronous, local)
    /dev/da2f on /2 (ufs, asynchronous, local, noatime, writes: sync 2 async 0)

    # cd /dev
    # ls -l da0a da1a da1e da2f
    crw-r-----  1 root  operator   13,   0 Dec  1 19:57 da0a
    crw-r-----  1 root  operator   13,   8 Dec  1 19:57 da1a
    crw-r-----  1 root  operator   13,  12 Dec  1 19:57 da1e
    crw-r-----  1 root  operator   13,  21 Dec  1 19:57 da2f

    # reboot

    syncing disks... 1 1 
    done
    Rebooting...
    halted CPU 0
    halt code = 5
    HALT instruction executed
    PC = fffffc00004a284c
    CPU 0 booting


Repeat until tired.

-- 
-- David    (obrien@NUXI.com)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991201182901.F29334>