1
00:00:06,780 --> 00:00:09,720
- [Instructor] Let's talk
about Magnetic Hard Drives.

2
00:00:09,720 --> 00:00:13,980
The hard disk drive
implies a magnetic disc.

3
00:00:13,980 --> 00:00:18,060
HDD or hard disk drive
when we hear these terms,

4
00:00:18,060 --> 00:00:20,580
we're talking about magnetic disks

5
00:00:20,580 --> 00:00:22,740
and standard magnetic hard disks

6
00:00:22,740 --> 00:00:24,870
are three and a half inches wide,

7
00:00:24,870 --> 00:00:28,500
they go in a standard bay
in your desktop computer

8
00:00:28,500 --> 00:00:32,010
and they use multiple
platters to store data.

9
00:00:32,010 --> 00:00:34,890
So here's an example of a hard drive,

10
00:00:34,890 --> 00:00:37,020
this is an illustration of a hard drive

11
00:00:37,020 --> 00:00:40,533
with the top taken off and
here we have the platters,

12
00:00:41,400 --> 00:00:45,180
they rotate around a spindle,
which keeps them in place

13
00:00:45,180 --> 00:00:49,740
and we have read/write heads
for each of the platters

14
00:00:49,740 --> 00:00:51,780
on the end of an actuator arm

15
00:00:51,780 --> 00:00:55,410
which moves across the platter
to read the information

16
00:00:55,410 --> 00:01:00,410
from the appropriate sector and track.

17
00:01:00,810 --> 00:01:03,180
So we have some moving parts here

18
00:01:03,180 --> 00:01:06,450
and the moving parts can fail over time,

19
00:01:06,450 --> 00:01:07,770
so that's one of the reasons

20
00:01:07,770 --> 00:01:11,250
for the move to solid state drives.

21
00:01:11,250 --> 00:01:14,160
And over here, we have our
power and data connectors

22
00:01:14,160 --> 00:01:17,070
and optional jumper block which will show

23
00:01:17,070 --> 00:01:19,350
on a real hard drive in just a little bit.

24
00:01:19,350 --> 00:01:22,950
So that's some of the parts
there of the hard drive,

25
00:01:22,950 --> 00:01:25,200
the internal workings of the hard drive.

26
00:01:25,200 --> 00:01:26,550
Are you ever gonna fix these?

27
00:01:26,550 --> 00:01:29,370
No, does the A+ exam
expect you to fix these?

28
00:01:29,370 --> 00:01:32,700
No, but it's good to know
how the hard drive works

29
00:01:32,700 --> 00:01:35,460
so you have an idea of
what could possibly fail,

30
00:01:35,460 --> 00:01:38,850
the read/write head might
fail, or the arm might fail

31
00:01:38,850 --> 00:01:42,390
and you might hear some
noise in the hard drive,

32
00:01:42,390 --> 00:01:44,280
excessive noise which means

33
00:01:44,280 --> 00:01:47,078
that the hard drive's about to go so,

34
00:01:47,078 --> 00:01:48,533
you know, you wanna watch for that.

35
00:01:50,160 --> 00:01:54,060
These drives are usually
SATA, so serial ATA

36
00:01:54,060 --> 00:01:56,980
and they make use of a
15-pin power connector

37
00:01:58,500 --> 00:02:02,460
and the 15-pin power
connector has a vertical tab

38
00:02:02,460 --> 00:02:06,330
on the right usually
and it makes it easier

39
00:02:06,330 --> 00:02:09,390
for orientation when you're
connecting that power cable,

40
00:02:09,390 --> 00:02:13,650
and the power supply sends
3.3 volts, five volts,

41
00:02:13,650 --> 00:02:17,220
and 12 volts to that SATA drive

42
00:02:17,220 --> 00:02:19,050
and those are the orange and red

43
00:02:19,050 --> 00:02:22,110
and yellow wires respectively.

