Warning :mounting fs with errors, running e2fsck is recommendedWhat does this kernel error mean and how should I respond?Ubuntu Server fails to boot when eSata external enclosure is connectedUSB drive changes name from /dev/sdb to /dev/sdc (and back again) when copying?Drawbacks of mounting a filesystem with noatime?Failed MDADM Array With Ext.4 Partition - “e2fsck: unable to set superblock flags on /dev/md0”running mke2fs with limited memoryExt2: e2fsck what do the “errors” mean?my ext3 to ext4 dont workMount LVM deviceMD, partially grown from RAID1 to RAID5 but was interrupted, disks removed, and now file system is FUBAR“Operation not permitted” on files over 2GB on ext4 filesystem

why it is 2>&1 and not 2>>&1 to append to a log file

Is there an idiom that means "revealing a secret unintentionally"?

mini sub panel?

Identity of a supposed anonymous referee revealed through "Description" of the report

Two (probably) equal real numbers which are not proved to be equal?

Why did Missandei say this?

Why did Ham the Chimp push levers?

How to explain intravenous drug abuse to a 6-year-old?

How long can fsck take on a 30 TB volume?

Do you take falling damage if falling from 20 feet or less while grappled by someone affected by the Cat's Grace option of the Enhance Ability spell?

"I can't place her": How do Russian speakers express this idea colloquially?

Why is there a cap on 401k contributions?

How do I give a darkroom course without negatives from the attendees?

Examples where existence is harder than evaluation

Can the president of the United States be guilty of insider trading?

Why doesn't a particle exert force on itself?

Align a table column at a specific symbol

Existence of a weight of a representation in the fundamental Weyl chamber

Company stopped paying my salary. What are my options?

Using mean length and mean weight to calculate mean BMI?

What's the difference between "ricochet" and "bounce"?

How to start your Starctaft II games vs AI immediatly?

What are my options legally if NYC company is not paying salary?

Is it a good idea to copy a trader when investing?



Warning :mounting fs with errors, running e2fsck is recommended


What does this kernel error mean and how should I respond?Ubuntu Server fails to boot when eSata external enclosure is connectedUSB drive changes name from /dev/sdb to /dev/sdc (and back again) when copying?Drawbacks of mounting a filesystem with noatime?Failed MDADM Array With Ext.4 Partition - “e2fsck: unable to set superblock flags on /dev/md0”running mke2fs with limited memoryExt2: e2fsck what do the “errors” mean?my ext3 to ext4 dont workMount LVM deviceMD, partially grown from RAID1 to RAID5 but was interrupted, disks removed, and now file system is FUBAR“Operation not permitted” on files over 2GB on ext4 filesystem






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















Linux server will hang and when I restart it will take around 2 hours to come up and resume normal operations.



I checked the system log files and found mounting fs with errors, running e2fsck is recommended



I found some solution here, which says says using below commands



tune2fs -c 100 /dev/sdx1

tune2fs -i 90d /dev/sdx1


Got one more solution



/etc/fstab file looks like this:



file system dir type options dump pass

UUID=123-456-ABC-DEF / ext4 defaults,noatime 0 0


we need to change pass value from 0 to 1 so that it will allow disk clean up



I'm really afraid as its a production box and if something goes wrong I should reconfigure.



what is the best approach and any suggestions are welcome.










