Linux - Disk Checking

Help for Linux users including games servers, networking, routing and firewalls

Moderator: Emmz

Post Reply
User avatar
red_ned
CiC-GoD
CiC-GoD
Posts: 4757
Joined: Sat Nov 24, 2007 2:23 am
DayZ Name: Hobn0b
Contact:

Linux - Disk Checking

Post by red_ned »

Scanning you hardrive for errors:

like scandisk for windows linux too has many disk tools

Code: Select all

smartctl -t long /dev/sda
will start a full drive scan (root permissions needed)

Code: Select all

/usr/sbin/smartctl -t long /dev/sda
this is the absolute path for the command incase it doesnt find it

Code: Select all

smartctl -a /dev/sda
will display the results, but they can be huge.

Code: Select all

smartctl -a /dev/sda >>disk.txt
this will print out the results into a text file called disk.txt, which makes it easier to study
Image
May we all fight to live another day.
Post Reply