Time
10 hours 41 minutes
Difficulty
Beginner
CEU/CPE
12

Video Transcription

00:07
this demonstration will be on troubleshooting. Hard drives
00:18
in this demonstration will go over some common areas where you can
00:22
check to see if hard drives or an issue and possibly correct the problem.
00:27
If a hard drive doesn't boot it all,
00:29
you're going to get error messages at the BIOS level or at the boot level.
00:34
But if the hard drive is just running poorly or you think your system might have a hard drive problem,
00:40
these might be able to help you.
00:43
So
00:43
one thing is, go to my computer,
00:52
go to your hard drive, right click the hard drive,
00:57
go to properties
01:00
and from properties, go to tools
01:03
and you'll have a pair of tools here. One is for error checking, and one is for D fragmentation.
01:08
Well, look at the D fragmentation First.
01:14
Fragmentation of the hard drive
01:18
means that files are not continuous to each other.
01:25
Files being contiguous to each other mean that when the disk spins,
01:30
the hard drive confined everything at one time
01:33
without having to make excessive passes.
01:36
As you see in this picture here, there are some areas of red.
01:40
There is a red, are fragmented files,
01:45
fragmented files. Me make the hard drive spin more to get the same amount of files off of the drive,
01:51
so it's to your advantage to defragment hard drives. One possible
01:57
precedent to defrag button.
02:02
We'll bring up
02:06
fragmentation of the fragmentation, and if you look on the bottom left of the
02:10
box, you'll see that it's moving files.
02:13
Two. Very utilized the disk space
02:22
as this is a demo. We're not going to wait until the system is entirely done.
02:27
If you look at the green,
02:28
you'll find green is unmovable files.
02:30
Unmovable files could be things like your swap file.
02:42
So as you can see,
02:44
the drive is being de fragmented.
02:46
More files of becoming contiguous white spaces and red areas
02:51
are being consolidated.
02:59
It may take multiple passes for this to resolve all problems,
03:05
but you can see only
03:07
a minute has passed, and already we're seeing improvement on the bottom
03:13
and supposed to the top.
03:28
Usually it takes at least 15% free space to be able to do a D fragmentation,
03:32
because to defragment a file, you have to
03:38
have a place to clear space,
03:39
copy that file out and then copied back in and continuous fashion.
03:47
So we'll stop here,
03:50
but you've seen the process.
03:55
The other major tool here is error checking.
04:00
Error checking is going to check the volume.
04:02
And in the volume it's going to look for
04:05
whether all the file attributes are correct,
04:10
where the file allocation table is pointing correctly or whether there are
04:15
bad spots on the hard drive. The need to be marked as band sectors
04:18
is also a smart option. S m a r t
04:23
and drive the support smart and hardware that support Smart.
04:28
I can give you advance warning of a drives failure just by telling you that the drive has tried multiple times to read off the same area before it finally got a successful read.
04:39
So to do air attacking you can hit. Check now
04:45
if your drive is the bootable drive, or if it's a drive that has
04:48
memory swap files space,
04:51
it will not be able to check to drive while the operating system is mounted.
04:57
Right now, we can tell her to fix file system Erica and also scan for an attempt recovery of bad sectors
05:04
and when I hit start. Since this is C drive, it's going to say
05:08
they just could not perform the check now,
05:13
so
05:14
it is offering to do the check
05:15
after a reboot.
05:18
When you get close,
05:26
we can reboot the system
05:34
and get the drive failure or get the drives check.
05:38
I need to readjust this little bit to be able to perform. The reboot
05:46
go,
05:47
but this is done in a virtual machine environment, so you kiss,
05:51
see the boot up?
05:55
Yes, sir, that's having an operating system. Running in a virtual machine would be difficult to capture. The bio split up
06:02
will be turned off. Computer
06:04
we started
06:06
and let the system run.
06:10
When it comes down, it'll automatically boot up again.
06:14
When the boot up again, you'll get E
06:15
notification message saying it's about to go into the
06:18
Dr Check.
06:20
There's the VM wear
06:24
bios.
06:26
See the system booting
06:28
and here's the file system check.
06:30
You get 10 seconds to interrupt this check. You would interrupt it If you don't have the time for the drive to do its check, here's a drive. Check and take 30 minutes to two hours.
06:43
Well, see now it's running. Check disc
06:46
verifying file system. Verifying indexes. Verifying security descriptors those. You usually go pretty quickly
06:56
the steps. Four and five
06:59
take much longer,
07:00
and that's going to verify the integrity of every file
07:03
and verify the integrity of all
07:06
unused space is on hard drive.
07:11
So I'm gonna pause this screen for a moment
07:13
and come back to you
07:15
when the driver's ready
07:21
and you can see the drivers just finished.
07:26
And now the system goes into regular boot.
07:30
You may not have been able to read the messages,
07:39
but
07:46
by going in the system logs,
07:48
we can see the messages
07:50
so I'll cancel out of these programs here
08:01
and again. I'll readjust the systems that I can find
08:07
the controls
08:16
and when I wanted look, ATT system logs in the Windows box. I will take a short cut because I know the executed will file is called the event viewer
08:24
E V E N T V W r.
08:31
Look at application.
08:37
Look at win log on under the application,
08:41
and this will be one of the log files from the boot up.
08:46
And as you can see here, you'll show the drive system check
08:52
cleans up minor consistencies on the drive 509 unused index entries
09:03
and check this discovered free space marked as allocated in the master file table on made corrections.
09:16
So
09:16
that's a tool you can use to help make hard drives
09:20
work better. If you see a large number of failed sectors in the hard drive when running this test, then the hard drive itself is near failure and you should take note of that and replace the hard drive before the data is lost.

Up Next