?
Solved

remote fsck

Posted on 2006-11-27
3
Medium Priority
?
255 Views
Last Modified: 2013-12-16
how can i check disk of remote pc for errors, automatically fix ?
0
Comment
Question by:ed987
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 14

Expert Comment

by:ppfoong
ID: 18025799

You can safely run fsck when the disk partition is unmounted. Using SSH to connect to the remote server:

umount /dev/sdaXX
fsck /dev/sdaXX
mount /dev/sdaXX

0
 
LVL 14

Accepted Solution

by:
ppfoong earned 2000 total points
ID: 18025811

A reboot is unavoidable if you want fsck to run on all partitions or mounted partitions that cannot be unmounted.

To do this:

shutdown -rF now

0
 
LVL 10

Expert Comment

by:ssvl
ID: 18026769
use fsck -y <device > for  force yes
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month9 days, 9 hours left to enroll

762 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