Solved

How to run fsck to report errors only

Posted on 2012-12-31
2
463 Views
Last Modified: 2012-12-31
Hi, experts,

I want to run fsck but only report error, not change anything on a hard drive. I tried -N option, but that does not do anything at all, only says what it will check.

Thank you.
0
Comment
Question by:kerzner
2 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 38732912
Try

fsck -n ...

(lowercase "n").

If this is not supported by your fsck try

yes "n" | fsck -r ...
0
 
LVL 1

Author Closing Comment

by:kerzner
ID: 38732990
Yes, thank you, I figured it out meanwhile (not a very popular option, I wonder why), but it is comforting to have support.... and ruin anything :)
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AWS CLI - Issue with name display 2 73
open source backup solution 1 29
awk file 6 53
Linux script delete files 3 33
As a long-time IT Professional, the most important skill I have developed and consider to be my most valuable tool is Effective Troubleshooting. Step through my problem-solving procedure in this 10-step guide adapted from The Universal Troubleshooti…
Note: This is the second blog post in a series on email clearinghouses (https://www.xmatters.com/alert-management/blog-email-has-failed-us?utm_campaign=70138000000ydLoAAI&utm_source=exex&utm_medium=article&utm_content=blog-post).   Every month t…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question