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;
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
add a comment |
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
add a comment |
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
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
linux ubuntu-12.04 ext4 linux-kernel
edited Apr 13 '17 at 12:14
Community♦
1
1
asked Jan 21 '15 at 6:12
Manju KbManju Kb
613
613
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
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.
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 commandfsck /dev/sd[abc][12345]
. See this for more examples
– user2986553
Jan 22 '15 at 7:04
add a comment |
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.
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
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 commandfsck /dev/sd[abc][12345]
. See this for more examples
– user2986553
Jan 22 '15 at 7:04
add a comment |
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.
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 commandfsck /dev/sd[abc][12345]
. See this for more examples
– user2986553
Jan 22 '15 at 7:04
add a comment |
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.
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.
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 commandfsck /dev/sd[abc][12345]
. See this for more examples
– user2986553
Jan 22 '15 at 7:04
add a comment |
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 commandfsck /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
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered Nov 21 '16 at 5:22
SpoolerSpooler
6,2191228
6,2191228
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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