Is it possible to run fsck to only see errors on mounted diskmount + verify disk status + disk isnt...
Does Impedance Matching Imply any Practical RF Transmitter Must Waste >=50% of Energy?
Strange LED behavior: Why is there a voltage over the LED with only one wire connected to it?
High income and difficulty during interviews
Does downing a character at the start of its turn require an immediate Death Saving Throw?
My current job follows "worst practices". How can I talk about my experience in an interview without giving off red flags?
Why is there an extra "t" in Lemmatization?
Monty Hall Problem with a Fallible Monty
Other than a swing wing, what types of variable geometry have flown?
What is the best word describing the nature of expiring in a short amount of time, connoting "losing public attention"?
Adding one more column to a table
What gave NASA the confidence for a translunar injection in Apollo 8?
Considerations when providing money to one child now, and the other later?
Would using carbon dioxide as fuel work to reduce the greenhouse effect?
Why is DC so, so, so Democratic?
Is it possible to access the complete command line including pipes in a bash script?
Found more old paper shares from broken up companies
Host telling me to cancel my booking in exchange for a discount?
Why did NASA use Imperial units?
Are there any English words pronounced with sounds/syllables that aren't part of the spelling?
If I have the Armor of Shadows Eldritch Invocation, do I know the Mage Armor spell?
How can I indicate that what I'm saying is not sarcastic online?
How could Barty Crouch Jr. have run out of Polyjuice Potion at the end of the Goblet of Fire movie?
Ultraproduct of Dividing Lines
Pass USB 3.0 connection through D-SUB connector
Is it possible to run fsck to only see errors on mounted disk
mount + verify disk status + disk isnt read/writeLinux Mint freezes on startupIf “fsck -n /PATH” says errors, then it's 100% true that the FS has errors?Is fsck -N mounted file system dangerousStuck in bootloop after upgrade to Ubuntu 16.04LTSI/O error after power failure, filesystem remounting as read-onlyAdd & execute package to Defrag a fragmented Ext3 Volume under BusyBox in Synology CS407? How?e2fsck -n + how to know if need to run e2fsck in order to fix corrupted blocks?Fsck on partition inside RAID broke file system AND RAIDTrouble on Debian boot up “Timed out waiting for device dev-disk…”If e2fsck says output from a mounted file system isnt to be trusted, then how does systemd generate log messages from fs errors?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
We have RedHat 7.2 OS.
/dev/sdc is mounted to /bla/appLO
Is it possible to run fsck
on mounted disks (without umount /bla/appLO
)
and to see only the errors if they exist?
Example:
e2fsck -n /dev/sdc
e2fsck 1.42.9 (28-Dec-2013)
Warning! /dev/sdc is mounted.
Warning: skipping journal recovery because doing a read-only filesystem check.
/dev/sdc: clean, 11/1310720 files, 126322/5242880 blocks
Does fsck -n
show the error even though the disk is mounted?
disk fsck
add a comment |
We have RedHat 7.2 OS.
/dev/sdc is mounted to /bla/appLO
Is it possible to run fsck
on mounted disks (without umount /bla/appLO
)
and to see only the errors if they exist?
Example:
e2fsck -n /dev/sdc
e2fsck 1.42.9 (28-Dec-2013)
Warning! /dev/sdc is mounted.
Warning: skipping journal recovery because doing a read-only filesystem check.
/dev/sdc: clean, 11/1310720 files, 126322/5242880 blocks
Does fsck -n
show the error even though the disk is mounted?
disk fsck
You can use exit code of commandfsck
. But you can get errors in fs because is mounted
– Romeo Ninov
Apr 24 '18 at 8:38
add a comment |
We have RedHat 7.2 OS.
/dev/sdc is mounted to /bla/appLO
Is it possible to run fsck
on mounted disks (without umount /bla/appLO
)
and to see only the errors if they exist?
Example:
e2fsck -n /dev/sdc
e2fsck 1.42.9 (28-Dec-2013)
Warning! /dev/sdc is mounted.
Warning: skipping journal recovery because doing a read-only filesystem check.
/dev/sdc: clean, 11/1310720 files, 126322/5242880 blocks
Does fsck -n
show the error even though the disk is mounted?
disk fsck
We have RedHat 7.2 OS.
/dev/sdc is mounted to /bla/appLO
Is it possible to run fsck
on mounted disks (without umount /bla/appLO
)
and to see only the errors if they exist?
Example:
e2fsck -n /dev/sdc
e2fsck 1.42.9 (28-Dec-2013)
Warning! /dev/sdc is mounted.
Warning: skipping journal recovery because doing a read-only filesystem check.
/dev/sdc: clean, 11/1310720 files, 126322/5242880 blocks
Does fsck -n
show the error even though the disk is mounted?
disk fsck
disk fsck
edited Apr 24 '18 at 10:23
Ankur S
7032 gold badges3 silver badges16 bronze badges
7032 gold badges3 silver badges16 bronze badges
asked Apr 24 '18 at 8:26
yaelyael
2,9388 gold badges41 silver badges90 bronze badges
2,9388 gold badges41 silver badges90 bronze badges
You can use exit code of commandfsck
. But you can get errors in fs because is mounted
– Romeo Ninov
Apr 24 '18 at 8:38
add a comment |
You can use exit code of commandfsck
. But you can get errors in fs because is mounted
– Romeo Ninov
Apr 24 '18 at 8:38
You can use exit code of command
fsck
. But you can get errors in fs because is mounted– Romeo Ninov
Apr 24 '18 at 8:38
You can use exit code of command
fsck
. But you can get errors in fs because is mounted– Romeo Ninov
Apr 24 '18 at 8:38
add a comment |
1 Answer
1
active
oldest
votes
No.
You should never run fsck
on a mounted filesystem. Correcting errors on a live filesystem will mess up your disk. Even if you run the tool in read-only mode (without error correction) the results can't be trusted.
From man e2fsck
:
Note that in general it is not safe to run
e2fsck
on mounted
filesystems. The only exception is if the-n
option is specified, and
-c
,-l
, or-L
options are not specified. However, even if it is safe
to do so, the results printed bye2fsck
are not valid if the filesystem
is mounted. Ife2fsck
asks whether or not you should check a
filesystem which is mounted, the only correct answer is ``no''. Only
experts who really know what they are doing should consider answering
this question in any other way.
thank you , could you help me with my question on - unix.stackexchange.com/questions/439661/…
– yael
Apr 24 '18 at 8:44
I already seen your question, it puzzles me. I've never seenew
in the output ofmount
. I'd be interested to know the answer too.
– dr01
Apr 24 '18 at 8:48
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f439675%2fis-it-possible-to-run-fsck-to-only-see-errors-on-mounted-disk%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
No.
You should never run fsck
on a mounted filesystem. Correcting errors on a live filesystem will mess up your disk. Even if you run the tool in read-only mode (without error correction) the results can't be trusted.
From man e2fsck
:
Note that in general it is not safe to run
e2fsck
on mounted
filesystems. The only exception is if the-n
option is specified, and
-c
,-l
, or-L
options are not specified. However, even if it is safe
to do so, the results printed bye2fsck
are not valid if the filesystem
is mounted. Ife2fsck
asks whether or not you should check a
filesystem which is mounted, the only correct answer is ``no''. Only
experts who really know what they are doing should consider answering
this question in any other way.
thank you , could you help me with my question on - unix.stackexchange.com/questions/439661/…
– yael
Apr 24 '18 at 8:44
I already seen your question, it puzzles me. I've never seenew
in the output ofmount
. I'd be interested to know the answer too.
– dr01
Apr 24 '18 at 8:48
add a comment |
No.
You should never run fsck
on a mounted filesystem. Correcting errors on a live filesystem will mess up your disk. Even if you run the tool in read-only mode (without error correction) the results can't be trusted.
From man e2fsck
:
Note that in general it is not safe to run
e2fsck
on mounted
filesystems. The only exception is if the-n
option is specified, and
-c
,-l
, or-L
options are not specified. However, even if it is safe
to do so, the results printed bye2fsck
are not valid if the filesystem
is mounted. Ife2fsck
asks whether or not you should check a
filesystem which is mounted, the only correct answer is ``no''. Only
experts who really know what they are doing should consider answering
this question in any other way.
thank you , could you help me with my question on - unix.stackexchange.com/questions/439661/…
– yael
Apr 24 '18 at 8:44
I already seen your question, it puzzles me. I've never seenew
in the output ofmount
. I'd be interested to know the answer too.
– dr01
Apr 24 '18 at 8:48
add a comment |
No.
You should never run fsck
on a mounted filesystem. Correcting errors on a live filesystem will mess up your disk. Even if you run the tool in read-only mode (without error correction) the results can't be trusted.
From man e2fsck
:
Note that in general it is not safe to run
e2fsck
on mounted
filesystems. The only exception is if the-n
option is specified, and
-c
,-l
, or-L
options are not specified. However, even if it is safe
to do so, the results printed bye2fsck
are not valid if the filesystem
is mounted. Ife2fsck
asks whether or not you should check a
filesystem which is mounted, the only correct answer is ``no''. Only
experts who really know what they are doing should consider answering
this question in any other way.
No.
You should never run fsck
on a mounted filesystem. Correcting errors on a live filesystem will mess up your disk. Even if you run the tool in read-only mode (without error correction) the results can't be trusted.
From man e2fsck
:
Note that in general it is not safe to run
e2fsck
on mounted
filesystems. The only exception is if the-n
option is specified, and
-c
,-l
, or-L
options are not specified. However, even if it is safe
to do so, the results printed bye2fsck
are not valid if the filesystem
is mounted. Ife2fsck
asks whether or not you should check a
filesystem which is mounted, the only correct answer is ``no''. Only
experts who really know what they are doing should consider answering
this question in any other way.
edited 56 mins ago
answered Apr 24 '18 at 8:39
dr01dr01
17.2k11 gold badges56 silver badges78 bronze badges
17.2k11 gold badges56 silver badges78 bronze badges
thank you , could you help me with my question on - unix.stackexchange.com/questions/439661/…
– yael
Apr 24 '18 at 8:44
I already seen your question, it puzzles me. I've never seenew
in the output ofmount
. I'd be interested to know the answer too.
– dr01
Apr 24 '18 at 8:48
add a comment |
thank you , could you help me with my question on - unix.stackexchange.com/questions/439661/…
– yael
Apr 24 '18 at 8:44
I already seen your question, it puzzles me. I've never seenew
in the output ofmount
. I'd be interested to know the answer too.
– dr01
Apr 24 '18 at 8:48
thank you , could you help me with my question on - unix.stackexchange.com/questions/439661/…
– yael
Apr 24 '18 at 8:44
thank you , could you help me with my question on - unix.stackexchange.com/questions/439661/…
– yael
Apr 24 '18 at 8:44
I already seen your question, it puzzles me. I've never seen
ew
in the output of mount
. I'd be interested to know the answer too.– dr01
Apr 24 '18 at 8:48
I already seen your question, it puzzles me. I've never seen
ew
in the output of mount
. I'd be interested to know the answer too.– dr01
Apr 24 '18 at 8:48
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f439675%2fis-it-possible-to-run-fsck-to-only-see-errors-on-mounted-disk%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
You can use exit code of command
fsck
. But you can get errors in fs because is mounted– Romeo Ninov
Apr 24 '18 at 8:38