Professional Web Applications Themes

fsck errors on a running system that disappear in single-user mode - FreeBSD

I ran fsck on a running system (check only, no changes), and it turned up some inconsistencies. So I rebooted into single-user mode and ran it again, but then everything checked out fine. I presume this is because fsck is looking at filesystems that are changing right in front of its eyes on a running system, which leads to inconsistencies that really don't mean anything ... right? -- Anthony...

  1. #1

    Default fsck errors on a running system that disappear in single-user mode

    I ran fsck on a running system (check only, no changes), and it turned
    up some inconsistencies. So I rebooted into single-user mode and ran it
    again, but then everything checked out fine. I presume this is because
    fsck is looking at filesystems that are changing right in front of its
    eyes on a running system, which leads to inconsistencies that really
    don't mean anything ... right?

    --
    Anthony


    Anthony Guest

  2. #2

    Default Re: fsck errors on a running system that disappear in single-user mode

    In the last episode (Mar 11), Anthony Atkielski said: 

    Correct.

    --
    Dan Nelson
    com
    Dan Guest

  3. #3

    Default Re: fsck errors on a running system that disappear in single-user mode



    Yes.
    At least most likely. There could possibly a real inconsistency,
    but it would be difficult on a running system to distinguish it
    from the artifacts you point out above.

    ////jerry
     
    Jerry Guest

  4. #4

    Default Re: fsck errors on a running system that disappear in single-user mode

    Jerry McAllister writes:
     

    But a real consistency would presumably persist with an fsck on a system
    in single-user mode, which is (I assume) quiescent, right?

    --
    Anthony


    Anthony Guest

  5. #5

    Default Re: fsck errors on a running system that disappear in single-user mode

    On Fri, Mar 11, 2005 at 06:37:16PM +0100, Anthony Atkielski wrote: 
    >
    > But a real consistency would presumably persist with an fsck on a system
    > in single-user mode, which is (I assume) quiescent, right?[/ref]

    Yes (single-user mode isn't the issue; the filesystem needs to be
    unmounted or mounted read-only, or to be using UFS snapshots (in 5.x)
    in order for fsck to have a consistent snapshot of the data that
    doesn't change out from underneath it).

    Kris
    Kris Guest

  6. #6

    Default Re: fsck errors on a running system that disappear in single-user mode

    Kris Kennaway writes:
     

    Are UFS snapshots enabled by default on 5.x? Is this related to the
    snapshots taken during dump operations with the L option, or is it
    different?

    --
    Anthony


    Anthony Guest

  7. #7

    Default Re: fsck errors on a running system that disappear in single-user mode

    On Fri, Mar 11, 2005 at 10:07:48PM +0100, Anthony Atkielski wrote: 
    >
    > Are UFS snapshots enabled by default on 5.x?[/ref]

    Yes, that's what background fsck uses.
     

    Same. See the manpages for more information.

    Kris
    Kris Guest

Similar Threads

  1. Installing Solaris patches in single user mode
    By BillyA in forum Linux / Unix Administration
    Replies: 10
    Last Post: February 8th, 11:02 PM
  2. Installing Firmware remotely in Single user mode??
    By qazmlp in forum Linux / Unix Administration
    Replies: 3
    Last Post: September 29th, 08:25 PM
  3. how to boot to single user in ok mode? (null)
    By wavelet in forum Sun Solaris
    Replies: 2
    Last Post: July 29th, 02:14 AM
  4. Replies: 2
    Last Post: July 10th, 12:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139