44
00:02:22,110 --> 00:02:24,720
And you also have your data cable here,

45
00:02:24,720 --> 00:02:27,060
the data cable is a seven-pin connector

46
00:02:27,060 --> 00:02:28,620
and that connects here.

47
00:02:28,620 --> 00:02:32,610
And let's go ahead and show
that on a real drive right now.

48
00:02:32,610 --> 00:02:35,370
Here we have a Western
Digital 500 gigabyte drive,

49
00:02:35,370 --> 00:02:37,320
it's standing on its ends

50
00:02:37,320 --> 00:02:40,080
and here are the connectors
that we spoke of.

51
00:02:40,080 --> 00:02:43,500
This is the SATA power connector

52
00:02:43,500 --> 00:02:47,760
and that port has 15 pins
you can even count them here.

53
00:02:47,760 --> 00:02:50,280
And here is the seven-pin data connector,

54
00:02:50,280 --> 00:02:52,380
again, you can actually count these pins

55
00:02:52,380 --> 00:02:54,600
so you know which are which.

56
00:02:54,600 --> 00:02:56,820
That power connector, as we mentioned,

57
00:02:56,820 --> 00:02:59,490
has a little tab here on the right

58
00:02:59,490 --> 00:03:02,010
and that helps you to
orient the power connector,

59
00:03:02,010 --> 00:03:05,910
the data connector has a
little tab on the left,

60
00:03:05,910 --> 00:03:08,100
so that's just for orientation.

61
00:03:08,100 --> 00:03:11,130
And here we have the jumper block,

62
00:03:11,130 --> 00:03:13,890
and that's really only used
if you're gonna use this drive

63
00:03:13,890 --> 00:03:17,100
in conjunction with older IDE drives,

64
00:03:17,100 --> 00:03:18,750
which I don't really recommend

65
00:03:18,750 --> 00:03:21,180
and some other special circumstances,

66
00:03:21,180 --> 00:03:23,820
but you're rarely gonna use that or see it

67
00:03:23,820 --> 00:03:27,063
on today's SATA drives.

68
00:03:28,650 --> 00:03:30,300
Here we have a circuit board

69
00:03:30,300 --> 00:03:32,700
and that contains the controller chip

70
00:03:32,700 --> 00:03:35,130
and the cache memory for the hard drive

71
00:03:35,130 --> 00:03:37,080
and it has a flex circuit which connects

72
00:03:37,080 --> 00:03:42,060
to the spindle here, which
the platters rotate around

73
00:03:42,060 --> 00:03:45,180
so we can have this
communication for the hard drive.

74
00:03:45,180 --> 00:03:47,520
So remember, there's moving parts in here,

75
00:03:47,520 --> 00:03:51,990
and we have a lot of
things going on that SSDs

76
00:03:51,990 --> 00:03:54,510
or solid state drives
pretty much alleviate

77
00:03:54,510 --> 00:03:56,100
any of these problems that you'll have

78
00:03:56,100 --> 00:03:58,770
in a hard disk drive such as this.

79
00:03:58,770 --> 00:04:01,050
So remember that magnetic
hard disk drives,

80
00:04:01,050 --> 00:04:03,270
they're still out there,
you'll still find 'em,

81
00:04:03,270 --> 00:04:05,190
but they're quickly being overshadowed

82
00:04:05,190 --> 00:04:08,223
and overtaken by the solid state drive.

83
00:04:10,080 --> 00:04:13,020
Let's talk a little bit about
hard disk specifications.

84
00:04:13,020 --> 00:04:16,110
There's a couple you need
to know or several really,

85
00:04:16,110 --> 00:04:17,760
and the first is capacity.

86
00:04:17,760 --> 00:04:19,890
The capacity is the amount of data

87
00:04:19,890 --> 00:04:21,930
that the hard drive can hold.

88
00:04:21,930 --> 00:04:26,040
And so, for example, you might
have a 500 gigabyte drive

