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

                    Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

                    Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

                    Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020