start	end	text
0	4680	All right, so I'm Scott Moulton. I've done quite a few talks here.
4680	10020	I'm from a company primarily MyHardDriveDied.com, which is a data recovery company.
10020	13460	And I do forensics for a living as well from Forensic Strategy Services.
13460	16460	So we cross back and forth and do a number of different things.
16660	21960	So as you guys can see, this is supposed to be recover my porn from my rate array.
21960	28140	So if you guys aren't either interested in rate arrays or porn, then you're in the wrong talk.
28140	29660	So maybe you want to leave.
29700	33220	And I got the idea from this talk from Carlo down here. Stand up, Carlo.
34260	36160	Wave. Thank him.
40600	44060	He's going to do discreetly recover your porn.
44060	47220	So if you don't want it posted on the Internet anyway.
48880	50480	All right, so what is this talk about?
50480	56500	Basically, we're going to kind of run through real quick just the ideas of what rate is.
56500	59620	How many people in here are dealing with rate arrays on a daily basis?
59660	60580	Yeah, pretty much.
60580	63440	How many people have had to recover a failed rate array?
64740	66600	That's great for redundancy, right?
66600	70440	Like if that was the point of a rate array, you still have to do recovery.
70800	73080	Part of the problem is obviously this marketing problem.
73080	76380	So I'm going to cover a couple of different unusual types of rate arrays.
76380	79460	Then we're going to hit rate 0, rate 5, and then I'm going to try to do a demo.
79460	81780	So hopefully it all fits in there.
81780	84360	So that's the idea of what we're going to cover.
84360	87800	So I'm going to go ahead and answer the questions now.
87800	90960	These are the three questions that I'm going to constantly get.
91140	95660	So yes, you can download these pictures, slides.
95660	99260	Myharddrive.com's got a presentation page.
99260	102720	And Defcon 17, I just posted these up there so you guys can go download them.
102940	106120	And her name is on the last slide.
106120	111340	So if you can either download it or wait for the rest of this presentation, then you'll have her name.
111340	114560	And yes, you can whatever, hire her, however you give her money.
114560	119460	And yes, she's single, but I know that for a lot of people here, because I know a lot of you guys,
119460	122180	it wouldn't make a difference whether she was married or single or anything.
122200	125020	You don't care. I know.
132640	134620	All right, so why are we going to talk about rate recovery?
134720	137540	The first reason here is mainly because it's expensive.
137540	139760	Anybody sent one into a recovery company before?
139800	140880	Yeah, how much?
141800	145400	$3,000. That's probably just a personal array.
145400	147160	That sucks, dude. Yeah?
148320	149620	But it's expensive, right?
149620	152440	They usually either charge by the size, by the number of drives.
152440	156900	And they usually even charge sometimes, even if they don't get it back, because it's so complicated to rebuild.
156900	158820	Because you have multiple steps you've got to go through.
158820	162020	You've got to go through the physical side of repairing the disk that you need to repair.
162020	163540	I'll cover that stuff in a second.
163600	166200	Then you've got to go through the reassembly mode.
166200	169440	And then sometimes you've got to spit it out as a full array, as one solid image,
169440	173600	so that you can parse through it in some package that doesn't crash when it runs into bad sectors or something.
173600	176240	It's a lot more difficult than doing single drives.
176240	180820	If you've seen my previous talks here, you know already that I've covered a lot with single drives,
180820	182160	how to do physical repair.
182160	185800	All that stuff still applies to these, whether it's SCSI drives, it's IDE drives,
185800	187400	whatever RAID array you're dealing with.
187400	188160	All of that stuff.
188160	191960	So there's like 50 hours out there I've done on do-it-yourself, repair-your-own-drive,
191960	193720	how to go through that process.
194620	196260	Time-consuming, it fails.
196260	201620	But the biggest thing here is that when I leave here, I get hundreds of questions all the time about...
201620	204000	you know, it's not my one hard drive, I have this RAID array.
204000	207260	So I'm trying to answer these questions in a talk, so you guys can get this.
207540	209620	So here's kind of my assumptions for the talk.
209620	213640	The first one is that you've already done what you've got to do from my previous four or five years
213640	216220	of doing this kind of talk about repairing that drive.
216220	219220	So somehow you've repaired the drive, and you've either got a DD image of it,
219220	222040	or you've got a physical clone of the drive running.
222040	225180	And there's some weird things with some clones sometimes, so I'll talk about that.
225920	231140	And then we're also, when we're talking about RAID, my assumption here is that you're getting a RAID array
231140	232420	that you might not know anything about.
232540	236680	Sometimes, because in the data recovery world, you may have the luxury of having a controller
236680	240200	that you understand, that you know how the layout is, if it's your own personal RAID.
240200	243360	But how many of you have got the mystery box? You guys have got that before, right?
243600	247020	Like, somebody hands you a pile and says, I don't know what this is, but somehow I've got to do it.
247020	251780	And if you're lucky, they root the number on the drives as they remove them from the RAID array.
251800	256180	If not, then you've got like, here's 52 cards, and figure out which ones are in the right order.
256200	258280	So that happens a lot.
258280	262920	And I'm counting on you having, you know, maybe not porn, maybe just pictures.
262920	264600	But, I mean, who doesn't have porn?
264920	268520	Even in company, you don't have porn? Really?
268600	269920	Your boss or somebody might.
269920	271680	But anyway, so...
272780	274280	Usually it's of themself.
274540	276040	All right.
277800	280000	All right, so it's kind of the do-it-yourself talk.
280000	281900	I'm going to kind of just cover... I'm teaching you.
281900	287100	The whole point is, is in one hour, as much as I can, you're still going to have to kind of do some of your own research
287100	290700	and figure some stuff out, because if you can figure stuff out about the RAID array itself,
290700	293980	the order of the disks, the way they came out or whatever, great.
293980	297740	If not, then we're going to kind of guess, and I'm going to show you how I guess as I go through this.
297740	300540	After you've seen like 3,000 of these, it becomes kind of like Matrix stuff.
300540	304720	You go girl in red dress or not in red dress or whatever, but you start to see it.
306160	308600	And we're going to do it as cheap as possible.
308600	312960	I'd like to say free all the time, but, you know, let's face it, in the commercial industry,
312960	316020	that's where, you know, the reassembly of RAID is usually a commercial product.
316020	318500	So you're going to sometimes be stuck with buying something.
318500	321100	So I'm going to try to stick under $100, so at least it's affordable.
321420	326340	And then basically, you know, the whole point is we're going to look at pictures and sound,
326340	327960	and we're going to try to figure it out from those things.
328840	331560	It's going to take you a lot of time. It's going to take you a lot of disk space.
331560	333360	There's no easy way around those things.
333420	337440	You've got to find pictures, and you're going to constantly have to be persistent and experiment.
337440	340660	If you've got the drives, and you've repaired it, and you've got images of it,
340660	344980	you can probably figure this out, but it may take you 24 hours to actually go through rotations
344980	346900	and things that you can actually figure out.
346980	349840	So research helps. Slides are on myharddrive.com.
350260	351660	All right, so what is a RAID array?
351660	357860	So functionally, we have an array of independent, and this is where the terminology kind of gets messed up.
357860	362260	I think originally what happened was it was supposed to be a redundant array of inexpensive disks,
362260	365720	and somebody took a bill to the boss, and he goes, how is this inexpensive?
367080	368080	Explain that to me.
368080	372600	So it's gone to independent, and people make up a lot of other words to put in the I spot.
373420	377760	Anyway, so this is all about marketing and redundancy.
377760	379680	Some arrays are not redundant.
379680	384100	So now what you have in the last eight or ten years that you didn't have before with RAID arrays
384100	389380	is you've got a box that's on a shelf, and some photographer or something comes in and sees a box,
389380	391520	and it says RAID on it, and he buys it.
391640	394600	And then what is that usually? What RAID is that usually?
394740	396380	RAID zero, right?
396380	399560	And completely worthless for those people who thought it was redundant.
400420	404080	So that's our biggest problem is that you're going to see a bunch of RAID zero.
404520	406040	You will still see RAID one.
406040	408880	Even though it's supposed to be a mirror, you're going to see it from time to time
408880	412340	because whatever crap got written to the first disk got written to the second disk bad too.
412660	413880	And then you get RAID five.
413880	415200	Those are going to be the most common.
415200	420140	When you get into RAID six, RAID five EE, and E, and other variations of RAID,
420140	422120	you're probably not seeing those where there's a backup,
422120	425160	but for the most part you're going to be dealing with RAID zero and RAID five,
425160	427560	at least in a data recovery arena or something.
428420	431160	So I get these mystery boxes and we've got to guess about it.
431160	433820	So I'm going to talk about just real quick the unusual stuff
433820	436280	because usually you still have these multiple step processes.
436280	439340	It's kind of like you have an operating system, but you also have a file system.
439340	441400	So you have to deal with these things differently.
441400	445540	So for instance, you may still have the functional side of RAID,
445540	447800	which is I've got slices and they're on the drives,
447800	449660	and they're all broken up in different orders.
449680	453060	But then you may have some variations of what's actually happening to the data
453060	456860	that's sitting on them like XFS or ZFS or whatever else that they've written.
456860	459300	So you have some combinations.
459300	461980	One of the things that really kind of isn't really a RAID,
461980	465340	but people keep throwing it into that thing, is the JBODs.
465340	468480	So you have JBODs, which are typically on the LaCie drives,
468480	472560	or there's a bunch of different phantoms and just different variations of drives.
472560	474240	So I'll hit that real quick.
474240	475980	XFS and ZFS.
476340	479080	You're usually looking at the Buffalo Terra stations,
479080	482280	some variations of different ones that have Linux with LaCie drives.
482280	483740	LaCie is kind of promiscuous.
483740	487680	They're like, one day of the week, or LaCie, whatever they call it.
487680	489720	But one day of the week, there'll be one format.
489720	491180	Another day of the week, there'll be a different one.
491180	494580	So there's some variations you can start to look at and try to figure out what they are.
494580	496660	But those are some of the hardest ones to deal with
496660	498980	because XFS and ZFS right now,
498980	502760	very limited in the number of tools that you actually have
503200	504540	and how you process them,
504540	506960	because there's no real easy way to deal with XFS
506960	509220	other than doing file carving or something like that.
509220	510680	But that doesn't give you back metadata
510680	515080	like structure and directories and dates and times and file names.
515080	516760	File names is the worst one to lose.
517240	519120	So these are the kind of boxes that you're looking at
519120	521480	when you're dealing with those kind of arrays.
521580	523520	So let's talk about JBOD real quick.
523520	529140	And who noticed that there's actually a drive on the slide?
529140	530840	That's what I thought, yeah.
531020	531700	Alright, so...
532300	533260	Drink.
533260	535160	Every time there's porn, I gotta drink?
536560	537380	Alright.
537580	539860	So JBOD, basically just a bunch of disks.
539860	541660	So you basically have a bunch of disks,
541660	542960	however that they've stuck them together.
542960	544640	Usually you're still talking about a pair.
544640	547300	So you've got something that will basically have
547300	548860	usually not a fan or anything.
548860	550560	That's usually why it's broke, it overheated,
550560	551960	something melted down.
552440	553740	Now you'll have two disks.
553740	555140	And typically what'll end up happening is
555140	556560	you'll have a file system on one disk
556560	558420	and the second disk will just be concatenated.
558420	560600	There will be a board or something that helps concatenate it
560600	563840	when you get to end of this disk, then go to the next disk.
563840	567500	So they look a lot like this right here.
567500	571480	So physically, you take these drives out.
571500	574620	One of the drives, this is going to be similar to RAID 0
574620	576940	in the fact that if you don't have one of the drives,
576940	578520	it's damaged.
578520	579620	You've lost data.
579620	581040	There's nothing you can do about it.
581040	582900	So you will have two drives.
582900	586500	If they're a JBOD, one drive will still continue to have files on it
586500	589380	that you can just do standard file carving stuff.
589380	591580	Like go find all the JPEGs and copy them off.
591580	592600	And you'll get those.
592600	594800	You'll lose names and you'll lose structure and stuff.
594820	596620	And the other disk is going to have the file system
596620	599480	and sometimes have what's called an HPA on there.
599560	601600	So you'll have a host protected area
601600	604720	and it will be the size of the two drives together.
604720	607260	So in other words, you'll plug in, let's say these are two 250s
607260	609540	and together they make 500.
609540	612660	The first drive will have an HPA on it that will say,
612660	613960	I am 500 gigs.
613960	616660	So you plug in this 250 gig drive and it says I'm 500.
616660	619000	Well, you know right away that that's what you're dealing with,
619000	620840	that you've got one, and you know which one you have too
620840	622080	because that will be the first one.
622080	623340	That means the second disk is dead.
623340	625220	So you have file system and you can probably actually
625220	628360	at least fix the files that exist on this one disk.
628360	629220	So that's the one thing.
629220	630000	So HPA.
630000	634420	So this is common practice that you actually have to use an HPA.
634420	637820	So a host protected area is basically that extra space that was on a disk
637820	641240	that says, hey, I've got some utilities or I've got some DVDs
641240	643320	or I've got this other stuff that's sitting out there.
643320	647380	Its primary purpose was to make the disk smaller than it originally is.
647380	648560	So there's this extra space.
648560	651780	And it will report to the system as it's booting
651780	652760	and it will actually show up.
652760	655960	So I can take a 500 gig hard drive and I can say, you're 40 gigs.
655960	657940	And when I boot it, it will actually say 40 gigs.
657940	659720	Everything will think it's 40 gigs.
659720	661640	It will actually respect that content.
661640	664120	So you're going to use that for some various things.
664340	667720	Most of the time, when you're cloning a disk that's damaged,
667720	670140	you can't find the exact same disk.
670140	672360	So you don't have the exact same geometry.
672560	674220	So this is a way that you can set it.
674220	678160	You can use the host protected area to physically set the size of the disk
678160	679440	so that it matches.
679480	681880	And you can use it in combinations with other things.
681880	684260	So, for instance, this is a NAS box.
684260	686080	This is a LaCie NAS box.
686160	688060	And there's no USB port or whatever.
688060	690340	Now, what you can see here is I had two drives.
690340	695520	There was originally a one terabyte array,
695520	697620	whatever you want to call it here with this particular one.
697620	700820	So what ended up happening is I had the 500 gig that was good
700820	702520	and I had a 500 gig that was bad.
702520	705600	I took a one terabyte and I actually cloned the one terabyte.
705600	707100	But now when I put it back in,
707100	710000	I need the system with this custom board with whatever they did
710000	712640	because my whole point is to make my life as easy as possible.
712660	714000	I could probably do this in software,
714000	716620	but why not let the hardware, if it's still functioning, do the job?
716720	721020	So I cloned this drive in reverse using some special tools like DD Rescue
721020	723020	to actually clone a drive in reverse.
723040	727100	Then you set the HPA to the same size as the original drive,
727100	729960	which you can look on the label and actually just in the software,
729960	732620	there's several tools that will set HPAs.
732620	734240	So one of them is called MHDD.
734360	736640	So MHDD is a free boot disk you can boot on,
736640	738500	plug the drive into the ATA controller,
738500	742260	and you can basically type in from the label what your size is,
742260	743680	and it will make it that size.
743680	745660	So I put the one terabyte drive in here,
745660	747000	and now it's a 500 gig.
747000	750280	And the two drives got bound back together again in the RAID array,
750280	752580	and I was able to actually copy the stuff off,
752580	754740	physically without having to do any other work.
754740	757340	So make sure that you're paying attention to things like that.
757520	759860	If you're dealing with ZFS and XFS,
759860	761400	which will all come after the fact,
761400	763520	like if you've repaired a RAID 0 or RAID 5,
763520	765980	you may still have XFS or something to deal with.
765980	768460	There's really only two ways that I know of right now
768460	769560	that you can actually deal with.
769560	771160	There's one that's called TestDisk,
771160	773220	which is basically for repairing partitions,
773220	775360	and they've added XFS support to it.
775380	777200	They currently, I do not think, have ZFS,
777200	778640	but he adds things all the time.
778640	781260	So TestDisk is your one way to actually say,
781260	783220	read all the files, repair a partition structure,
783220	785460	write it back, so keep TestDisk in mind.
785460	786920	The other one is a commercial product,
786920	788600	which is slightly more than $100.
789280	792500	It's called UFS Explorer, and it does XFS,
792500	795800	and there's a current version that actually supports ZFS.
795800	798000	So it's one of the only ones I know of doing ZFS.
798000	800820	So as you start running into new RAID arrays that have ZFS,
800820	802600	you may need something like this.
802640	804960	And you can see right here, this was a Buffalo Terra Station
804960	807560	that we actually mounted, and we were able to display
807560	810140	and actually extract all the data after we corrected
810140	811820	the physical problem with the disk.
812580	814680	So that's enough of those other types.
814680	817000	So let's talk about RAID 0.
817280	822870	All right, so RAID 0, just real quick,
822870	824370	basically what you're looking at with RAID 0
824990	827650	is you have two or more drives,
827650	830110	and they're broken up into slice sizes.
830230	833450	Now, there's some defaults that the controller will normally do,
833450	834970	but, you know, you tech guys,
834970	836950	every time I go to deal with one, somebody goes,
836950	839450	hey, wouldn't it be nice if it was 8K this week?
839450	841390	And they go in the controller and play with the sizes,
841390	843430	so it's almost never the standard size
843430	844730	or whatever you were thinking it was.
844730	846910	But most of the motherboards and stuff that are locked down,
846910	848130	you're going to end up with standard sizes
848130	850030	where you'll have a slice size, and it rotates
850030	852890	between the two slice sizes with your data.
852950	855290	If one drive is dead, and you cannot repair it,
855290	857050	you cannot physically go through the process
857050	858690	of my previous stuff,
858690	861030	you will not get anything worthwhile out of it.
861030	863190	You're going to get basically like a bunch of thumbnails.
863190	865230	You're not going to get anything that's going to be really valuable
865230	866630	except depending on the slice size.
866630	868710	So if you have 32K slice sizes,
868710	870870	well, 32K is gone from every file,
870870	872310	every other 32K.
872310	873790	So you end up with nothing.
874290	877970	So RAID 0 does not have any redundancy at all.
877970	879670	So I try not to call it RAID 0,
879670	880950	I try to call it AIDS.
882270	885210	So it is a RAID that's going to suck.
885950	887590	And suck it does, man.
887590	889830	I'm just telling you, it's terrible.
890390	892070	And you try to explain this to people,
892070	893430	they're like, oh, well I had two drives
893430	895390	and it was RAID, why can't I get those back?
895390	898230	Well, you know, it's a mess.
898690	900070	Now, here's the bad thing.
900070	903050	You can have a RAID 0 array with more than two drives.
903050	904690	Most people think that there's only two drives
904690	906370	in a RAID 0, but that's not true.
906370	907990	You can go up to, like, I've had arrays in
907990	909710	that had 14 drives in them.
910030	912650	Now you're talking just crazy talk.
912650	914150	Because, I mean, it's like,
914150	916630	now you don't have an order to the drives.
916630	918170	You don't know the order of the drives.
918170	920030	There's no signature written in most cases.
920030	921530	You have to go through a process of guessing
921530	923530	or looking for data that you might be able
923530	924710	to guess in order.
925970	927810	For some reason, photographers,
927810	928610	they don't get this.
928610	930810	They're like, oh look, I've got a Mac
930810	932350	and I can do software RAID, so I've got
932350	934850	six drives hanging off a USB over here.
935210	937790	If you're not backing up, it's over.
937790	939030	It's game over.
939210	941790	So you can usually figure out
941790	943590	which drive is the first drive.
943590	945450	So if you have two drives, yes, you can figure out
945450	947450	pretty quickly. It doesn't matter how many drives you have.
947450	950270	In most cases, you can figure out what the first drive is.
950270	952430	It's the rest of the drives that you have a problem with.
952430	954010	Because most of the time, you're going to end up
954010	955690	because the majority of the drives, you're still
955690	957590	looking at, like, NTFS or something.
957710	959590	If you've got Linux or something, you've got other things
959590	962010	to deal with. But you usually have an MBR.
962170	964030	So the MBR at the beginning of the disk
964030	965630	is going to kind of give you an idea.
965630	967690	Hey, I'm number one. Or, you know,
967690	969630	if you're dealing with NT or something, you'll actually
969630	972630	have, like, an NTFS signature at sector 63.
972810	973930	So you can actually figure out
973930	975710	almost right away. And most software,
975710	977710	once you've actually figured out how to repair
977710	979970	the physical side of the disk and get it running again,
979970	981710	even if there's some damaged sectors,
981710	983850	they will actually tell you that this is the first disk
983850	985210	and they'll show you a disk signature.
985210	987030	So we can figure that out as well.
987410	989910	So this is just kind of my quick steps.
989910	991750	I have more stuff on the slides that are
991750	993770	online, so you'll get more detail if you go
993770	995610	and download those. But ultimately,
995610	997710	what we're going to do is we're going to mount the images,
997710	999650	we're going to review them, we're going to look at
999650	1001810	the sizes and basically play with each
1001810	1003730	one, starting with the default. We're going to
1003730	1005550	scan for some pictures, then we're going to
1005550	1007610	extract them, look at them,
1007610	1009550	some MP3s, we're going to listen to them.
1009670	1011550	Your goal is basically to look at something
1011550	1013750	like this. If you know nothing else about the drive,
1013750	1015310	you're going to start with slice sizes.
1015330	1017650	So you have a variation of slice sizes that can go
1017650	1019930	from 2K all the way up to 2 megs.
1019950	1021590	Most of the time, I'm dealing
1021590	1023530	with things that are between 5, 12,
1023530	1025830	and 32K in the majority of them.
1025830	1028590	The standard for most of them is around 64K.
1028590	1029950	But you can have drives that
1029950	1031310	I've seen several of them, especially
1031830	1033870	the manufacturer chose some
1033870	1035950	special stripe size if you bought it from somebody
1035950	1038190	else, and it ends up being something like 5, 12K.
1038190	1040070	So, you can go through the variations
1040070	1042150	of looking at pictures and samples
1042150	1043890	in between each of the sizes.
1043890	1046450	So your goal is, while I'm processing the data,
1046450	1047970	find a picture that looks
1047970	1050590	like it's between 32K and 64K.
1050590	1051830	Look at it, and see if it looks
1051830	1053970	complete, and then move on through each of the steps
1053970	1055910	until you've actually rotated through them.
1056090	1058010	So, as you're rotating through them,
1058010	1060010	you can see some things, and it starts to make sense
1060010	1061730	when you've seen enough of them. So, I've seen a thousand
1061730	1063710	RAIDs at this point, so it's like every time I look at one,
1063710	1065230	I can just guess most of the time.
1065730	1067470	So, here's some of the samples.
1069670	1070030	So...
1070030	1071950	Now, as convenient
1071950	1073730	as it is that her head...
1073730	1075290	I mean, well, anyway...
1080290	1081750	It's not going to be very convenient
1081750	1084290	for the photographer or somebody that needs to get it back.
1084450	1085630	So, in this particular case,
1085630	1087730	you're actually missing a stripe. So, you either have
1087850	1089570	a disk that's actually gone, or you're missing
1089950	1091650	a big chunk of the data itself.
1092410	1093850	Then you've got stuff like this
1093850	1095850	that's very small files.
1095850	1097690	So, typically, these are going to be, you know,
1098450	1098810	your...
1098810	1101830	I don't know why they had stick porn on their stuff,
1101830	1103690	but either way, it's less than
1104050	1105690	32K, and you extract it, and it looks
1105690	1107290	intact. It looks okay. There's nothing
1107290	1109310	special about that. But,
1109310	1111710	here's a file that most of you should recognize,
1111710	1113770	or two files that most of you should recognize.
1113770	1115850	So, right off the bat, you know that this is...
1115850	1117710	there's windows on the box, and these are the
1117710	1119730	sample files. They're next to each other, and
1119730	1121750	they're slice sizes that are wrong. But, if
1121750	1123790	you look at it, this particular one came off the
1123790	1125730	drive and said it was 140K. So, as you
1125730	1127690	divide this up, you can start to see,
1127690	1129790	hey, look, I'm looking at maybe a 64K stripe
1129790	1131890	size. So, you can almost tell right away
1131890	1133590	if you actually have two. Now, if you had
1133590	1135910	crap, and it wasn't a JPEG, or wasn't a BMP,
1135910	1137770	or something that was next to that, you would
1137770	1139710	actually just get down to here. It would stop, and
1139710	1142010	you'd just get crap from here on. So, wherever it is,
1142010	1143990	you're going to get crap. So, we can actually use
1143990	1145670	the crap to analyze things.
1146030	1148250	So, at the start of most of the pictures,
1148250	1149950	you'll usually have a thumbnail that's stored
1149950	1152030	in the picture. So, you'll look at
1152030	1153910	something, and you'll look... because they'll still look
1153910	1156030	to your software as extracting the data. It'll
1156030	1158110	still look like a JPEG. It'll just be a small
1158110	1160230	one. So, in this particular case,
1160230	1161990	this was a thumbnail. It was a small
1161990	1164010	thumbnail. It's 64K. So, that
1164010	1165890	thumbnail came out, but the original picture
1165890	1168010	that was larger than that actually
1168010	1169950	looks like this. So, again, you start
1169950	1171850	looking at it going, hey, I can start to tell what
1171850	1173990	the stripe sizes are. Or you start looking
1173990	1175870	at things like this. This is a thumbnail that
1175870	1177930	came off the drive. Again, it was... this
1177930	1179950	one's like around 80K or so. And you can start
1179950	1181910	to see, it's intact down to the
1181910	1183630	spot that actually starts to look like it's around
1184310	1185530	64K stripe sizes.
1185750	1188210	You start getting big pictures, they start to look like this.
1188210	1190130	You start getting like a little chopped up thing.
1190230	1191890	So, this is the kind of thing where, like, anybody seen
1191890	1193930	Greg Conte talk before? So,
1193930	1195950	Greg Conte does all these, like, I'm doing analysis
1196330	1197930	of data, and I do it visually,
1197930	1199930	and he, like, takes packets and throws them up, and you can tell what's
1199930	1201970	going on. Well, that's the same kind of thing you start to see
1201970	1204030	here. You start getting, well, I know
1204030	1205890	that now I've got these blocks of stripe
1205890	1207970	sizes that are the same. And then I've got this
1207970	1209910	rotation that's actually moving. And you
1209910	1211870	can start to see as you're looking at pictures and images
1211870	1213790	like, okay, so right here
1213790	1215850	this is part of her face. Is it
1215850	1218030	actually in the picture? Does it belong? It actually
1218030	1219910	is part of the picture, and it's rotated through
1219910	1221930	the slice. So, in this case, we're looking at
1221930	1223690	things that might have an arrangement order.
1223690	1225930	A problem with the arrangement, because the content
1225930	1227970	actually belongs. Then you get
1227970	1229810	to, like, really large files, like
1229810	1231850	10 meg files. And so you start seeing these
1231850	1234250	chopped up things as they come from different segments
1234250	1235930	of different pictures. So it starts
1235930	1237970	to make sense. So, once
1237970	1239910	you finally get that, you'll actually get
1239910	1241490	something that looks like this.
1241790	1243850	So, your goal is
1243850	1246230	obviously to get to a spot where you can actually see the picture.
1247330	1248210	So,
1248210	1249730	I'm going to start here on RAID 0.
1249730	1251910	RAID 0 and RAID 5 are fundamentally the same
1251910	1253690	from a standpoint of figuring this part out
1253690	1255810	other than the actual arrangement itself.
1255810	1257630	So, I'm going to start with an MP3 sample
1257630	1259610	and then I'm going to do the demo, actually, on RAID 5
1259610	1261750	after we cover RAID 5. So, here's my
1262550	1263550	MP3. So, if you have
1264150	1265750	files, and most of us have, like,
1265750	1268550	iTunes directories and stuff that are on our box,
1268550	1269790	if the files are next to each
1269790	1271730	other when you extract them, they do a similar
1271730	1273830	thing that the JPEGs do. They'll play a chunk
1273830	1275470	and then they'll play another chunk.
1275470	1277570	And the chunks won't be together and they won't make sense,
1277570	1279530	but it'll come off as one file. So,
1279530	1281730	if you happen to have 70s
1281730	1283370	of porn on your hard drive
1283370	1285750	or something like that, and you
1285750	1287670	were to play it, this is the kind of stuff
1287670	1289750	you'll get. And it'll sound like
1289890	1291830	a long sample, but trust me, it's only, like,
1291830	1293830	40 seconds. It'll be
1293830	1294570	enough.
1322760	1323500	oh
1323500	1324700	oh
1326500	1327240	oh
1327240	1327640	oh
1327640	1327680	oh
1327680	1327880	oh
1327880	1336660	A relaxed ass is a happy
1336660	1337720	ass.
1341000	1341740	a
1341740	1342120	a
1342120	1344240	But if it's a tight and unrelaxed
1344240	1348120	ass, it's an unhappy ass.
1346700	1348700	Alright.
1348120	1350280	So that's pretty much the way that goes. You'll get a lot of that.
1350280	1352140	Anybody know who that last one was?
1352880	1356340	Come on, you guys know Ron Jeremy. Don't act like you don't look at porn.
1356340	1359040	Whatever. You're all in this talk. We know what's going on.
1359400	1361180	I'm trying not to admit that.
1365620	1367760	I told her she was going to be really popular.
1369660	1371300	And we'll put her phone number up.
1372980	1375240	Alright, so let's talk about RAID 5 for a minute.
1375240	1377480	This one's going to be a little drier, but let's get this out.
1377480	1379300	Because that's the important part.
1381620	1383660	So basically the first thing is controllers.
1383660	1385740	It's really helpful if you know what your controller is.
1385740	1389380	But fundamentally there's two different types of controllers that you have to pay attention to.
1389420	1393080	And one is whether or not you actually have a host controller or a discrete controller.
1393100	1397580	If you have a discrete controller, it basically means I have a processor on my RAID controller.
1397620	1399260	Because there's going to be all this math.
1399260	1402760	The functions actually have to be done to actually make this array work.
1402760	1406000	If you have a host-based controller, people think, oh, a host is great.
1406000	1409780	I can take like eight of my IDE hard drives and I can add them all up.
1409780	1411980	The more drives you add to a host-based controller,
1411980	1416740	the more CPU power it's using from your CPU to actually do these calculations.
1416820	1422040	Whereas the discrete controller actually is able to do the calculations for you
1422040	1426380	to produce that content so that it's not actually impacting your system.
1426380	1428320	And we're going to try to do all this in software.
1428320	1431740	So the whole point is the more drives you have in your RAID array,
1431740	1437360	the slower and the longer it's going to take to do these mathematical calculations in RAID to produce it.
1437360	1438900	So we're going to talk about those in a minute.
1439920	1444680	So the whole point of RAID 5, obviously, is that you want to keep your server up.
1444680	1449500	You want to have some time where my data is redundant and that my system can continue to run.
1449500	1454980	I have a drive that's died, and then I'm going to replace it if one of the drives dies,
1454980	1456740	but my system continues to run.
1456740	1462980	But now the reason that you're seeing the RAID array in for some kind of recovery is usually one of these.
1463060	1466800	The guy had one drive go bad, and the alarm goes off.
1466800	1469120	And the boss is walking by the door, and he goes,
1469120	1472960	What the hell is that damn alarm? Turn that crap off. That is so annoying.
1473000	1474500	And they turn it off.
1475180	1476780	And then what happens?
1477100	1479240	Everybody knows what happens after that, right?
1479300	1482260	Six months later, drive number two dies.
1482360	1483700	Then you have a problem.
1483700	1485360	And that's why it's in for recovery.
1485360	1487760	Now here's your big problem when you're dealing with this.
1488300	1491160	If you have two drives that have died in a RAID array,
1491160	1494660	so RAID arrays typically you have to have a minimum of three drives.
1494660	1497180	So usually one drive can die, and you'll be fine.
1497180	1500500	So however many drives you have in your RAID array, one drive can die, you'll be fine,
1500500	1502520	you can do this reassembly and do whatever.
1502560	1505720	Two drives die, which drive do you have to have?
1508040	1510320	The one that recently died.
1510900	1514240	The last one is the one that has to be there,
1514240	1516800	because that's the one that has all the data that synced to it.
1516800	1519440	The oldest one that died is completely worthless.
1519480	1521320	So if you don't know which drive died,
1521320	1523780	because where are the log files for where the drive died?
1525660	1529360	This is a great reason to actually copy all these log files maybe periodically,
1529360	1531360	put them in a backup tape somewhere or something, anyway.
1531400	1534600	But you need to know which drive died last,
1534600	1537180	or you're kind of screwed because you're going to rebuild two drives.
1537180	1539560	You're going to spend twice as long actually getting this job done.
1539560	1541920	So the less you know, the worse off you are.
1541920	1544280	So basically it looks a little bit like this.
1544280	1548640	You've got a stack of drives, and data parity is basically rotating through the drives.
1548640	1550180	So there is no parity drive.
1550180	1551260	I hear that all the time, like,
1551260	1552500	Ray, Bob, you've got a parity drive.
1552500	1555340	No, it's distributed across all the drives.
1555340	1557560	So you could put an X on any one of these drives,
1557560	1559400	and it would be completely dead.
1559500	1560700	And it would be fine.
1560700	1563260	You have all the data that you need to do the calculation.
1563300	1565380	So when you have a system, and it's all plugged in,
1565380	1567100	and basically let's take a simple one,
1567100	1568400	like these three drives here,
1568400	1570080	you'll actually have the parity distributed.
1570080	1573820	So, now this talk doesn't lend itself very well to animation,
1573820	1575340	but I have some.
1576520	1577100	Woo!
1578220	1581400	All right, I just have this one nice fancy one.
1582680	1585080	All right, again, now this is the...
1586040	1587320	See if I can make it fit.
1587320	1588280	All right, there we go.
1589040	1590960	When you're talking about porn, you've got to always make it fit.
1591120	1592220	All right, so,
1593920	1596520	this is the executive summary version, okay?
1596520	1598760	So, again, take this with a grain of salt,
1598760	1600900	and this is the one you want to show your boss when you're trying to say,
1600900	1602480	I'd like you to buy a fancy RAID array.
1602560	1604520	And in the old days, we used to have to actually convince people.
1604520	1606480	People remember, like, 2000, 2001, you had to say,
1606480	1607980	we need a RAID array on our server.
1607980	1609560	And the boss was like, why do we need one?
1609560	1612040	Well, this is the sample that you want to give him
1612040	1615780	because it makes it very easy for an executive to understand why you have to have one.
1616040	1616600	Okay?
1628970	1629770	All right.
1639170	1642730	Okay, so the deal is, is that this is not the exact formula.
1642730	1644030	You guys should all know that by now.
1644030	1646310	It's not the exact formula that it follows.
1646850	1649150	But your boss can understand this.
1649150	1650370	He can get that down.
1650490	1652190	Maybe even photographers.
1652210	1653150	But,
1655690	1657330	ultimately, what you're looking at is that
1657330	1660390	at any point in time, if you took this formula and you have 1x,
1660390	1664410	people can figure out what's supposed to be in that 1x from the data that exists.
1664530	1667630	So what you actually are doing is an exclusive OR arrangement on these
1667630	1669470	so that you can actually produce that parity.
1669470	1671890	But it's a much more complicated process
1671890	1675210	and requires a very high-speed processor to do it.
1675210	1678330	So this is why having a discrete controller is going to be a much better deal
1678330	1679770	than a host-based controller.
1679790	1681890	Host-based controllers, because they're cheap,
1681890	1683050	they'll do just about anything.
1683250	1685370	They're a mess to deal with.
1685370	1687690	But if you're dealing with a discrete controller,
1687690	1689750	you spent more than $300 on the controller,
1689750	1691290	which means there's documentation somewhere
1691290	1693550	and it didn't come just maybe from China, I don't know,
1693550	1697170	but at least you've got something that you can read, hopefully,
1697170	1698670	and find out what your arrangement is
1698670	1701850	or if they did anything strange, like an offset or something.
1702110	1705110	So that's my executive summary version.
1712160	1714980	Okay, so this is the simple formula if you're dealing with this.
1714980	1717920	You actually have an exclusive OR that's actually going to be between the drives
1717920	1719180	to produce the parity.
1719180	1721540	So the exclusive OR is the function that we're trying to deal with
1721540	1722840	from that standpoint.
1723440	1725140	I just said this about the other...
1725140	1728900	So, this is the hard part with dealing with RAID 5.
1728900	1730420	You've got so many Xs.
1730420	1733600	Besides just the fact that you have an X which drive died,
1733600	1736700	you actually have these other Xs which will become unknown.
1736740	1738360	And hopefully you can eliminate two of these
1738360	1740100	so you can try to guess what the other ones are.
1740100	1743120	Because you'll end up with a disk order that's unknown.
1743120	1745200	That's the easiest one to solve in most cases
1745200	1747280	because all you have to do is make sure that the guy
1747280	1750160	who knows that the array is dead wrote a number on the box
1750160	1752120	before each drive is removed.
1752160	1753480	That's the easiest one to deal with.
1753480	1755900	So if you can convince people to do that before they ship them to you,
1755900	1757240	you might be able to figure something out
1757240	1759140	without having to spend a lot of extra time.
1759180	1761840	Then you've got your variations and your slice sizes.
1761840	1764060	Now sometimes that configuration is stored on the disk themselves
1764060	1766560	and maybe you can't read that or you can't get into the card
1766560	1769020	or you can't see the card so you don't know what that is
1769020	1770100	so you're going to have to guess.
1770100	1771580	And then you've got the arrangement.
1771600	1775000	The arrangement is usually not something you can specify or select.
1775000	1777220	It's usually something that the manufacturer chose.
1777220	1780380	There's basically five or six different types of arrangements.
1780520	1782860	And so those arrangements, it's important if you know
1782860	1785000	which discrete controller it is, you can look them up.
1785660	1787180	And then you have fragmentation.
1787320	1789520	Fragmentation is going to impact you in this demo
1789520	1790840	that I'm going to do all together.
1790840	1792360	But fragmentation, as most of you know,
1792360	1794120	you've just got to deal with fragmentation.
1794120	1796880	So what you're going to do is you're going to check multiple pictures.
1796900	1798760	You're going to have some that are corrupt no matter what
1798760	1800180	because of the way that the layout is.
1800180	1802120	So when you click on them, you're not going to get anything.
1802200	1805340	But as you click through a dozen or 20 of them,
1805340	1808000	you'll figure out which ones you can view and which ones make sense
1808000	1810260	and just ignore the others that are bad that you can't do.
1810260	1812000	So they start to look like jigsaw puzzles.
1812080	1814920	So we have something kind of similar to this from that standpoint.
1814920	1817580	We actually have the same thing with RAID 0.
1817580	1820320	Same basic slice sizes that you've got to deal with.
1820460	1823760	But there's some extra things that you can do to try to figure out the steps.
1823760	1826120	So here's kind of my extra slide. This is the bonus stuff.
1826120	1827600	You don't have to do this to do it.
1827600	1830040	Once you've actually done enough views of the drives,
1830040	1831600	you can figure this out by sight.
1831600	1833260	But here's one thing you can do.
1833260	1835780	Anybody ever done a manual carve of JPEG files?
1836180	1837400	How many people have done that? Yeah.
1837660	1840120	Okay, so for the people that haven't, it sounds like some big mystery
1840120	1842680	all these forensics guys are doing, or manual carving, whatever.
1842860	1845640	All it means is I copied the hex crap out of the drive.
1845640	1846400	That's all it means.
1846400	1850120	So what ends up happening, let's just say I go and I look up the JPEG standard.
1850120	1852400	In the JPEG standard, you've got FFDAFF.
1852400	1854280	It's basically what your file is going to start with.
1854280	1855820	So you're going to end up with a JPEG header.
1855820	1857900	It's always going to begin with FFDAFF.
1857900	1861000	And it's going to end with FFDD9.
1861000	1863700	So you'll be able to go from beginning to end and cut something out.
1864060	1867720	So if you go in to a hex editor and you just look at the content,
1867720	1869920	you do a search for FFDAFF.
1869980	1873080	So when you actually get to that spot, the first thing you want to do
1873080	1876100	to find out is whether or not you've got a false positive.
1876300	1877640	Is this a false positive?
1878900	1879500	No.
1879500	1883360	Because the easiest thing you can tell right off the bat is you've got some EXIF information.
1883360	1886980	So there's data that's actually stored in the picture about the picture.
1886980	1890300	So you'll get things like the camera, dates and times, and stuff like that.
1890300	1894620	That stuff is very valuable to help you figure out in the RAID array how to reassemble it.
1894620	1898200	Because this is probably, the beginning of the picture is probably going to be a JPEG.
1898200	1902920	So if I extract this data, even if I can't view the actual file,
1902920	1905560	the JPEG is typically going to be smaller than my slice size.
1905560	1908440	So I can see the thumbnail itself.
1908660	1911960	So if I extract it and I just save it to a directory,
1911960	1913740	the picture itself won't open.
1913740	1916580	The picture is complete and utter crap. You can't see anything.
1916580	1919080	But I'm just going to use Explorer by highlighting over the picture
1919080	1922940	and it'll tell me what size the dimensions are supposed to be.
1922940	1925920	But you can see it says it's 8K. I mean that's a pretty small thing.
1925920	1927280	So that's not the real picture.
1927340	1931200	But you take these numbers and you can go to a website and it'll calculate for you
1931200	1933080	what the actual size is supposed to be.
1933080	1937020	You plug them in and you come down here to what your JPEG process is going to be.
1937020	1939420	And you can figure out, I mean most photographers are going to save it
1939420	1941860	somewhere in the 100% range most of the time.
1941860	1944160	So you're going to end up with like a 2MB file.
1944360	1947220	So then you can actually take the files as you extract them
1947220	1949880	and you go through the process and you can kind of break it down.
1949880	1952840	You could say, look, it's supposed to be a 2MB file.
1952880	1954380	So what is my slice size?
1954380	1957640	And so you just start dividing until you actually look like you're starting to get
1957720	1959280	a slice size that's contiguous.
1959560	1962720	And what that slice size that's contiguous is most of the time
1962720	1964320	the actual correct slice size.
1964320	1967380	Even though in this particular case we may have a rotation in order
1967380	1969660	or we may have slices that are out of order.
1969660	1970940	So I have drives out of order.
1970940	1974160	But I can still tell that this is probably going to be a 64K slice size.
1974160	1978020	So you have other things to look at, which are,
1978020	1980880	do these other slices belong to the same picture?
1980880	1983600	So this is where you're going to resolve two X's at one time.
1983600	1988680	If the picture has slices that look weird and don't fit in the picture,
1988680	1991460	then you've got an order problem also.
1991460	1994600	So not only do you have the slice size problem, you've got an order problem.
1994600	1999180	And either the arrangement of the logical component of the drive is going to be wrong
1999180	2002080	or the order of the physical drives that you have is wrong.
2002080	2004040	So I'll kind of give you a picture of that.
2004240	2011300	So if you look at this, there's basically four major ways that the data is arranged on RAID arrays.
2011320	2013900	And this is typically Linux terminology.
2014060	2017080	Windows has the same kind of thing, but they call it stupid stuff,
2017080	2021080	like forward and backwards and dynamic, and they just make other crap up.
2021080	2022660	But it's pretty much the same thing.
2022860	2024400	So you're looking at these orders.
2024440	2027960	So I'm going to focus on the first two because the first two are the most common.
2027960	2030980	So you end up with what's called the left asynchronous.
2030980	2033480	So you basically can tell where your slices are.
2033480	2037880	So you'll have like a strip that's good, a strip that's bad, and so on and so on as it rotates through.
2037880	2041300	And you'll have a second set that will actually be different orders in the numbers.
2041300	2042680	And so you'll actually have content.
2042680	2045060	The picture will actually look fairly similar to this.
2045060	2048640	You'll actually get a picture that once you've got the order of the drives correct,
2048640	2053080	that the content that's in the picture rotates through in the same order and looks fairly similar.
2053080	2057460	So as you look through these slices, then you start to go, hey, which order is this one?
2057460	2058720	I can pick them.
2058720	2061700	So this is the tool that I'm just going to use basically to show this.
2061700	2063920	So I can actually load my three drives up.
2063920	2065560	This is going to be the order of it.
2065660	2067500	And so this is one of the arrangements.
2067500	2069840	This is one of the other arrangements that I can deal with.
2069840	2071860	So you can start to see and do a comparison.
2071920	2075780	And then once you actually put them back together, you'll actually get the complete picture itself.
2076080	2079340	So what are the steps that I would normally do to do this?
2079900	2081620	I'm going to repair the bad drives.
2081620	2083040	I'm not going to waste a lot of time.
2083040	2085340	That's like the first thing that I've seen so many people do.
2085340	2088020	Like, oh, we've got seven drives in for recovery.
2088020	2089800	They image the first six.
2090180	2091600	Like, well, what about the bad drive?
2091600	2094360	Because if you don't get the bad drive back, or the first five,
2094360	2097620	if you don't get the bad drive back, you're not going to get the one that you actually need.
2097620	2099060	It won't matter how much work you do.
2099060	2101260	Before that, it's going to be all wasted time.
2101260	2102840	So I work on the bad drive first.
2102840	2106840	And sometimes you just have to start doing an image or something to test to figure out which one's the bad one.
2106840	2108880	But most of the time, you know pretty quickly.
2109080	2113180	Then you can actually deal with imaging the good ones and stepping through the process, test the data.
2113180	2116040	And then once you finally actually have them assembled, you can go back.
2116040	2119600	Now, on the thing that I was talking about, let's try to do something free.
2119940	2123440	There is a Perl script out there that somebody wrote to try to help out with this.
2123440	2126060	And it's been used several times, so it's functional and works.
2126060	2130920	So if you just do a search for Mike Hardy, you'll actually find that there's a Perl script already written to kind of step through them.
2130920	2133180	And you modify it according to your array.
2133180	2136180	So you would still have to kind of know something about it.
2136420	2136960	All right?
2136960	2141560	So let's go through the process of what we're going to deal with with our goals.
2141560	2146900	So our goal was let's use something that's less than $100 and try to rebuild.
2146920	2150200	Now, there's some tools that will rebuild RAID 0 but won't rebuild RAID 5.
2150200	2153960	So make sure that if you buy something that you know what you're doing, which one you're going to buy.
2153960	2156580	So I have two primary choices that I would use.
2156620	2159260	RAID Reconstructor from runtime.org is $99.
2159280	2162040	And then there's RStudios from RTools.
2162040	2167820	And that's actually a great buy because RStudio is $79 or something for their standard edition.
2167820	2170740	And it does like all the file systems except for XFS and ZFS.
2170740	2172120	But it does the rest of them.
2172140	2175460	So you can typically do everything all at once, including Mac OS or whatever.
2176360	2180660	RAID Reconstructor I'm not going to show at the moment because RAID Reconstructor, it guesses.
2180660	2182300	And if it's right, it'll tell you.
2182300	2186060	If it's wrong, what it will normally do is tell you what its entropy is.
2186060	2194200	And the trick with RAID Reconstructor is if there's an OS equals 4, if you see OS equals 4, those are the ones to try.
2194200	2196680	So there'll be a column that'll say OS equals 4.
2196680	2200580	And you'll have four or five drives in the list out of 70-something drives.
2200580	2202980	And it'll tell you which ones are the ones with the highest entropy.
2202980	2204540	Those are the ones to test.
2204540	2206440	But I'm going to show RStudio.
2206440	2208180	So that's what my demo is going to be on.
2209940	2210660	Questions?
2211960	2212640	Okay.
2222520	2223140	All right.
2223140	2229120	So hopefully this will be the right size for me to see.
2232920	2233380	Okay.
2233380	2236480	So I don't so much care about the actual product itself.
2236480	2240220	My whole goal is to be able to see what's manually going on, to actually know what's going on.
2240220	2243340	So hopefully this is a big enough window for me to see all the buttons.
2243460	2243680	All right.
2243680	2248060	So the first thing I'm going to do is I'm going to go to Drives, and I'm going to Open Image File.
2248060	2249980	So I've made DD image files.
2250220	2251440	I've made a pair of them.
2251440	2253200	So this is a RAID array that had three.
2253200	2257980	Now, if this is unknown, basically you take your defaults, and then you kind of work your way back from there.
2258120	2263600	So ultimately what I'm going to try to do is I'm going to take these DD image files of two of the drives that I've repaired,
2263600	2266200	and I'm going to try to see what the content is from there.
2266200	2274400	So since I have two out of a RAID array that's supposed to have three drives, I have to make a fake one so that the parity is calculated.
2274400	2276240	So I'm going to highlight these and add it.
2276680	2279760	Now, the first thing, which drive is number one?
2281120	2288420	So you see right away that the software actually identifies in these two image files that I actually have a sector that actually identifies itself as NTFS.
2288420	2296700	Now, this was a hardware RAID, and I broke it basically to do this demo and made these image files of that particular one.
2296700	2302200	But I have two image files here. I'm missing the missing drive, but I know which one's number one.
2302320	2304840	So what I'm going to do is I'm going to go and create me.
2304840	2306740	They call it virtual block RAID.
2306740	2308400	So this is going to be my RAID 5.
2308420	2310620	So I make kind of a fake set here.
2310680	2313220	Then I'm going to add each one of my drives to this.
2313220	2316580	So I right-click, and you'll actually see your drives and your partitions.
2316580	2320000	The drives are the ones that matter because the partition is going to be at an offset.
2320160	2321420	You don't want to use the offset.
2321520	2323420	So I'm going to add the two drives I have.
2324500	2328500	Now, right now, I cannot see my boxes.
2328660	2331380	So I'm going to add my missing disk.
2331380	2339200	Now, if you have to change the order, then you can actually drag the missing disk around and figure out what order it's supposed to be in to actually put it where it belongs.
2339620	2341540	And now I'm off the screen.
2343380	2344880	Way off the screen.
2345700	2347520	They told me they were 1024.
2349160	2351940	Okay, so I'm doing a RAID 5 array, and so now...
2352660	2354100	Sorry about this kind of thing.
2354100	2356000	I actually tested this in the back with the same projector.
2356000	2357220	They said this is what it was going to do.
2363000	2364380	Can't see all my boxes.
2373220	2376800	All right, so I'm going to go ahead and check this box that says Apply Changes Immediately.
2376800	2381560	Every time I actually change it, it's going to actually dynamically change them physically in the drives.
2381560	2383260	So this is what my order looks like.
2383260	2385140	And so I have a RAID 5.
2385140	2388040	I'm going to leave it as default, which is almost always 64K.
2388040	2391860	And then you'll actually see that you have all those alternatives that I actually talked about right here.
2391860	2395480	We're going to test this array, and we're going to find out what it is that we actually have.
2395480	2397480	So after I've added them to the array...
2397480	2399440	I'm going to come back over here to my other box.
2403270	2407050	It'd be helpful if they used the same exact projector.
2407130	2411890	So now you'll see I actually have my virtual array, and then I've got my partition, my first partition.
2411930	2414090	What I want to do is I want to scan for JPEGs.
2414090	2415710	So I don't care about any of this other stuff.
2415710	2418090	So I'm going to right-click, and I'm going to say Scan for JPEGs.
2418210	2420230	So I get a box that actually asks me...
2420230	2423110	I know which OS it is because it already gave me identifying information.
2423110	2425390	So I'm going to throw away all the other OSs to make it faster.
2425390	2426850	I'm just going to do NTFS.
2427930	2430190	There's all these other things that most of the tools...
2430190	2434490	If you actually use a scanning tool that goes and scans for stuff, you need to deselect all this other crap.
2434490	2436610	We don't need anything else except JPEGs.
2436610	2441830	So I would actually just go down to Graphics, and I would actually just go down and select JPEGs, add them to the table.
2441830	2443530	That's all I care about to find out.
2443530	2448530	And we're only testing this. We're not trying to waste 75 hours scanning a drive to figure out what I got.
2448530	2450150	That's what most of the tools do.
2450170	2451770	So we want to do it faster than that.
2451770	2457130	I'm going to leave Detailed View on because there's a unique thing that RStudios can do that most of the others can't do while they're scanning,
2457130	2458810	and that's let you look at data.
2458890	2463410	So right now, as it's going across and it's scanning, if you hover over the ones that are color,
2463410	2467850	they'll tell you three of the files that I've picked are coming up in this block.
2467850	2470330	And as you keep going, they'll tell you specific documents.
2470330	2474730	You can click on them, and it'll give you a little box that says, well, what kind of files did I find?
2474730	2480390	And even better than that, I can click on the file, and what I want to know, is this a false positive?
2480390	2486290	That's what I care about in this whole thing, except that now it's off the screen and I can't see it.
2488190	2491610	So, anybody think that this is a false positive?
2492110	2495370	Right, so I've got data here that actually matters to me.
2498230	2501530	Well, I did that, and it doesn't...
2506740	2509060	Thanks, buddy. Appreciate that.
2515280	2515960	No!
2518560	2526460	So we added 55 minutes to the presentation in our process here, so it's all to do with resolution.
2526940	2530740	They have this projector in the back, and I tried all this, and they said, this is the one you're going to be using.
2530740	2531620	Oh, really?
2534790	2538370	That's the last time I listen to somebody in the...
2545690	2549610	You know, enough crap goes wrong with demos. We don't need to be adding to it.
2564350	2565810	God dang it.
2567730	2568610	Yeah.
2569570	2573410	You know what it is? It's all these damn porn pictures I got on the thing.
2576140	2577620	God dang it.
2578600	2580580	Yeah, demo fail.
2580580	2583300	It wouldn't have been. It'd have been fine.
2584420	2586200	All right, hang on.
2599740	2601860	All right, maybe. All right.
2602600	2606400	Cool. All right, so this is not a...
2606400	2608880	Now I still have the same problem I had before.
2609200	2615600	Now it may be worse, because I can't get to the corner.
2616540	2618800	At least before I had that.
2625910	2626870	Yay!
2627710	2629630	Okay, X.
2629630	2632350	So it is not a...
2634870	2636690	Now, we're going to stop it.
2636690	2640530	We don't need it to continue on scanning, so we're going to go ahead and stop it.
2640650	2642370	Because I don't care about any of this other stuff.
2642370	2646450	All I want to know is I actually got a JPEG, and that I actually have something that's not a false positive.
2646450	2648630	So I'm going to go look at the file I actually have.
2648630	2652130	So I can actually go down in here, and I can say, well, I'm going to click on one.
2652350	2654310	Now this one says it's about 50K.
2654310	2658990	So now if you look at it, you'll actually see, hey, this must have been a really, really large picture.
2658990	2662310	And so that 50K is like way wrong, but I've got a stripe there.
2662310	2665270	And I can do the same thing I said before, where I can actually go and say,
2665270	2670290	oh, I'm going to go recover my actual picture and try to figure out what size it's supposed to be.
2671370	2675450	So you can go and actually just save it out and save out your thumbnail or whatever else you're going to look at.
2675570	2676990	Go look at your thumbnails.
2677010	2679950	So now this is the picture. This is actually what I'm going to save.
2679950	2684650	So I can actually do, but you know from the size that we're looking at approximately a 2MB picture.
2684730	2687470	And so if I click on it, then this is what I'm going to get.
2687510	2693130	So if that's 2MB, and you're actually looking at this, you're probably looking at, again,
2693550	2695870	it is not going to be a 64K slice size.
2695870	2698690	That's probably what the 64K is, because that's what we asked for.
2698690	2700650	So we've got two stripes together.
2700870	2704970	So half of that is 32K.
2706010	2710190	So that will tell you right off the bat that you can actually tell just from that content.
2710430	2712250	So I'm going to close this.
2713430	2717610	I'm going to delete the scan that I just did because I don't care about it anymore.
2717930	2719470	I'm going to go back to my RAID array.
2719690	2721830	And now I'm going to make my changes to...
2721830	2723010	Hey, I'm getting good at this.
2723730	2724850	So I'm going to make my changes.
2724850	2728870	I'm going to go ahead and set it at 32K, which is what it looked like visually to me that it might be.
2729250	2731110	So then I come back and I do the same kind of thing.
2731110	2732190	I can go to the partition.
2732210	2733190	I can scan.
2734430	2737550	And if I leave it the same, it's going to be all the same details I already did.
2737690	2739850	Give me a couple of JPEGs, blah, blah, blah.
2739910	2742090	See if I have one that's not a false positive.
2745810	2747170	Not a false positive.
2747270	2748970	Same kind of thing I did before.
2753420	2754380	Close that.
2757940	2759720	And we're going to stop again.
2760480	2761960	Go ahead and look at the same things.
2761960	2764460	We're going to look at our file itself.
2768090	2769610	Go into the files.
2774220	2775020	Okay.
2775280	2779120	So now if you look at the picture, it's a little dark on the screen.
2779120	2781820	But if you look, you start to have some contiguous stuff.
2781820	2787440	Does this actually look like it probably belongs to the same picture?
2789660	2790260	Yeah?
2790260	2792740	Like this piece move over, that piece move over.
2796630	2797290	Okay.
2797290	2800090	So we know we probably have that, but we have a wrong arrangement.
2800090	2801890	They look like they belong to the same picture.
2802810	2804390	So let's delete that.
2804910	2806610	Let's go look at our arrangement.
2807070	2809750	So we were using this arrangement, which is standard.
2809750	2810870	So that's the first one.
2810870	2813990	Most rate arrays do not use, or at least most of the ones I'm dealing with,
2813990	2817150	are not using right and asynchronous and synchronous.
2817150	2819030	So our second choice is going to be continuous,
2819030	2821250	which is the rotation in the other side.
2821710	2826050	So now you can actually go back and do the same exact thing again.
2827730	2828610	Scan.
2828810	2830130	Go ahead.
2831010	2834230	For the sake of time, I'm going to skip trying to do the...
2834230	2835730	Do I have a false positive?
2836910	2838530	Then I'm going to go look at it.
2839590	2840850	Look at my pictures.
2841330	2842350	Look at the array.
2854520	2855440	And it's the same thing.
2855440	2856720	You just keep rotating through them.
2856720	2859620	The other thing that you can do really quickly, if you wanted to,
2859620	2861640	to try to figure things out, especially in this tool,
2861640	2864400	is that there's an option for, like, taking a partition.
2864400	2866760	Let's say I went back and I, like, munched it up again.
2866760	2868660	Let's say I go back and I say,
2868660	2872880	Oh, look, it's a 64K and I got something out of order again.
2873040	2877060	You can do a couple of quick things by sight if you just know directory structures anyway.
2877160	2878760	So if you actually said,
2879520	2880900	Hey, I'm just going to delete on the...
2880900	2883500	I'm going to look at the partition and see what files it says I have.
2883660	2885620	Well, it's pretty not supposed to have.
2885620	2887060	You've got things that are missing.
2887060	2889260	You're missing your files, your windows, things like that.
2889260	2893240	As you rotate through the others, you can actually start selecting just variations on directories.
2893240	2895000	When you get the right one, it's going to be obvious.
2895000	2898500	You're going to have a document in settings that actually has folders in it that are going to work correctly.
2898500	2900400	So you can step through all those.
2906320	2906720	So...
2908000	2909540	So demo fail work.
2909540	2910560	How about that?
2911520	2912900	All right, so...
2913460	2914480	And that's it.
2914480	2915400	There you go.
2916280	2916360	Thank you.