89
00:04:26,040 --> 00:04:29,160
or you might have a one terabyte drive.

90
00:04:29,160 --> 00:04:30,810
And the capacity is important,

91
00:04:30,810 --> 00:04:32,010
you want to know, you know,

92
00:04:32,010 --> 00:04:33,660
how much data are you gonna be storing?

93
00:04:33,660 --> 00:04:36,690
You wanna understand how much
data your drive can hold,

94
00:04:36,690 --> 00:04:38,190
and, you know, keep in mind,

95
00:04:38,190 --> 00:04:40,440
you may need a bigger drive later on,

96
00:04:40,440 --> 00:04:45,440
or an array of drives or a good
backup system or something.

97
00:04:46,020 --> 00:04:48,300
So, keep in mind the capacity,

98
00:04:48,300 --> 00:04:51,480
also, when you're
dealing with hard drives,

99
00:04:51,480 --> 00:04:53,700
when you look at the
manufacturer's website,

100
00:04:53,700 --> 00:04:56,130
say Western Digital or Seagate,

101
00:04:56,130 --> 00:05:00,600
you'll see the drive marketed
as say, 500 gigabytes,

102
00:05:00,600 --> 00:05:04,350
but when you look at that
drive in, say Windows 7,

103
00:05:04,350 --> 00:05:07,500
you'll see it as 465 gigabytes

104
00:05:07,500 --> 00:05:09,120
and you're not losing any data,

105
00:05:09,120 --> 00:05:11,460
you're not losing any capacity.

106
00:05:11,460 --> 00:05:14,280
The reason for that is because
the hard drive manufacturer

107
00:05:14,280 --> 00:05:16,590
uses the base-10 system

108
00:05:16,590 --> 00:05:19,080
and Windows uses the base-2 system

109
00:05:19,080 --> 00:05:24,080
where a kilobyte is 1,024
bites instead of 1000

110
00:05:25,800 --> 00:05:29,190
and a megabyte is 1,024
kilobytes and so on

111
00:05:29,190 --> 00:05:32,220
and so in total, a 500
gigabyte drive will be read

112
00:05:32,220 --> 00:05:37,220
by say Windows 7 as 465
gigabytes, so that's capacity.

113
00:05:38,130 --> 00:05:39,780
Next is cache.

114
00:05:39,780 --> 00:05:42,960
Cache is a buffer of memory

115
00:05:42,960 --> 00:05:46,980
and the cache on most hard
drives is on-board DRAM,

116
00:05:46,980 --> 00:05:49,680
it's right on the circuit
board to the drive.

117
00:05:49,680 --> 00:05:52,231
And you can compare this with CPUs,

118
00:05:52,231 --> 00:05:55,410
CPUs have cache memory
which we've spoken of,

119
00:05:55,410 --> 00:06:00,410
and they use SRAM and that's
significantly faster than DRAM,

120
00:06:01,530 --> 00:06:04,140
but, like the CPUs, the hard drives cache

121
00:06:04,140 --> 00:06:07,380
helps to access frequently
used information

122
00:06:07,380 --> 00:06:09,840
faster than if it were to get
it from the magnetic disc,

123
00:06:09,840 --> 00:06:11,997
in fact, a lot faster,
you know, your on-board

124
00:06:11,997 --> 00:06:15,360
DRAM's gonna be much faster
than the magnetic disk.

125
00:06:15,360 --> 00:06:17,370
So there's capacity and cache,

126
00:06:17,370 --> 00:06:19,770
let's look at our hard
drive again and show those

127
00:06:19,770 --> 00:06:22,830
on the label of the drive
and show what they mean.

128
00:06:22,830 --> 00:06:25,440
Okay, here we're looking
at the top of the drive

129
00:06:25,440 --> 00:06:26,760
and we're looking at the label,

130
00:06:26,760 --> 00:06:30,270
we see this as a Western
Digital 500 gigabyte