share|improve this question






























    1















    Linux server will hang and when I restart it will take around 2 hours to come up and resume normal operations.



    I checked the system log files and found mounting fs with errors, running e2fsck is recommended



    I found some solution here, which says says using below commands



    tune2fs -c 100 /dev/sdx1

    tune2fs -i 90d /dev/sdx1


    Got one more solution



    /etc/fstab file looks like this:



    file system dir type options dump pass

    UUID=123-456-ABC-DEF / ext4 defaults,noatime 0 0


    we need to change pass value from 0 to 1 so that it will allow disk clean up



    I'm really afraid as its a production box and if something goes wrong I should reconfigure.



    what is the best approach and any suggestions are welcome.










    share|improve this question


























      1












      1








      1


      1






      Linux server will hang and when I restart it will take around 2 hours to come up and resume normal operations.



      I checked the system log files and found mounting fs with errors, running e2fsck is recommended



      I found some solution here, which says says using below commands



      tune2fs -c 100 /dev/sdx1

      tune2fs -i 90d /dev/sdx1


      Got one more solution



      /etc/fstab file looks like this:



      file system dir type options dump pass

      UUID=123-456-ABC-DEF / ext4 defaults,noatime 0 0


      we need to change pass value from 0 to 1 so that it will allow disk clean up



      I'm really afraid as its a production box and if something goes wrong I should reconfigure.



      what is the best approach and any suggestions are welcome.










      share|improve this question
















      Linux server will hang and when I restart it will take around 2 hours to come up and resume normal operations.



      I checked the system log files and found mounting fs with errors, running e2fsck is recommended



      I found some solution here, which says says using below commands



      tune2fs -c 100 /dev/sdx1

      tune2fs -i 90d /dev/sdx1


      Got one more solution



      /etc/fstab file looks like this:



      file system dir type options dump pass

      UUID=123-456-ABC-DEF / ext4 defaults,noatime 0 0


      we need to change pass value from 0 to 1 so that it will allow disk clean up



      I'm really afraid as its a production box and if something goes wrong I should reconfigure.



      what is the best approach and any suggestions are welcome.







      linux ubuntu-12.04 ext4 linux-kernel






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 13 '17 at 12:14









      Community

      1




      1










      asked Jan 21 '15 at 6:12









      Manju KbManju Kb

      613




      613




















          2 Answers
          2






          active

          oldest

          votes


















          0














          Does you try to run e2fsck(or fsck)? It may help...
          Also I could recommend to check hardware status of your disks. Try to install smartmontools and check error log of your disk. You can use command for this:



          smartctl --all /dev/sdx


          And I am strongly recommend to made a backup before doing something.






          share|improve this answer























          • can u please tel me how to run e2fsck(or fsck)

            – Manju Kb
            Jan 22 '15 at 6:33











          • In most cases, you just need to run command fsck /dev/sd[abc][12345]. See this for more examples

            – user2986553
            Jan 22 '15 at 7:04



















          0














          Make sure your backups are intact and workable before making major changes to the host filesystem. The following could possibly be classified as "major changes".



          You're able to mount this filesystem, so it's not that damaged. You should definitely enable "pass" on the fstab to make sure your filesystems get checked regularly. EXT4 is a filesystem that requires offline maintenance like this every so often. Always use a pass option for it.



          However, before you check and repair the filesystem on /, make sure the underlying disk is healthy. smartctl is a great tool for that, as user2986553 already mentioned. If your underlying block device has problems, running a filesystem repair has the potential of causing more problems than it would normally fix.



          Once you've ensured your disk is healthy, run an offline check on your root filesystem. You will have to reboot for this, as EXT4 cannot be repaired while online, and read-only checks on an active mount will provide unreliable results. The easiest way to ensure this happens on your next reboot is to create a file named "forcefsck" on the root of the filesystem.



          Create a file named "forcefsck" to force a check at the next mount attempt:



          # touch /forcefsck



          Reboot, and you should see the check run. When it completes and mounts the filesystem, it should delete that "forcefsck" file. You may want to make sure it's gone and delete it if it's not.



          This will very likely go well and fix any problems. EXT4 can be automatically repaired very easily, and can be fixed after some pretty impressive failures.






          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "2"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f661130%2fwarning-mounting-fs-with-errors-running-e2fsck-is-recommended%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Does you try to run e2fsck(or fsck)? It may help...
            Also I could recommend to check hardware status of your disks. Try to install smartmontools and check error log of your disk. You can use command for this:



            smartctl --all /dev/sdx


            And I am strongly recommend to made a backup before doing something.






            share|improve this answer























            • can u please tel me how to run e2fsck(or fsck)

              – Manju Kb
              Jan 22 '15 at 6:33











            • In most cases, you just need to run command fsck /dev/sd[abc][12345]. See this for more examples

              – user2986553
              Jan 22 '15 at 7:04
















            0














            Does you try to run e2fsck(or fsck)? It may help...
            Also I could recommend to check hardware status of your disks. Try to install smartmontools and check error log of your disk. You can use command for this:



            smartctl --all /dev/sdx


            And I am strongly recommend to made a backup before doing something.






            share|improve this answer























            • can u please tel me how to run e2fsck(or fsck)

              – Manju Kb
              Jan 22 '15 at 6:33











            • In most cases, you just need to run command fsck /dev/sd[abc][12345]. See this for more examples

              – user2986553
              Jan 22 '15 at 7:04














            0












            0








            0







            Does you try to run e2fsck(or fsck)? It may help...
            Also I could recommend to check hardware status of your disks. Try to install smartmontools and check error log of your disk. You can use command for this:



            smartctl --all /dev/sdx


            And I am strongly recommend to made a backup before doing something.






            share|improve this answer













            Does you try to run e2fsck(or fsck)? It may help...
            Also I could recommend to check hardware status of your disks. Try to install smartmontools and check error log of your disk. You can use command for this:



            smartctl --all /dev/sdx


            And I am strongly recommend to made a backup before doing something.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jan 21 '15 at 14:25









            user2986553user2986553

            1492




            1492












            • can u please tel me how to run e2fsck(or fsck)

              – Manju Kb
              Jan 22 '15 at 6:33











            • In most cases, you just need to run command fsck /dev/sd[abc][12345]. See this for more examples

              – user2986553
              Jan 22 '15 at 7:04


















            • can u please tel me how to run e2fsck(or fsck)

              – Manju Kb
              Jan 22 '15 at 6:33











            • In most cases, you just need to run command fsck /dev/sd[abc][12345]. See this for more examples

              – user2986553
              Jan 22 '15 at 7:04

















            can u please tel me how to run e2fsck(or fsck)

            – Manju Kb
            Jan 22 '15 at 6:33





            can u please tel me how to run e2fsck(or fsck)

            – Manju Kb
            Jan 22 '15 at 6:33













            In most cases, you just need to run command fsck /dev/sd[abc][12345]. See this for more examples

            – user2986553
            Jan 22 '15 at 7:04






            In most cases, you just need to run command fsck /dev/sd[abc][12345]. See this for more examples

            – user2986553
            Jan 22 '15 at 7:04














            0














            Make sure your backups are intact and workable before making major changes to the host filesystem. The following could possibly be classified as "major changes".



            You're able to mount this filesystem, so it's not that damaged. You should definitely enable "pass" on the fstab to make sure your filesystems get checked regularly. EXT4 is a filesystem that requires offline maintenance like this every so often. Always use a pass option for it.



            However, before you check and repair the filesystem on /, make sure the underlying disk is healthy. smartctl is a great tool for that, as user2986553 already mentioned. If your underlying block device has problems, running a filesystem repair has the potential of causing more problems than it would normally fix.



            Once you've ensured your disk is healthy, run an offline check on your root filesystem. You will have to reboot for this, as EXT4 cannot be repaired while online, and read-only checks on an active mount will provide unreliable results. The easiest way to ensure this happens on your next reboot is to create a file named "forcefsck" on the root of the filesystem.



            Create a file named "forcefsck" to force a check at the next mount attempt:



            # touch /forcefsck



            Reboot, and you should see the check run. When it completes and mounts the filesystem, it should delete that "forcefsck" file. You may want to make sure it's gone and delete it if it's not.



            This will very likely go well and fix any problems. EXT4 can be automatically repaired very easily, and can be fixed after some pretty impressive failures.






            share|improve this answer



























              0














              Make sure your backups are intact and workable before making major changes to the host filesystem. The following could possibly be classified as "major changes".



              You're able to mount this filesystem, so it's not that damaged. You should definitely enable "pass" on the fstab to make sure your filesystems get checked regularly. EXT4 is a filesystem that requires offline maintenance like this every so often. Always use a pass option for it.



              However, before you check and repair the filesystem on /, make sure the underlying disk is healthy. smartctl is a great tool for that, as user2986553 already mentioned. If your underlying block device has problems, running a filesystem repair has the potential of causing more problems than it would normally fix.



              Once you've ensured your disk is healthy, run an offline check on your root filesystem. You will have to reboot for this, as EXT4 cannot be repaired while online, and read-only checks on an active mount will provide unreliable results. The easiest way to ensure this happens on your next reboot is to create a file named "forcefsck" on the root of the filesystem.



              Create a file named "forcefsck" to force a check at the next mount attempt:



              # touch /forcefsck



              Reboot, and you should see the check run. When it completes and mounts the filesystem, it should delete that "forcefsck" file. You may want to make sure it's gone and delete it if it's not.



              This will very likely go well and fix any problems. EXT4 can be automatically repaired very easily, and can be fixed after some pretty impressive failures.






              share|improve this answer

























                0












                0








                0







                Make sure your backups are intact and workable before making major changes to the host filesystem. The following could possibly be classified as "major changes".



                You're able to mount this filesystem, so it's not that damaged. You should definitely enable "pass" on the fstab to make sure your filesystems get checked regularly. EXT4 is a filesystem that requires offline maintenance like this every so often. Always use a pass option for it.



                However, before you check and repair the filesystem on /, make sure the underlying disk is healthy. smartctl is a great tool for that, as user2986553 already mentioned. If your underlying block device has problems, running a filesystem repair has the potential of causing more problems than it would normally fix.



                Once you've ensured your disk is healthy, run an offline check on your root filesystem. You will have to reboot for this, as EXT4 cannot be repaired while online, and read-only checks on an active mount will provide unreliable results. The easiest way to ensure this happens on your next reboot is to create a file named "forcefsck" on the root of the filesystem.



                Create a file named "forcefsck" to force a check at the next mount attempt:



                # touch /forcefsck



                Reboot, and you should see the check run. When it completes and mounts the filesystem, it should delete that "forcefsck" file. You may want to make sure it's gone and delete it if it's not.



                This will very likely go well and fix any problems. EXT4 can be automatically repaired very easily, and can be fixed after some pretty impressive failures.






                share|improve this answer













                Make sure your backups are intact and workable before making major changes to the host filesystem. The following could possibly be classified as "major changes".



                You're able to mount this filesystem, so it's not that damaged. You should definitely enable "pass" on the fstab to make sure your filesystems get checked regularly. EXT4 is a filesystem that requires offline maintenance like this every so often. Always use a pass option for it.



                However, before you check and repair the filesystem on /, make sure the underlying disk is healthy. smartctl is a great tool for that, as user2986553 already mentioned. If your underlying block device has problems, running a filesystem repair has the potential of causing more problems than it would normally fix.



                Once you've ensured your disk is healthy, run an offline check on your root filesystem. You will have to reboot for this, as EXT4 cannot be repaired while online, and read-only checks on an active mount will provide unreliable results. The easiest way to ensure this happens on your next reboot is to create a file named "forcefsck" on the root of the filesystem.



                Create a file named "forcefsck" to force a check at the next mount attempt:



                # touch /forcefsck



                Reboot, and you should see the check run. When it completes and mounts the filesystem, it should delete that "forcefsck" file. You may want to make sure it's gone and delete it if it's not.



                This will very likely go well and fix any problems. EXT4 can be automatically repaired very easily, and can be fixed after some pretty impressive failures.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 21 '16 at 5:22









                SpoolerSpooler

                6,2191228




                6,2191228



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Server Fault!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f661130%2fwarning-mounting-fs-with-errors-running-e2fsck-is-recommended%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

                    Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

                    What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company