Solved

remote fsck

Posted on 2006-11-27
3
248 Views
Last Modified: 2013-12-16
how can i check disk of remote pc for errors, automatically fix ?
0
Comment
Question by:ed987
  • 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 500 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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

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…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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.

746 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now