131
00:06:30,270 --> 00:06:32,850
Caviar Blue drive, just the basic drive

132
00:06:32,850 --> 00:06:34,920
for holding basic data.

133
00:06:34,920 --> 00:06:37,290
But we also see here that it says SATA

134
00:06:37,290 --> 00:06:40,560
so we know the type of drive,
and it says 16 megabytes

135
00:06:40,560 --> 00:06:43,770
of cache, so we know how much
cache memory this drive has.

136
00:06:43,770 --> 00:06:48,120
Newer drives today have a lot
more cache and faster cache.

137
00:06:48,120 --> 00:06:52,003
We also see here the
model number, WD5000AAKS.

138
00:06:54,750 --> 00:06:57,780
Now it's important to know the cache

139
00:06:57,780 --> 00:06:59,970
and the model number, and perhaps even

140
00:06:59,970 --> 00:07:04,020
the serial number here, whenever
you are replacing a drive

141
00:07:04,020 --> 00:07:05,430
because you should replace the drive

142
00:07:05,430 --> 00:07:08,430
with the same drive usually
unless you're upgrading,

143
00:07:08,430 --> 00:07:11,490
but also if you're gonna
create an array of drives

144
00:07:11,490 --> 00:07:15,783
say a RAID 1 or a RAID 5
array, or any type of array.

145
00:07:16,860 --> 00:07:19,420
You wanna use the same type of drive

146
00:07:20,550 --> 00:07:23,010
for all the drives in the array

147
00:07:23,010 --> 00:07:25,260
and you really wanna
go by this model number

148
00:07:25,260 --> 00:07:27,000
when you do that.

149
00:07:27,000 --> 00:07:31,290
So make sure that all the
drives are WD5000AAKS,

150
00:07:31,290 --> 00:07:34,980
because the model names
can be slightly different,

151
00:07:34,980 --> 00:07:39,890
like AAVS or WD5000ABKS, or what have you.

152
00:07:41,970 --> 00:07:44,640
So you wanna be real careful
with that and check that

153
00:07:44,640 --> 00:07:48,510
make sure that you're
using the correct drive,

154
00:07:48,510 --> 00:07:52,380
using the same drives for
all of them within the array.

155
00:07:52,380 --> 00:07:55,830
We also have a schematic
of the connections

156
00:07:55,830 --> 00:07:58,590
showing you where to connect
the power and the data

157
00:07:58,590 --> 00:08:02,070
and so on and if you
have to make any changes

158
00:08:02,070 --> 00:08:03,723
to the jumper settings,

159
00:08:04,830 --> 00:08:06,480
it gives you that information there.

160
00:08:06,480 --> 00:08:09,060
So always look at the label,
the drive it can give you a lot

161
00:08:09,060 --> 00:08:13,680
of information that you need
to know as far as connecting it

162
00:08:13,680 --> 00:08:18,210
or compatibility or exactly
what type of drive it is

163
00:08:18,210 --> 00:08:21,300
if you can't find this
information within your bios

164
00:08:21,300 --> 00:08:24,513
or within your analysis software.

165
00:08:25,890 --> 00:08:29,340
Okay, getting back to
hard disk specifications,

166
00:08:29,340 --> 00:08:31,980
let's talk about data transfer rate.

167
00:08:31,980 --> 00:08:34,140
The data transfer rate of a hard drive

168
00:08:34,140 --> 00:08:39,140
is the maximum amount of bytes
that can be sent or received.

169
00:08:39,930 --> 00:08:43,770
But it's a theoretical maximum
and the theoretical numbers

170
00:08:43,770 --> 00:08:47,040
are never really actually achieved,

171
00:08:47,040 --> 00:08:49,620
generally, you'll get a
data throughput amount

172
00:08:49,620 --> 00:08:52,080
that you actually are using,

173
00:08:52,080 --> 00:08:56,040
but, you should know the
data transfer rate maximums

