Professional Web Applications Themes

FSCK on Reboot - FreeBSD

Right now I've got a server running FreeBSD 4.11. My question is, is there a way to automatically run fsck on a system reboot, without having to go through the process of sitting at the computer, changing the run level, etc, etc. Clearly it's beneficial in a work environment to be able to wait till night hours to run such operations, but I personally have no desire to hang around the office until midnight just to run a file system check. I know on any Windows machine this is easily accomplished by running chkdsk and answering "y" when it prompts ...

  1. #1

    Default FSCK on Reboot

    Right now I've got a server running FreeBSD 4.11. My question is, is
    there a way to automatically run fsck on a system reboot, without
    having to go through the process of sitting at the computer, changing
    the run level, etc, etc. Clearly it's beneficial in a work environment
    to be able to wait till night hours to run such operations, but I
    personally have no desire to hang around the office until midnight
    just to run a file system check. I know on any Windows machine this
    is easily accomplished by running chkdsk and answering "y" when it
    prompts if you want the system checked on the next reboot...you can go
    home, wait till midnight, and reboot the system, it will automatically
    check itself and come back online. Can this be accomplished in
    FreeBSD?
    Matt LaPlante Guest

  2. #2

    Default Re: FSCK on Reboot

    On Wed, Feb 16, 2005 at 05:40:42PM -0500, Matt LaPlante wrote:
    > Right now I've got a server running FreeBSD 4.11. My question is, is
    > there a way to automatically run fsck on a system reboot, without
    > having to go through the process of sitting at the computer, changing
    > the run level, etc, etc. Clearly it's beneficial in a work environment
    > to be able to wait till night hours to run such operations, but I
    > personally have no desire to hang around the office until midnight
    > just to run a file system check. I know on any Windows machine this
    > is easily accomplished by running chkdsk and answering "y" when it
    > prompts if you want the system checked on the next reboot...you can go
    > home, wait till midnight, and reboot the system, it will automatically
    > check itself and come back online. Can this be accomplished in
    > FreeBSD?
    fsck will be run at boot time if the system needs to run it
    (i.e. unclean shutdown). See the rc.conf manpage for relevant options
    for rc.conf. Unlike Windows, you don't need to run fsck regularly as
    a regular maintenance measure.

    Kris

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.0 (FreeBSD)

    iD8DBQFCE9ViWry0BWjoQKURAic2AJ49/Md5D42RCFlticzaZj7gv8Xq9ACgpCIm
    lmBxjvdWKGpS3fjiYrjK+Qw=
    =3qx0
    -----END PGP SIGNATURE-----

    Kris Kennaway Guest

Similar Threads

  1. fsck fsck fsck say I
    By Michael Paoli in forum Linux / Unix Administration
    Replies: 1
    Last Post: December 7th, 02:29 AM
  2. Need to run fsck manually during every reboot
    By Umar Reyi in forum Linux Setup, Configuration & Administration
    Replies: 1
    Last Post: August 25th, 02:38 AM
  3. Replies: 0
    Last Post: July 26th, 05:50 AM
  4. OS X upgrade problem (won't fsck clean after hang)
    By nospam in forum Mac Applications & Software
    Replies: 6
    Last Post: July 12th, 02:53 AM
  5. Replies: 5
    Last Post: July 4th, 01:57 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