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
Solved

remote fsck

Posted on 2006-11-27
3
252 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to install Ubuntu 16 in DELL venue 8 pro 20 295
SonarQube on Linux vs Windows 3 52
error log using ftp 7 56
How does PHP Storm display on Linux high resolution laptops? 1 37
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…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

828 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