174
00:08:56,040 --> 00:09:00,150
for SATA and you can see
those are listed here.

175
00:09:00,150 --> 00:09:02,307
First, we have SATA Revision 1.0

176
00:09:03,210 --> 00:09:07,320
and we see that it's
measured in bits and bytes,

177
00:09:07,320 --> 00:09:12,270
so 1.5 gigabits per second will basically

178
00:09:12,270 --> 00:09:15,300
come down to being 150 megabytes

179
00:09:15,300 --> 00:09:17,880
of data being written
to the drive per second.

180
00:09:17,880 --> 00:09:21,450
Now you may say, well, why
didn't we just divide by eight?

181
00:09:21,450 --> 00:09:26,450
And the reason that it's
only a 10th of the data

182
00:09:26,910 --> 00:09:30,720
sent serially is because of encoding.

183
00:09:30,720 --> 00:09:32,940
You have some additional encoding data

184
00:09:32,940 --> 00:09:36,660
that has to be removed
after it gets to the drive

185
00:09:36,660 --> 00:09:39,690
before that data can be
written to the drive.

186
00:09:39,690 --> 00:09:41,310
So you lose a little bit there,

187
00:09:41,310 --> 00:09:44,250
so 1.5 gigabit serial connections

188
00:09:44,250 --> 00:09:47,400
will actually store 150
megabytes of data per second

189
00:09:47,400 --> 00:09:48,660
on the drive.

190
00:09:48,660 --> 00:09:50,460
Then we have SATA Revision 2

191
00:09:50,460 --> 00:09:52,470
and you'll see a lot of
these drives out there,

192
00:09:52,470 --> 00:09:54,600
there are three gigabytes per second

193
00:09:54,600 --> 00:09:57,540
and they can write a maximum
of 300 megabytes per second

194
00:09:57,540 --> 00:09:58,373
to the drive.

195
00:09:58,373 --> 00:10:03,373
Now, our drive is an
SATA Revision 2.0 drive,

196
00:10:03,900 --> 00:10:06,690
so it has this theoretical
maximum of 300 megabytes

197
00:10:06,690 --> 00:10:10,350
per second, but this particular drive

198
00:10:10,350 --> 00:10:14,434
can only sustain in the
neighborhood of say 120,

199
00:10:14,434 --> 00:10:17,580
130 megabytes per second

200
00:10:17,580 --> 00:10:20,550
and this is also referred
to as data throughput,

201
00:10:20,550 --> 00:10:23,400
the actual amount of data
that you can send back

202
00:10:23,400 --> 00:10:26,400
and forth in your computer,
in your environment.

203
00:10:26,400 --> 00:10:29,400
So, in my environment, in my
lab, that's about what I get

204
00:10:29,400 --> 00:10:33,690
on this magnetic disk,
120 megabytes per second,

205
00:10:33,690 --> 00:10:37,590
the theoretical maximum is
300 megabytes per second.

206
00:10:37,590 --> 00:10:39,960
So, some food for thought there.

207
00:10:39,960 --> 00:10:42,720
Next, we have SATA Revision 3

208
00:10:42,720 --> 00:10:46,020
and we have one of those
drives going into our AV editor

209
00:10:46,020 --> 00:10:48,810
also and that's six gigabytes per second

210
00:10:48,810 --> 00:10:51,660
or 600 megabytes per second.

211
00:10:51,660 --> 00:10:54,360
And now we have SATA Revision 3.2

212
00:10:54,360 --> 00:10:57,780
as of the recording of this
video, that's the latest one

213
00:10:57,780 --> 00:11:00,600
and that goes at 16 gigabytes per second

214
00:11:00,600 --> 00:11:03,720
and has less encoding data,

215
00:11:03,720 --> 00:11:06,840
so we actually get a better ratio

216
00:11:06,840 --> 00:11:11,840
and it's upwards of 1,969
megabytes per second

217
00:11:12,990 --> 00:11:15,600
or two gigabytes of data per second,

218
00:11:15,600 --> 00:11:19,950
so that's a big jump, and
that is data transfer rate.

219
00:11:19,950 --> 00:11:21,420
Couple other things you should know

220
00:11:21,420 --> 00:11:23,760
for hard disk specifications;

221
00:11:23,760 --> 00:11:25,620
the first is rotational speed.

222
00:11:25,620 --> 00:11:28,800
This only deals with magnetic hard drives

223
00:11:28,800 --> 00:11:33,800
and some examples are
5400, 7200, or 10,000 RPMs

224
00:11:35,100 --> 00:11:36,780
or rotations per minute.

225
00:11:36,780 --> 00:11:41,780
The rotational speed is
something that you might look at

226
00:11:41,880 --> 00:11:45,930
when you're interested in how
fast the data can be accessed.

227
00:11:45,930 --> 00:11:50,610
If you need really fast data
access, you wanna higher speed.

228
00:11:50,610 --> 00:11:52,110
If you don't really care that much,

229
00:11:52,110 --> 00:11:53,850
if you just have a
computer that's connecting

230
00:11:53,850 --> 00:11:57,900
to the internet, you might
wanna just go with 5,400 RPM.

231
00:11:57,900 --> 00:11:58,733
Why?

232
00:11:58,733 --> 00:12:00,180
'Cause there's a cost factor involved,

233
00:12:00,180 --> 00:12:03,870
the drives with the higher
RPMs are gonna cost more money.

234
00:12:03,870 --> 00:12:06,300
But again, the drives with the higher RPMs

235
00:12:06,300 --> 00:12:08,970
have faster access times

236
00:12:08,970 --> 00:12:12,600
because there's less seek
time to get the information

237
00:12:12,600 --> 00:12:17,010
from the particular sector
and track on the drive.

238
00:12:17,010 --> 00:12:20,910
Now this is tied into
another term called latency.

239
00:12:20,910 --> 00:12:25,440
After a track has been reached
by the read/write head,

240
00:12:25,440 --> 00:12:29,760
latency is the delay in time
before a particular sector

241
00:12:29,760 --> 00:12:31,740
on that platter can be read.

242
00:12:31,740 --> 00:12:35,400
So that's how long it takes
for the platter to spin around

243
00:12:35,400 --> 00:12:38,580
for the read/write head
to actually get that data,

244
00:12:38,580 --> 00:12:42,450
and it's directly related
to that rotational speed.

245
00:12:42,450 --> 00:12:45,060
It's usually half the time it takes

246
00:12:45,060 --> 00:12:47,130
for the disk to rotate once.

247
00:12:47,130 --> 00:12:50,880
So for a very common 7,200 RPM drive,

248
00:12:50,880 --> 00:12:54,390
the average latency will
be 4.2 milliseconds,

249
00:12:54,390 --> 00:12:58,260
but, for a faster drive
that runs a 10,000 RPMs,

250
00:12:58,260 --> 00:13:02,253
it'll be a lower latency, say
around three milliseconds.

251
00:13:03,240 --> 00:13:05,400
So those are some of the
hard dis specifications

252
00:13:05,400 --> 00:13:10,400
you should know, capacity,
cache, data transfer rate,

253
00:13:11,070 --> 00:13:14,130
rotational speed, and latency.

254
00:13:14,130 --> 00:13:17,670
And if you get a chance, get
yourself a magnetic hard disk

255
00:13:17,670 --> 00:13:21,240
and take a look at it,
look at all the ports,

256
00:13:21,240 --> 00:13:23,880
look at the information on the label

257
00:13:23,880 --> 00:13:27,000
and see how it works, connect
it into your computer,

258
00:13:27,000 --> 00:13:29,370
see how the actual drive functions.

259
00:13:29,370 --> 00:13:31,353
So that's about it for this sub lesson.
