WEBVTT

00:00.000 --> 00:02.680
All right, so I'm Scott Moulton.

00:02.740 --> 00:04.680
I've done quite a few talks here.

00:04.680 --> 00:10.020
I'm from a company primarily MyHardDriveDied.com, which is a data recovery company.

00:10.020 --> 00:13.460
And I do forensics for a living as well from Forensic Strategy Services.

00:13.460 --> 00:16.460
So we cross back and forth and do a number of different things.

00:16.660 --> 00:21.960
So as you guys can see, this is supposed to be recover my porn from my rate array.

00:21.960 --> 00:28.140
So if you guys aren't either interested in rate arrays or porn, then you're in the wrong talk.

00:28.140 --> 00:29.660
So maybe you want to leave.

00:29.700 --> 00:32.280
And I got the idea from this talk from Carlo down here.

00:32.280 --> 00:33.220
Stand up, Carlo.

00:34.260 --> 00:35.100
Wave.

00:35.260 --> 00:36.160
Thank him.

00:40.600 --> 00:44.060
He's going to do discreetly recover your porn.

00:44.060 --> 00:47.220
So if you don't want it posted on the Internet anyway.

00:48.880 --> 00:50.480
All right, so what is this talk about?

00:50.480 --> 00:56.500
Basically, we're going to kind of run through real quick just the ideas of what rate is.

00:56.500 --> 00:59.620
How many people in here are dealing with rate arrays on a daily basis?

00:59.660 --> 01:00.580
Yeah, pretty much.

01:00.580 --> 01:03.440
How many people have had to recover a failed rate array?

01:04.740 --> 01:06.600
That's great for redundancy, right?

01:06.600 --> 01:10.440
Like if that was the point of a rate array, you still have to do recovery.

01:10.800 --> 01:13.080
Part of the problem is obviously this marketing problem.

01:13.080 --> 01:16.380
So I'm going to cover a couple of different unusual types of rate arrays.

01:16.380 --> 01:19.460
Then we're going to hit rate 0, rate 5, and then I'm going to try to do a demo.

01:19.460 --> 01:21.780
So hopefully it all fits in there.

01:21.780 --> 01:24.360
So that's the idea of what we're going to cover.

01:24.360 --> 01:27.800
So I'm going to go ahead and answer the questions now.

01:27.800 --> 01:30.960
These are the three questions that I'm going to constantly get.

01:31.140 --> 01:35.660
So yes, you can download these pictures, slides.

01:35.660 --> 01:39.260
Myharddrive.com's got a presentation page.

01:39.260 --> 01:42.720
And Defcon 17, I just posted these up there so you guys can go download them.

01:42.940 --> 01:46.120
And her name is on the last slide.

01:46.120 --> 01:51.340
So if you can either download it or wait for the rest of this presentation, then you'll have her name.

01:51.340 --> 01:54.560
And yes, you can whatever, hire her, however you give her money.

01:54.560 --> 02:02.180
And yes, she's single, but I know that for a lot of people here, because I know a lot of you guys, it wouldn't make a difference whether she was married or single or anything.

02:02.200 --> 02:04.060
You don't care.

02:04.200 --> 02:05.020
I know.

02:12.640 --> 02:14.620
All right, so why are we going to talk about rate recovery?

02:14.720 --> 02:17.540
The first reason here is mainly because it's expensive.

02:17.540 --> 02:19.760
Anybody sent one into a recovery company before?

02:19.800 --> 02:20.880
Yeah, how much?

02:21.800 --> 02:22.680
$3,000.

02:22.680 --> 02:25.400
That's probably just a personal array.

02:25.400 --> 02:26.420
That sucks, dude.

02:26.620 --> 02:27.160
Yeah?

02:28.320 --> 02:29.620
But it's expensive, right?

02:29.620 --> 02:32.440
They usually either charge by the size, by the number of drives.

02:32.440 --> 02:36.900
And they usually even charge sometimes, even if they don't get it back, because it's so complicated to rebuild.

02:36.900 --> 02:38.820
Because you have multiple steps you've got to go through.

02:38.820 --> 02:42.020
You've got to go through the physical side of repairing the disk that you need to repair.

02:42.020 --> 02:43.540
I'll cover that stuff in a second.

02:43.600 --> 02:46.200
Then you've got to go through the reassembly mode.

02:46.200 --> 02:53.600
And then sometimes you've got to spit it out as a full array, as one solid image, so that you can parse through it in some package that doesn't crash when it runs into bad sectors or something.

02:53.600 --> 02:56.240
It's a lot more difficult than doing single drives.

02:56.240 --> 03:02.160
If you've seen my previous talks here, you know already that I've covered a lot with single drives, how to do physical repair.

03:02.160 --> 03:07.400
All that stuff still applies to these, whether it's SCSI drives, it's IDE drives, whatever RAID array you're dealing with.

03:07.400 --> 03:08.160
All of that stuff.

03:08.160 --> 03:13.720
So there's like 50 hours out there I've done on do-it-yourself, repair-your-own-drive, how to go through that process.

03:14.620 --> 03:16.260
Time-consuming, it fails.

03:16.260 --> 03:21.620
But the biggest thing here is that when I leave here, I get hundreds of questions all the time about...

03:21.620 --> 03:24.000
you know, it's not my one hard drive, I have this RAID array.

03:24.000 --> 03:27.260
So I'm trying to answer these questions in a talk, so you guys can get this.

03:27.540 --> 03:29.620
So here's kind of my assumptions for the talk.

03:29.620 --> 03:36.220
The first one is that you've already done what you've got to do from my previous four or five years of doing this kind of talk about repairing that drive.

03:36.220 --> 03:42.040
So somehow you've repaired the drive, and you've either got a DD image of it, or you've got a physical clone of the drive running.

03:42.040 --> 03:45.180
And there's some weird things with some clones sometimes, so I'll talk about that.

03:45.920 --> 03:52.420
And then we're also, when we're talking about RAID, my assumption here is that you're getting a RAID array that you might not know anything about.

03:52.540 --> 04:00.200
Sometimes, because in the data recovery world, you may have the luxury of having a controller that you understand, that you know how the layout is, if it's your own personal RAID.

04:00.200 --> 04:01.920
But how many of you have got the mystery box?

04:01.920 --> 04:03.360
You guys have got that before, right?

04:03.600 --> 04:07.020
Like, somebody hands you a pile and says, I don't know what this is, but somehow I've got to do it.

04:07.020 --> 04:11.780
And if you're lucky, they root the number on the drives as they remove them from the RAID array.

04:11.800 --> 04:16.180
If not, then you've got like, here's 52 cards, and figure out which ones are in the right order.

04:16.200 --> 04:18.280
So that happens a lot.

04:18.280 --> 04:22.920
And I'm counting on you having, you know, maybe not porn, maybe just pictures.

04:22.920 --> 04:24.600
But, I mean, who doesn't have porn?

04:24.920 --> 04:27.840
Even in company, you don't have porn?

04:27.940 --> 04:28.520
Really?

04:28.600 --> 04:29.920
Your boss or somebody might.

04:29.920 --> 04:31.680
But anyway, so...

04:32.780 --> 04:34.280
Usually it's of themself.

04:34.540 --> 04:36.040
All right.

04:37.800 --> 04:40.000
All right, so it's kind of the do-it-yourself talk.

04:40.000 --> 04:41.900
I'm going to kind of just cover... I'm teaching you.

04:41.900 --> 04:53.420
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 and figure some stuff out, because if you can figure stuff out about the RAID array itself, the order of the disks, the way they came out or whatever,

04:53.420 --> 04:53.980
great.

04:53.980 --> 04:57.740
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.

04:57.740 --> 05:00.540
After you've seen like 3,000 of these, it becomes kind of like Matrix stuff.

05:00.540 --> 05:04.720
You go girl in red dress or not in red dress or whatever, but you start to see it.

05:06.160 --> 05:08.600
And we're going to do it as cheap as possible.

05:08.600 --> 05:16.020
I'd like to say free all the time, but, you know, let's face it, in the commercial industry, that's where, you know, the reassembly of RAID is usually a commercial product.

05:16.020 --> 05:18.500
So you're going to sometimes be stuck with buying something.

05:18.500 --> 05:21.100
So I'm going to try to stick under $100, so at least it's affordable.

05:21.420 --> 05:27.960
And then basically, you know, the whole point is we're going to look at pictures and sound, and we're going to try to figure it out from those things.

05:28.840 --> 05:30.260
It's going to take you a lot of time.

05:30.260 --> 05:31.560
It's going to take you a lot of disk space.

05:31.560 --> 05:33.360
There's no easy way around those things.

05:33.420 --> 05:37.440
You've got to find pictures, and you're going to constantly have to be persistent and experiment.

05:37.440 --> 05:46.900
If you've got the drives, and you've repaired it, and you've got images of it, you can probably figure this out, but it may take you 24 hours to actually go through rotations and things that you can actually figure out.

05:46.980 --> 05:48.080
So research helps.

05:48.080 --> 05:49.840
Slides are on myharddrive.com.

05:50.260 --> 05:51.660
All right, so what is a RAID array?

05:51.660 --> 05:57.860
So functionally, we have an array of independent, and this is where the terminology kind of gets messed up.

05:57.860 --> 06:05.720
I think originally what happened was it was supposed to be a redundant array of inexpensive disks, and somebody took a bill to the boss, and he goes, how is this inexpensive?

06:07.080 --> 06:08.080
Explain that to me.

06:08.080 --> 06:12.600
So it's gone to independent, and people make up a lot of other words to put in the I spot.

06:13.420 --> 06:17.760
Anyway, so this is all about marketing and redundancy.

06:17.760 --> 06:19.680
Some arrays are not redundant.

06:19.680 --> 06:31.520
So now what you have in the last eight or ten years that you didn't have before with RAID arrays is you've got a box that's on a shelf, and some photographer or something comes in and sees a box, and it says RAID on it, and he buys it.

06:31.640 --> 06:33.020
And then what is that usually?

06:33.020 --> 06:34.600
What RAID is that usually?

06:34.740 --> 06:36.380
RAID zero, right?

06:36.380 --> 06:39.560
And completely worthless for those people who thought it was redundant.

06:40.420 --> 06:44.080
So that's our biggest problem is that you're going to see a bunch of RAID zero.

06:44.520 --> 06:46.040
You will still see RAID one.

06:46.040 --> 06:52.340
Even though it's supposed to be a mirror, you're going to see it from time to time because whatever crap got written to the first disk got written to the second disk bad too.

06:52.660 --> 06:53.880
And then you get RAID five.

06:53.880 --> 06:55.200
Those are going to be the most common.

06:55.200 --> 07:07.560
When you get into RAID six, RAID five EE, and E, and other variations of RAID, you're probably not seeing those where there's a backup, but for the most part you're going to be dealing with RAID zero and RAID five, at least in a data recovery arena or something.

07:08.420 --> 07:11.160
So I get these mystery boxes and we've got to guess about it.

07:11.160 --> 07:16.280
So I'm going to talk about just real quick the unusual stuff because usually you still have these multiple step processes.

07:16.280 --> 07:19.340
It's kind of like you have an operating system, but you also have a file system.

07:19.340 --> 07:21.400
So you have to deal with these things differently.

07:21.400 --> 07:29.660
So for instance, you may still have the functional side of RAID, which is I've got slices and they're on the drives, and they're all broken up in different orders.

07:29.680 --> 07:36.860
But then you may have some variations of what's actually happening to the data that's sitting on them like XFS or ZFS or whatever else that they've written.

07:36.860 --> 07:39.300
So you have some combinations.

07:39.300 --> 07:45.340
One of the things that really kind of isn't really a RAID, but people keep throwing it into that thing, is the JBODs.

07:45.340 --> 07:52.560
So you have JBODs, which are typically on the LaCie drives, or there's a bunch of different phantoms and just different variations of drives.

07:52.560 --> 07:54.240
So I'll hit that real quick.

07:54.240 --> 07:55.980
XFS and ZFS.

07:56.340 --> 08:02.280
You're usually looking at the Buffalo Terra stations, some variations of different ones that have Linux with LaCie drives.

08:02.280 --> 08:03.740
LaCie is kind of promiscuous.

08:03.740 --> 08:07.680
They're like, one day of the week, or LaCie, whatever they call it.

08:07.680 --> 08:09.720
But one day of the week, there'll be one format.

08:09.720 --> 08:11.180
Another day of the week, there'll be a different one.

08:11.180 --> 08:14.580
So there's some variations you can start to look at and try to figure out what they are.

08:14.580 --> 08:29.220
But those are some of the hardest ones to deal with because XFS and ZFS right now, very limited in the number of tools that you actually have and how you process them, because there's no real easy way to deal with XFS other than doing file carving or something like that.

08:29.220 --> 08:35.080
But that doesn't give you back metadata like structure and directories and dates and times and file names.

08:35.080 --> 08:36.760
File names is the worst one to lose.

08:37.240 --> 08:41.480
So these are the kind of boxes that you're looking at when you're dealing with those kind of arrays.

08:41.580 --> 08:43.520
So let's talk about JBOD real quick.

08:43.520 --> 08:49.140
And who noticed that there's actually a drive on the slide?

08:49.140 --> 08:50.840
That's what I thought, yeah.

08:51.020 --> 08:51.700
Alright, so...

08:52.300 --> 08:53.260
Drink.

08:53.260 --> 08:55.160
Every time there's porn, I gotta drink?

08:56.560 --> 08:57.380
Alright.

08:57.580 --> 08:59.860
So JBOD, basically just a bunch of disks.

08:59.860 --> 09:02.960
So you basically have a bunch of disks, however that they've stuck them together.

09:02.960 --> 09:04.640
Usually you're still talking about a pair.

09:04.640 --> 09:08.860
So you've got something that will basically have usually not a fan or anything.

09:08.860 --> 09:11.960
That's usually why it's broke, it overheated, something melted down.

09:12.440 --> 09:13.740
Now you'll have two disks.

09:13.740 --> 09:18.420
And typically what'll end up happening is you'll have a file system on one disk and the second disk will just be concatenated.

09:18.420 --> 09:23.840
There will be a board or something that helps concatenate it when you get to end of this disk, then go to the next disk.

09:23.840 --> 09:27.500
So they look a lot like this right here.

09:27.500 --> 09:31.480
So physically, you take these drives out.

09:31.500 --> 09:38.520
One of the drives, this is going to be similar to RAID 0 in the fact that if you don't have one of the drives, it's damaged.

09:38.520 --> 09:39.620
You've lost data.

09:39.620 --> 09:41.040
There's nothing you can do about it.

09:41.040 --> 09:42.900
So you will have two drives.

09:42.900 --> 09:49.380
If they're a JBOD, one drive will still continue to have files on it that you can just do standard file carving stuff.

09:49.380 --> 09:51.580
Like go find all the JPEGs and copy them off.

09:51.580 --> 09:52.600
And you'll get those.

09:52.600 --> 09:54.800
You'll lose names and you'll lose structure and stuff.

09:54.820 --> 09:59.480
And the other disk is going to have the file system and sometimes have what's called an HPA on there.

09:59.560 --> 10:04.720
So you'll have a host protected area and it will be the size of the two drives together.

10:04.720 --> 10:09.540
So in other words, you'll plug in, let's say these are two 250s and together they make 500.

10:09.540 --> 10:13.960
The first drive will have an HPA on it that will say, I am 500 gigs.

10:13.960 --> 10:16.660
So you plug in this 250 gig drive and it says I'm 500.

10:16.660 --> 10:22.080
Well, you know right away that that's what you're dealing with, that you've got one, and you know which one you have too because that will be the first one.

10:22.080 --> 10:23.340
That means the second disk is dead.

10:23.340 --> 10:28.360
So you have file system and you can probably actually at least fix the files that exist on this one disk.

10:28.360 --> 10:29.220
So that's the one thing.

10:29.220 --> 10:30.000
So HPA.

10:30.000 --> 10:34.420
So this is common practice that you actually have to use an HPA.

10:34.420 --> 10:43.320
So a host protected area is basically that extra space that was on a disk that says, hey, I've got some utilities or I've got some DVDs or I've got this other stuff that's sitting out there.

10:43.320 --> 10:47.380
Its primary purpose was to make the disk smaller than it originally is.

10:47.380 --> 10:48.560
So there's this extra space.

10:48.560 --> 10:52.760
And it will report to the system as it's booting and it will actually show up.

10:52.760 --> 10:55.960
So I can take a 500 gig hard drive and I can say, you're 40 gigs.

10:55.960 --> 10:57.940
And when I boot it, it will actually say 40 gigs.

10:57.940 --> 10:59.720
Everything will think it's 40 gigs.

10:59.720 --> 11:01.640
It will actually respect that content.

11:01.640 --> 11:04.120
So you're going to use that for some various things.

11:04.340 --> 11:10.140
Most of the time, when you're cloning a disk that's damaged, you can't find the exact same disk.

11:10.140 --> 11:12.360
So you don't have the exact same geometry.

11:12.560 --> 11:14.220
So this is a way that you can set it.

11:14.220 --> 11:19.440
You can use the host protected area to physically set the size of the disk so that it matches.

11:19.480 --> 11:21.880
And you can use it in combinations with other things.

11:21.880 --> 11:24.260
So, for instance, this is a NAS box.

11:24.260 --> 11:26.080
This is a LaCie NAS box.

11:26.160 --> 11:28.060
And there's no USB port or whatever.

11:28.060 --> 11:30.340
Now, what you can see here is I had two drives.

11:30.340 --> 11:37.620
There was originally a one terabyte array, whatever you want to call it here with this particular one.

11:37.620 --> 11:42.520
So what ended up happening is I had the 500 gig that was good and I had a 500 gig that was bad.

11:42.520 --> 11:45.600
I took a one terabyte and I actually cloned the one terabyte.

11:45.600 --> 11:52.640
But now when I put it back in, I need the system with this custom board with whatever they did because my whole point is to make my life as easy as possible.

11:52.660 --> 11:56.620
I could probably do this in software, but why not let the hardware, if it's still functioning, do the job?

11:56.720 --> 12:03.020
So I cloned this drive in reverse using some special tools like DD Rescue to actually clone a drive in reverse.

12:03.040 --> 12:12.620
Then you set the HPA to the same size as the original drive, which you can look on the label and actually just in the software, there's several tools that will set HPAs.

12:12.620 --> 12:14.240
So one of them is called MHDD.

12:14.360 --> 12:23.680
So MHDD is a free boot disk you can boot on, plug the drive into the ATA controller, and you can basically type in from the label what your size is, and it will make it that size.

12:23.680 --> 12:27.000
So I put the one terabyte drive in here, and now it's a 500 gig.

12:27.000 --> 12:34.740
And the two drives got bound back together again in the RAID array, and I was able to actually copy the stuff off, physically without having to do any other work.

12:34.740 --> 12:37.340
So make sure that you're paying attention to things like that.

12:37.520 --> 12:45.980
If you're dealing with ZFS and XFS, which will all come after the fact, like if you've repaired a RAID 0 or RAID 5, you may still have XFS or something to deal with.

12:45.980 --> 12:49.560
There's really only two ways that I know of right now that you can actually deal with.

12:49.560 --> 12:55.360
There's one that's called TestDisk, which is basically for repairing partitions, and they've added XFS support to it.

12:55.380 --> 12:58.640
They currently, I do not think, have ZFS, but he adds things all the time.

12:58.640 --> 13:05.460
So TestDisk is your one way to actually say, read all the files, repair a partition structure, write it back, so keep TestDisk in mind.

13:05.460 --> 13:08.600
The other one is a commercial product, which is slightly more than $100.

13:09.280 --> 13:15.800
It's called UFS Explorer, and it does XFS, and there's a current version that actually supports ZFS.

13:15.800 --> 13:18.000
So it's one of the only ones I know of doing ZFS.

13:18.000 --> 13:22.600
So as you start running into new RAID arrays that have ZFS, you may need something like this.

13:22.640 --> 13:31.820
And you can see right here, this was a Buffalo Terra Station that we actually mounted, and we were able to display and actually extract all the data after we corrected the physical problem with the disk.

13:32.580 --> 13:34.680
So that's enough of those other types.

13:34.680 --> 13:37.000
So let's talk about RAID 0.

13:37.280 --> 13:50.110
All right, so RAID 0, just real quick, basically what you're looking at with RAID 0 is you have two or more drives, and they're broken up into slice sizes.

13:50.230 --> 13:59.450
Now, there's some defaults that the controller will normally do, but, you know, you tech guys, every time I go to deal with one, somebody goes, hey, wouldn't it be nice if it was 8K this week?

13:59.450 --> 14:04.730
And they go in the controller and play with the sizes, so it's almost never the standard size or whatever you were thinking it was.

14:04.730 --> 14:12.890
But most of the motherboards and stuff that are locked down, you're going to end up with standard sizes where you'll have a slice size, and it rotates between the two slice sizes with your data.

14:12.950 --> 14:21.030
If one drive is dead, and you cannot repair it, you cannot physically go through the process of my previous stuff, you will not get anything worthwhile out of it.

14:21.030 --> 14:23.190
You're going to get basically like a bunch of thumbnails.

14:23.190 --> 14:26.630
You're not going to get anything that's going to be really valuable except depending on the slice size.

14:26.630 --> 14:32.310
So if you have 32K slice sizes, well, 32K is gone from every file, every other 32K.

14:32.310 --> 14:33.790
So you end up with nothing.

14:34.290 --> 14:37.970
So RAID 0 does not have any redundancy at all.

14:37.970 --> 14:40.950
So I try not to call it RAID 0, I try to call it AIDS.

14:42.270 --> 14:45.210
So it is a RAID that's going to suck.

14:45.950 --> 14:47.590
And suck it does, man.

14:47.590 --> 14:49.830
I'm just telling you, it's terrible.

14:50.390 --> 14:55.390
And you try to explain this to people, they're like, oh, well I had two drives and it was RAID, why can't I get those back?

14:55.390 --> 14:58.230
Well, you know, it's a mess.

14:58.690 --> 15:00.070
Now, here's the bad thing.

15:00.070 --> 15:03.050
You can have a RAID 0 array with more than two drives.

15:03.050 --> 15:06.370
Most people think that there's only two drives in a RAID 0, but that's not true.

15:06.370 --> 15:09.710
You can go up to, like, I've had arrays in that had 14 drives in them.

15:10.030 --> 15:12.650
Now you're talking just crazy talk.

15:12.650 --> 15:16.630
Because, I mean, it's like, now you don't have an order to the drives.

15:16.630 --> 15:18.170
You don't know the order of the drives.

15:18.170 --> 15:20.030
There's no signature written in most cases.

15:20.030 --> 15:24.710
You have to go through a process of guessing or looking for data that you might be able to guess in order.

15:25.970 --> 15:28.610
For some reason, photographers, they don't get this.

15:28.610 --> 15:34.850
They're like, oh look, I've got a Mac and I can do software RAID, so I've got six drives hanging off a USB over here.

15:35.210 --> 15:37.790
If you're not backing up, it's over.

15:37.790 --> 15:39.030
It's game over.

15:39.210 --> 15:43.590
So you can usually figure out which drive is the first drive.

15:43.590 --> 15:46.250
So if you have two drives, yes, you can figure out pretty quickly.

15:46.250 --> 15:47.450
It doesn't matter how many drives you have.

15:47.450 --> 15:50.270
In most cases, you can figure out what the first drive is.

15:50.270 --> 15:52.430
It's the rest of the drives that you have a problem with.

15:52.430 --> 15:57.590
Because most of the time, you're going to end up because the majority of the drives, you're still looking at, like, NTFS or something.

15:57.710 --> 16:00.030
If you've got Linux or something, you've got other things to deal with.

16:00.030 --> 16:02.010
But you usually have an MBR.

16:02.170 --> 16:05.630
So the MBR at the beginning of the disk is going to kind of give you an idea.

16:05.630 --> 16:06.810
Hey, I'm number one.

16:07.010 --> 16:12.630
Or, you know, if you're dealing with NT or something, you'll actually have, like, an NTFS signature at sector 63.

16:12.810 --> 16:14.830
So you can actually figure out almost right away.

16:14.830 --> 16:25.210
And most software, once you've actually figured out how to repair the physical side of the disk and get it running again, even if there's some damaged sectors, they will actually tell you that this is the first disk and they'll show you a disk signature.

16:25.210 --> 16:27.030
So we can figure that out as well.

16:27.410 --> 16:29.910
So this is just kind of my quick steps.

16:29.910 --> 16:34.790
I have more stuff on the slides that are online, so you'll get more detail if you go and download those.

16:34.790 --> 16:43.410
But ultimately, what we're going to do is we're going to mount the images, we're going to review them, we're going to look at the sizes and basically play with each one, starting with the default.

16:43.410 --> 16:49.550
We're going to scan for some pictures, then we're going to extract them, look at them, some MP3s, we're going to listen to them.

16:49.670 --> 16:52.050
Your goal is basically to look at something like this.

16:52.050 --> 16:55.310
If you know nothing else about the drive, you're going to start with slice sizes.

16:55.330 --> 16:59.930
So you have a variation of slice sizes that can go from 2K all the way up to 2 megs.

16:59.950 --> 17:05.830
Most of the time, I'm dealing with things that are between 5, 12, and 32K in the majority of them.

17:05.830 --> 17:08.590
The standard for most of them is around 64K.

17:08.590 --> 17:18.190
But you can have drives that I've seen several of them, especially the manufacturer chose some special stripe size if you bought it from somebody else, and it ends up being something like 5, 12K.

17:18.190 --> 17:23.890
So, you can go through the variations of looking at pictures and samples in between each of the sizes.

17:23.890 --> 17:30.590
So your goal is, while I'm processing the data, find a picture that looks like it's between 32K and 64K.

17:30.590 --> 17:35.910
Look at it, and see if it looks complete, and then move on through each of the steps until you've actually rotated through them.

17:36.090 --> 17:41.030
So, as you're rotating through them, you can see some things, and it starts to make sense when you've seen enough of them.

17:41.030 --> 17:45.230
So, I've seen a thousand RAIDs at this point, so it's like every time I look at one, I can just guess most of the time.

17:45.730 --> 17:47.470
So, here's some of the samples.

17:49.670 --> 17:50.030
So...

17:50.030 --> 17:53.730
Now, as convenient as it is that her head...

17:53.730 --> 17:55.290
I mean, well, anyway...

18:00.290 --> 18:04.290
It's not going to be very convenient for the photographer or somebody that needs to get it back.

18:04.450 --> 18:07.070
So, in this particular case, you're actually missing a stripe.

18:07.130 --> 18:11.650
So, you either have a disk that's actually gone, or you're missing a big chunk of the data itself.

18:12.410 --> 18:15.850
Then you've got stuff like this that's very small files.

18:15.850 --> 18:18.810
So, typically, these are going to be, you know, your...

18:18.810 --> 18:26.170
I don't know why they had stick porn on their stuff, but either way, it's less than 32K, and you extract it, and it looks intact.

18:26.170 --> 18:26.830
It looks okay.

18:26.830 --> 18:28.890
There's nothing special about that.

18:28.990 --> 18:33.770
But, here's a file that most of you should recognize, or two files that most of you should recognize.

18:33.770 --> 18:35.850
So, right off the bat, you know that this is...

18:35.850 --> 18:38.550
there's windows on the box, and these are the sample files.

18:38.550 --> 18:41.430
They're next to each other, and they're slice sizes that are wrong.

18:41.430 --> 18:45.190
But, if you look at it, this particular one came off the drive and said it was 140K.

18:45.190 --> 18:50.470
So, as you divide this up, you can start to see, hey, look, I'm looking at maybe a 64K stripe size.

18:50.470 --> 18:52.710
So, you can almost tell right away if you actually have two.

18:52.710 --> 18:58.990
Now, if you had crap, and it wasn't a JPEG, or wasn't a BMP, or something that was next to that, you would actually just get down to here.

18:58.990 --> 19:01.090
It would stop, and you'd just get crap from here on.

19:01.090 --> 19:03.130
So, wherever it is, you're going to get crap.

19:03.130 --> 19:05.670
So, we can actually use the crap to analyze things.

19:06.030 --> 19:10.850
So, at the start of most of the pictures, you'll usually have a thumbnail that's stored in the picture.

19:11.070 --> 19:15.890
So, you'll look at something, and you'll look... because they'll still look to your software as extracting the data.

19:15.890 --> 19:17.270
It'll still look like a JPEG.

19:17.270 --> 19:18.770
It'll just be a small one.

19:18.790 --> 19:21.410
So, in this particular case, this was a thumbnail.

19:21.410 --> 19:22.470
It was a small thumbnail.

19:22.470 --> 19:23.530
It's 64K.

19:23.530 --> 19:29.150
So, that thumbnail came out, but the original picture that was larger than that actually looks like this.

19:29.150 --> 19:33.110
So, again, you start looking at it going, hey, I can start to tell what the stripe sizes are.

19:33.410 --> 19:34.750
Or you start looking at things like this.

19:34.750 --> 19:36.930
This is a thumbnail that came off the drive.

19:36.950 --> 19:39.410
Again, it was... this one's like around 80K or so.

19:39.410 --> 19:45.530
And you can start to see, it's intact down to the spot that actually starts to look like it's around 64K stripe sizes.

19:45.750 --> 19:48.210
You start getting big pictures, they start to look like this.

19:48.210 --> 19:50.130
You start getting like a little chopped up thing.

19:50.230 --> 19:53.370
So, this is the kind of thing where, like, anybody seen Greg Conte talk before?

19:53.750 --> 20:00.650
So, Greg Conte does all these, like, I'm doing analysis of data, and I do it visually, and he, like, takes packets and throws them up, and you can tell what's going on.

20:00.650 --> 20:02.230
Well, that's the same kind of thing you start to see here.

20:02.230 --> 20:07.310
You start getting, well, I know that now I've got these blocks of stripe sizes that are the same.

20:07.310 --> 20:09.670
And then I've got this rotation that's actually moving.

20:09.670 --> 20:15.630
And you can start to see as you're looking at pictures and images like, okay, so right here this is part of her face.

20:15.630 --> 20:16.690
Is it actually in the picture?

20:16.690 --> 20:17.470
Does it belong?

20:17.550 --> 20:20.750
It actually is part of the picture, and it's rotated through the slice.

20:20.750 --> 20:23.690
So, in this case, we're looking at things that might have an arrangement order.

20:23.690 --> 20:27.190
A problem with the arrangement, because the content actually belongs.

20:27.450 --> 20:30.930
Then you get to, like, really large files, like 10 meg files.

20:30.930 --> 20:35.310
And so you start seeing these chopped up things as they come from different segments of different pictures.

20:35.310 --> 20:36.990
So it starts to make sense.

20:36.990 --> 20:41.490
So, once you finally get that, you'll actually get something that looks like this.

20:41.790 --> 20:46.230
So, your goal is obviously to get to a spot where you can actually see the picture.

20:47.330 --> 20:49.730
So, I'm going to start here on RAID 0.

20:49.730 --> 20:55.810
RAID 0 and RAID 5 are fundamentally the same from a standpoint of figuring this part out other than the actual arrangement itself.

20:55.810 --> 21:01.010
So, I'm going to start with an MP3 sample and then I'm going to do the demo, actually, on RAID 5 after we cover RAID 5.

21:01.010 --> 21:03.010
So, here's my MP3.

21:03.010 --> 21:13.010
So, if you have files, and most of us have, like, iTunes directories and stuff that are on our box, if the files are next to each other when you extract them, they do a similar thing that the JPEGs do.

21:13.010 --> 21:15.470
They'll play a chunk and then they'll play another chunk.

21:15.470 --> 21:19.150
And the chunks won't be together and they won't make sense, but it'll come off as one file.

21:19.150 --> 21:28.590
So, if you happen to have 70s of porn on your hard drive or something like that, and you were to play it, this is the kind of stuff you'll get.

21:28.630 --> 21:33.110
And it'll sound like a long sample, but trust me, it's only, like, 40 seconds.

21:33.270 --> 21:34.570
It'll be enough.

22:02.760 --> 22:17.720
oh oh oh oh oh oh A relaxed ass is a happy ass.

22:21.000 --> 22:25.920
a a But if it's a tight and unrelaxed ass, it's an unhappy ass.

22:27.120 --> 22:28.120
Alright.

22:28.120 --> 22:29.620
So that's pretty much the way that goes.

22:29.620 --> 22:30.280
You'll get a lot of that.

22:30.280 --> 22:32.140
Anybody know who that last one was?

22:32.880 --> 22:34.720
Come on, you guys know Ron Jeremy.

22:34.720 --> 22:36.340
Don't act like you don't look at porn.

22:36.340 --> 22:36.760
Whatever.

22:36.760 --> 22:37.640
You're all in this talk.

22:37.640 --> 22:39.040
We know what's going on.

22:39.400 --> 22:41.180
I'm trying not to admit that.

22:45.620 --> 22:47.760
I told her she was going to be really popular.

22:49.660 --> 22:51.300
And we'll put her phone number up.

22:52.980 --> 22:55.240
Alright, so let's talk about RAID 5 for a minute.

22:55.240 --> 22:57.480
This one's going to be a little drier, but let's get this out.

22:57.480 --> 22:59.300
Because that's the important part.

23:01.620 --> 23:03.660
So basically the first thing is controllers.

23:03.660 --> 23:05.740
It's really helpful if you know what your controller is.

23:05.740 --> 23:09.380
But fundamentally there's two different types of controllers that you have to pay attention to.

23:09.420 --> 23:13.080
And one is whether or not you actually have a host controller or a discrete controller.

23:13.100 --> 23:17.580
If you have a discrete controller, it basically means I have a processor on my RAID controller.

23:17.620 --> 23:19.260
Because there's going to be all this math.

23:19.260 --> 23:22.760
The functions actually have to be done to actually make this array work.

23:22.760 --> 23:26.000
If you have a host-based controller, people think, oh, a host is great.

23:26.000 --> 23:29.780
I can take like eight of my IDE hard drives and I can add them all up.

23:29.780 --> 23:36.740
The more drives you add to a host-based controller, the more CPU power it's using from your CPU to actually do these calculations.

23:36.820 --> 23:46.380
Whereas the discrete controller actually is able to do the calculations for you to produce that content so that it's not actually impacting your system.

23:46.380 --> 23:48.320
And we're going to try to do all this in software.

23:48.320 --> 23:57.360
So the whole point is the more drives you have in your RAID array, the slower and the longer it's going to take to do these mathematical calculations in RAID to produce it.

23:57.360 --> 23:58.900
So we're going to talk about those in a minute.

23:59.920 --> 24:04.680
So the whole point of RAID 5, obviously, is that you want to keep your server up.

24:04.680 --> 24:09.500
You want to have some time where my data is redundant and that my system can continue to run.

24:09.500 --> 24:16.740
I have a drive that's died, and then I'm going to replace it if one of the drives dies, but my system continues to run.

24:16.740 --> 24:22.980
But now the reason that you're seeing the RAID array in for some kind of recovery is usually one of these.

24:23.060 --> 24:26.800
The guy had one drive go bad, and the alarm goes off.

24:26.800 --> 24:30.520
And the boss is walking by the door, and he goes, What the hell is that damn alarm?

24:30.520 --> 24:31.700
Turn that crap off.

24:31.700 --> 24:32.960
That is so annoying.

24:33.000 --> 24:34.500
And they turn it off.

24:35.180 --> 24:36.780
And then what happens?

24:37.100 --> 24:39.240
Everybody knows what happens after that, right?

24:39.300 --> 24:42.260
Six months later, drive number two dies.

24:42.360 --> 24:43.700
Then you have a problem.

24:43.700 --> 24:45.360
And that's why it's in for recovery.

24:45.360 --> 24:47.760
Now here's your big problem when you're dealing with this.

24:48.300 --> 24:54.660
If you have two drives that have died in a RAID array, so RAID arrays typically you have to have a minimum of three drives.

24:54.660 --> 24:57.180
So usually one drive can die, and you'll be fine.

24:57.180 --> 25:02.520
So however many drives you have in your RAID array, one drive can die, you'll be fine, you can do this reassembly and do whatever.

25:02.560 --> 25:05.720
Two drives die, which drive do you have to have?

25:08.040 --> 25:10.320
The one that recently died.

25:10.900 --> 25:16.800
The last one is the one that has to be there, because that's the one that has all the data that synced to it.

25:16.800 --> 25:19.440
The oldest one that died is completely worthless.

25:19.480 --> 25:23.780
So if you don't know which drive died, because where are the log files for where the drive died?

25:25.660 --> 25:31.360
This is a great reason to actually copy all these log files maybe periodically, put them in a backup tape somewhere or something, anyway.

25:31.400 --> 25:37.180
But you need to know which drive died last, or you're kind of screwed because you're going to rebuild two drives.

25:37.180 --> 25:39.560
You're going to spend twice as long actually getting this job done.

25:39.560 --> 25:41.920
So the less you know, the worse off you are.

25:41.920 --> 25:44.280
So basically it looks a little bit like this.

25:44.280 --> 25:48.640
You've got a stack of drives, and data parity is basically rotating through the drives.

25:48.640 --> 25:50.180
So there is no parity drive.

25:50.180 --> 25:52.500
I hear that all the time, like, Ray, Bob, you've got a parity drive.

25:52.500 --> 25:55.340
No, it's distributed across all the drives.

25:55.340 --> 25:59.400
So you could put an X on any one of these drives, and it would be completely dead.

25:59.500 --> 26:00.700
And it would be fine.

26:00.700 --> 26:03.260
You have all the data that you need to do the calculation.

26:03.300 --> 26:10.080
So when you have a system, and it's all plugged in, and basically let's take a simple one, like these three drives here, you'll actually have the parity distributed.

26:10.080 --> 26:15.340
So, now this talk doesn't lend itself very well to animation, but I have some.

26:16.520 --> 26:17.100
Woo!

26:18.220 --> 26:21.400
All right, I just have this one nice fancy one.

26:22.680 --> 26:25.080
All right, again, now this is the...

26:26.040 --> 26:27.320
See if I can make it fit.

26:27.320 --> 26:28.280
All right, there we go.

26:29.040 --> 26:30.960
When you're talking about porn, you've got to always make it fit.

26:31.120 --> 26:36.520
All right, so, this is the executive summary version, okay?

26:36.520 --> 26:42.480
So, again, take this with a grain of salt, and this is the one you want to show your boss when you're trying to say, I'd like you to buy a fancy RAID array.

26:42.560 --> 26:44.520
And in the old days, we used to have to actually convince people.

26:44.520 --> 26:47.980
People remember, like, 2000, 2001, you had to say, we need a RAID array on our server.

26:47.980 --> 26:49.560
And the boss was like, why do we need one?

26:49.560 --> 26:55.780
Well, this is the sample that you want to give him because it makes it very easy for an executive to understand why you have to have one.

26:56.040 --> 26:56.600
Okay?

27:08.970 --> 27:09.770
All right.

27:19.170 --> 27:22.730
Okay, so the deal is, is that this is not the exact formula.

27:22.730 --> 27:24.030
You guys should all know that by now.

27:24.030 --> 27:26.310
It's not the exact formula that it follows.

27:26.850 --> 27:29.150
But your boss can understand this.

27:29.150 --> 27:30.370
He can get that down.

27:30.490 --> 27:32.190
Maybe even photographers.

27:32.210 --> 27:44.410
But, ultimately, what you're looking at is that at any point in time, if you took this formula and you have 1x, people can figure out what's supposed to be in that 1x from the data that exists.

27:44.530 --> 27:49.470
So what you actually are doing is an exclusive OR arrangement on these so that you can actually produce that parity.

27:49.470 --> 27:55.210
But it's a much more complicated process and requires a very high-speed processor to do it.

27:55.210 --> 27:59.770
So this is why having a discrete controller is going to be a much better deal than a host-based controller.

27:59.790 --> 28:03.050
Host-based controllers, because they're cheap, they'll do just about anything.

28:03.250 --> 28:05.370
They're a mess to deal with.

28:05.370 --> 28:17.170
But if you're dealing with a discrete controller, you spent more than $300 on the controller, which means there's documentation somewhere and it didn't come just maybe from China, I don't know, but at least you've got something that you can read, hopefully,

28:17.170 --> 28:21.850
and find out what your arrangement is or if they did anything strange, like an offset or something.

28:22.110 --> 28:25.110
So that's my executive summary version.

28:32.160 --> 28:34.980
Okay, so this is the simple formula if you're dealing with this.

28:34.980 --> 28:39.180
You actually have an exclusive OR that's actually going to be between the drives to produce the parity.

28:39.180 --> 28:42.840
So the exclusive OR is the function that we're trying to deal with from that standpoint.

28:43.440 --> 28:45.140
I just said this about the other...

28:45.140 --> 28:48.900
So, this is the hard part with dealing with RAID 5.

28:48.900 --> 28:50.420
You've got so many Xs.

28:50.420 --> 28:56.700
Besides just the fact that you have an X which drive died, you actually have these other Xs which will become unknown.

28:56.740 --> 29:00.100
And hopefully you can eliminate two of these so you can try to guess what the other ones are.

29:00.100 --> 29:03.120
Because you'll end up with a disk order that's unknown.

29:03.120 --> 29:12.120
That's the easiest one to solve in most cases because all you have to do is make sure that the guy who knows that the array is dead wrote a number on the box before each drive is removed.

29:12.160 --> 29:13.480
That's the easiest one to deal with.

29:13.480 --> 29:19.140
So if you can convince people to do that before they ship them to you, you might be able to figure something out without having to spend a lot of extra time.

29:19.180 --> 29:21.840
Then you've got your variations and your slice sizes.

29:21.840 --> 29:30.100
Now sometimes that configuration is stored on the disk themselves and maybe you can't read that or you can't get into the card or you can't see the card so you don't know what that is so you're going to have to guess.

29:30.100 --> 29:31.580
And then you've got the arrangement.

29:31.600 --> 29:35.000
The arrangement is usually not something you can specify or select.

29:35.000 --> 29:37.220
It's usually something that the manufacturer chose.

29:37.220 --> 29:40.380
There's basically five or six different types of arrangements.

29:40.520 --> 29:45.000
And so those arrangements, it's important if you know which discrete controller it is, you can look them up.

29:45.660 --> 29:47.180
And then you have fragmentation.

29:47.320 --> 29:50.840
Fragmentation is going to impact you in this demo that I'm going to do all together.

29:50.840 --> 29:54.120
But fragmentation, as most of you know, you've just got to deal with fragmentation.

29:54.120 --> 29:56.880
So what you're going to do is you're going to check multiple pictures.

29:56.900 --> 30:00.180
You're going to have some that are corrupt no matter what because of the way that the layout is.

30:00.180 --> 30:02.120
So when you click on them, you're not going to get anything.

30:02.200 --> 30:10.260
But as you click through a dozen or 20 of them, you'll figure out which ones you can view and which ones make sense and just ignore the others that are bad that you can't do.

30:10.260 --> 30:12.000
So they start to look like jigsaw puzzles.

30:12.080 --> 30:14.920
So we have something kind of similar to this from that standpoint.

30:14.920 --> 30:17.580
We actually have the same thing with RAID 0.

30:17.580 --> 30:20.320
Same basic slice sizes that you've got to deal with.

30:20.460 --> 30:23.760
But there's some extra things that you can do to try to figure out the steps.

30:23.760 --> 30:25.200
So here's kind of my extra slide.

30:25.200 --> 30:26.120
This is the bonus stuff.

30:26.120 --> 30:27.600
You don't have to do this to do it.

30:27.600 --> 30:31.600
Once you've actually done enough views of the drives, you can figure this out by sight.

30:31.600 --> 30:33.260
But here's one thing you can do.

30:33.260 --> 30:35.780
Anybody ever done a manual carve of JPEG files?

30:36.180 --> 30:36.980
How many people have done that?

30:36.980 --> 30:37.400
Yeah.

30:37.660 --> 30:42.680
Okay, so for the people that haven't, it sounds like some big mystery all these forensics guys are doing, or manual carving, whatever.

30:42.860 --> 30:45.640
All it means is I copied the hex crap out of the drive.

30:45.640 --> 30:46.400
That's all it means.

30:46.400 --> 30:50.120
So what ends up happening, let's just say I go and I look up the JPEG standard.

30:50.120 --> 30:52.400
In the JPEG standard, you've got FFDAFF.

30:52.400 --> 30:54.280
It's basically what your file is going to start with.

30:54.280 --> 30:55.820
So you're going to end up with a JPEG header.

30:55.820 --> 30:57.900
It's always going to begin with FFDAFF.

30:57.900 --> 31:01.000
And it's going to end with FFDD9.

31:01.000 --> 31:03.700
So you'll be able to go from beginning to end and cut something out.

31:04.060 --> 31:09.920
So if you go in to a hex editor and you just look at the content, you do a search for FFDAFF.

31:09.980 --> 31:16.100
So when you actually get to that spot, the first thing you want to do to find out is whether or not you've got a false positive.

31:16.300 --> 31:17.640
Is this a false positive?

31:18.900 --> 31:19.500
No.

31:19.500 --> 31:23.360
Because the easiest thing you can tell right off the bat is you've got some EXIF information.

31:23.360 --> 31:26.980
So there's data that's actually stored in the picture about the picture.

31:26.980 --> 31:30.300
So you'll get things like the camera, dates and times, and stuff like that.

31:30.300 --> 31:34.620
That stuff is very valuable to help you figure out in the RAID array how to reassemble it.

31:34.620 --> 31:38.200
Because this is probably, the beginning of the picture is probably going to be a JPEG.

31:38.200 --> 31:45.560
So if I extract this data, even if I can't view the actual file, the JPEG is typically going to be smaller than my slice size.

31:45.560 --> 31:48.440
So I can see the thumbnail itself.

31:48.660 --> 31:53.740
So if I extract it and I just save it to a directory, the picture itself won't open.

31:53.740 --> 31:55.520
The picture is complete and utter crap.

31:55.520 --> 31:56.580
You can't see anything.

31:56.580 --> 32:02.940
But I'm just going to use Explorer by highlighting over the picture and it'll tell me what size the dimensions are supposed to be.

32:02.940 --> 32:04.760
But you can see it says it's 8K.

32:04.760 --> 32:05.920
I mean that's a pretty small thing.

32:05.920 --> 32:07.280
So that's not the real picture.

32:07.340 --> 32:13.080
But you take these numbers and you can go to a website and it'll calculate for you what the actual size is supposed to be.

32:13.080 --> 32:17.020
You plug them in and you come down here to what your JPEG process is going to be.

32:17.020 --> 32:21.860
And you can figure out, I mean most photographers are going to save it somewhere in the 100% range most of the time.

32:21.860 --> 32:24.160
So you're going to end up with like a 2MB file.

32:24.360 --> 32:29.880
So then you can actually take the files as you extract them and you go through the process and you can kind of break it down.

32:29.880 --> 32:32.840
You could say, look, it's supposed to be a 2MB file.

32:32.880 --> 32:34.380
So what is my slice size?

32:34.380 --> 32:39.280
And so you just start dividing until you actually look like you're starting to get a slice size that's contiguous.

32:39.560 --> 32:44.320
And what that slice size that's contiguous is most of the time the actual correct slice size.

32:44.320 --> 32:49.660
Even though in this particular case we may have a rotation in order or we may have slices that are out of order.

32:49.660 --> 32:50.940
So I have drives out of order.

32:50.940 --> 32:54.160
But I can still tell that this is probably going to be a 64K slice size.

32:54.160 --> 33:00.880
So you have other things to look at, which are, do these other slices belong to the same picture?

33:00.880 --> 33:03.600
So this is where you're going to resolve two X's at one time.

33:03.600 --> 33:11.460
If the picture has slices that look weird and don't fit in the picture, then you've got an order problem also.

33:11.460 --> 33:14.600
So not only do you have the slice size problem, you've got an order problem.

33:14.600 --> 33:22.080
And either the arrangement of the logical component of the drive is going to be wrong or the order of the physical drives that you have is wrong.

33:22.080 --> 33:24.040
So I'll kind of give you a picture of that.

33:24.240 --> 33:31.300
So if you look at this, there's basically four major ways that the data is arranged on RAID arrays.

33:31.320 --> 33:33.900
And this is typically Linux terminology.

33:34.060 --> 33:41.080
Windows has the same kind of thing, but they call it stupid stuff, like forward and backwards and dynamic, and they just make other crap up.

33:41.080 --> 33:42.660
But it's pretty much the same thing.

33:42.860 --> 33:44.400
So you're looking at these orders.

33:44.440 --> 33:47.960
So I'm going to focus on the first two because the first two are the most common.

33:47.960 --> 33:50.980
So you end up with what's called the left asynchronous.

33:50.980 --> 33:53.480
So you basically can tell where your slices are.

33:53.480 --> 33:57.880
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.

33:57.880 --> 34:01.300
And you'll have a second set that will actually be different orders in the numbers.

34:01.300 --> 34:02.680
And so you'll actually have content.

34:02.680 --> 34:05.060
The picture will actually look fairly similar to this.

34:05.060 --> 34:13.080
You'll actually get a picture that once you've got the order of the drives correct, that the content that's in the picture rotates through in the same order and looks fairly similar.

34:13.080 --> 34:17.460
So as you look through these slices, then you start to go, hey, which order is this one?

34:17.460 --> 34:18.720
I can pick them.

34:18.720 --> 34:21.700
So this is the tool that I'm just going to use basically to show this.

34:21.700 --> 34:23.920
So I can actually load my three drives up.

34:23.920 --> 34:25.560
This is going to be the order of it.

34:25.660 --> 34:27.500
And so this is one of the arrangements.

34:27.500 --> 34:29.840
This is one of the other arrangements that I can deal with.

34:29.840 --> 34:31.860
So you can start to see and do a comparison.

34:31.920 --> 34:35.780
And then once you actually put them back together, you'll actually get the complete picture itself.

34:36.080 --> 34:39.340
So what are the steps that I would normally do to do this?

34:39.900 --> 34:41.620
I'm going to repair the bad drives.

34:41.620 --> 34:43.040
I'm not going to waste a lot of time.

34:43.040 --> 34:45.340
That's like the first thing that I've seen so many people do.

34:45.340 --> 34:48.020
Like, oh, we've got seven drives in for recovery.

34:48.020 --> 34:49.800
They image the first six.

34:50.180 --> 34:51.600
Like, well, what about the bad drive?

34:51.600 --> 34:57.620
Because if you don't get the bad drive back, or the first five, if you don't get the bad drive back, you're not going to get the one that you actually need.

34:57.620 --> 34:59.060
It won't matter how much work you do.

34:59.060 --> 35:01.260
Before that, it's going to be all wasted time.

35:01.260 --> 35:02.840
So I work on the bad drive first.

35:02.840 --> 35:06.840
And sometimes you just have to start doing an image or something to test to figure out which one's the bad one.

35:06.840 --> 35:08.880
But most of the time, you know pretty quickly.

35:09.080 --> 35:13.180
Then you can actually deal with imaging the good ones and stepping through the process, test the data.

35:13.180 --> 35:16.040
And then once you finally actually have them assembled, you can go back.

35:16.040 --> 35:19.600
Now, on the thing that I was talking about, let's try to do something free.

35:19.940 --> 35:23.440
There is a Perl script out there that somebody wrote to try to help out with this.

35:23.440 --> 35:26.060
And it's been used several times, so it's functional and works.

35:26.060 --> 35:30.920
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.

35:30.920 --> 35:33.180
And you modify it according to your array.

35:33.180 --> 35:36.180
So you would still have to kind of know something about it.

35:36.420 --> 35:36.960
All right?

35:36.960 --> 35:41.560
So let's go through the process of what we're going to deal with with our goals.

35:41.560 --> 35:46.900
So our goal was let's use something that's less than $100 and try to rebuild.

35:46.920 --> 35:50.200
Now, there's some tools that will rebuild RAID 0 but won't rebuild RAID 5.

35:50.200 --> 35:53.960
So make sure that if you buy something that you know what you're doing, which one you're going to buy.

35:53.960 --> 35:56.580
So I have two primary choices that I would use.

35:56.620 --> 35:59.260
RAID Reconstructor from runtime.org is $99.

35:59.280 --> 36:02.040
And then there's RStudios from RTools.

36:02.040 --> 36:07.820
And that's actually a great buy because RStudio is $79 or something for their standard edition.

36:07.820 --> 36:10.740
And it does like all the file systems except for XFS and ZFS.

36:10.740 --> 36:12.120
But it does the rest of them.

36:12.140 --> 36:15.460
So you can typically do everything all at once, including Mac OS or whatever.

36:16.360 --> 36:20.660
RAID Reconstructor I'm not going to show at the moment because RAID Reconstructor, it guesses.

36:20.660 --> 36:22.300
And if it's right, it'll tell you.

36:22.300 --> 36:26.060
If it's wrong, what it will normally do is tell you what its entropy is.

36:26.060 --> 36:34.200
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.

36:34.200 --> 36:36.680
So there'll be a column that'll say OS equals 4.

36:36.680 --> 36:40.580
And you'll have four or five drives in the list out of 70-something drives.

36:40.580 --> 36:42.980
And it'll tell you which ones are the ones with the highest entropy.

36:42.980 --> 36:44.540
Those are the ones to test.

36:44.540 --> 36:46.440
But I'm going to show RStudio.

36:46.440 --> 36:48.180
So that's what my demo is going to be on.

36:49.940 --> 36:50.660
Questions?

36:51.960 --> 36:52.640
Okay.

37:02.520 --> 37:03.140
All right.

37:03.140 --> 37:09.120
So hopefully this will be the right size for me to see.

37:12.920 --> 37:13.380
Okay.

37:13.380 --> 37:16.480
So I don't so much care about the actual product itself.

37:16.480 --> 37:20.220
My whole goal is to be able to see what's manually going on, to actually know what's going on.

37:20.220 --> 37:23.340
So hopefully this is a big enough window for me to see all the buttons.

37:23.460 --> 37:23.680
All right.

37:23.680 --> 37:28.060
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.

37:28.060 --> 37:29.980
So I've made DD image files.

37:30.220 --> 37:31.440
I've made a pair of them.

37:31.440 --> 37:33.200
So this is a RAID array that had three.

37:33.200 --> 37:37.980
Now, if this is unknown, basically you take your defaults, and then you kind of work your way back from there.

37:38.120 --> 37:46.200
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, and I'm going to try to see what the content is from there.

37:46.200 --> 37:54.400
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.

37:54.400 --> 37:56.240
So I'm going to highlight these and add it.

37:56.680 --> 37:59.760
Now, the first thing, which drive is number one?

38:01.120 --> 38:08.420
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.

38:08.420 --> 38:16.700
Now, this was a hardware RAID, and I broke it basically to do this demo and made these image files of that particular one.

38:16.700 --> 38:19.160
But I have two image files here.

38:19.160 --> 38:22.200
I'm missing the missing drive, but I know which one's number one.

38:22.320 --> 38:24.840
So what I'm going to do is I'm going to go and create me.

38:24.840 --> 38:26.740
They call it virtual block RAID.

38:26.740 --> 38:28.400
So this is going to be my RAID 5.

38:28.420 --> 38:30.620
So I make kind of a fake set here.

38:30.680 --> 38:33.220
Then I'm going to add each one of my drives to this.

38:33.220 --> 38:36.580
So I right-click, and you'll actually see your drives and your partitions.

38:36.580 --> 38:40.000
The drives are the ones that matter because the partition is going to be at an offset.

38:40.160 --> 38:41.420
You don't want to use the offset.

38:41.520 --> 38:43.420
So I'm going to add the two drives I have.

38:44.500 --> 38:48.500
Now, right now, I cannot see my boxes.

38:48.660 --> 38:51.380
So I'm going to add my missing disk.

38:51.380 --> 38:59.200
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.

38:59.620 --> 39:01.540
And now I'm off the screen.

39:03.380 --> 39:04.880
Way off the screen.

39:05.700 --> 39:07.520
They told me they were 1024.

39:09.160 --> 39:11.940
Okay, so I'm doing a RAID 5 array, and so now...

39:12.660 --> 39:14.100
Sorry about this kind of thing.

39:14.100 --> 39:16.000
I actually tested this in the back with the same projector.

39:16.000 --> 39:17.220
They said this is what it was going to do.

39:23.000 --> 39:24.380
Can't see all my boxes.

39:33.220 --> 39:36.800
All right, so I'm going to go ahead and check this box that says Apply Changes Immediately.

39:36.800 --> 39:41.560
Every time I actually change it, it's going to actually dynamically change them physically in the drives.

39:41.560 --> 39:43.260
So this is what my order looks like.

39:43.260 --> 39:45.140
And so I have a RAID 5.

39:45.140 --> 39:48.040
I'm going to leave it as default, which is almost always 64K.

39:48.040 --> 39:51.860
And then you'll actually see that you have all those alternatives that I actually talked about right here.

39:51.860 --> 39:55.480
We're going to test this array, and we're going to find out what it is that we actually have.

39:55.480 --> 39:57.480
So after I've added them to the array...

39:57.480 --> 39:59.440
I'm going to come back over here to my other box.

40:03.270 --> 40:07.050
It'd be helpful if they used the same exact projector.

40:07.130 --> 40:11.890
So now you'll see I actually have my virtual array, and then I've got my partition, my first partition.

40:11.930 --> 40:14.090
What I want to do is I want to scan for JPEGs.

40:14.090 --> 40:15.710
So I don't care about any of this other stuff.

40:15.710 --> 40:18.090
So I'm going to right-click, and I'm going to say Scan for JPEGs.

40:18.210 --> 40:20.230
So I get a box that actually asks me...

40:20.230 --> 40:23.110
I know which OS it is because it already gave me identifying information.

40:23.110 --> 40:25.390
So I'm going to throw away all the other OSs to make it faster.

40:25.390 --> 40:26.850
I'm just going to do NTFS.

40:27.930 --> 40:30.190
There's all these other things that most of the tools...

40:30.190 --> 40:34.490
If you actually use a scanning tool that goes and scans for stuff, you need to deselect all this other crap.

40:34.490 --> 40:36.610
We don't need anything else except JPEGs.

40:36.610 --> 40:41.830
So I would actually just go down to Graphics, and I would actually just go down and select JPEGs, add them to the table.

40:41.830 --> 40:43.530
That's all I care about to find out.

40:43.530 --> 40:44.530
And we're only testing this.

40:44.530 --> 40:48.530
We're not trying to waste 75 hours scanning a drive to figure out what I got.

40:48.530 --> 40:50.150
That's what most of the tools do.

40:50.170 --> 40:51.770
So we want to do it faster than that.

40:51.770 --> 40:58.810
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, and that's let you look at data.

40:58.890 --> 41:07.850
So right now, as it's going across and it's scanning, if you hover over the ones that are color, they'll tell you three of the files that I've picked are coming up in this block.

41:07.850 --> 41:10.330
And as you keep going, they'll tell you specific documents.

41:10.330 --> 41:14.730
You can click on them, and it'll give you a little box that says, well, what kind of files did I find?

41:14.730 --> 41:20.390
And even better than that, I can click on the file, and what I want to know, is this a false positive?

41:20.390 --> 41:26.290
That's what I care about in this whole thing, except that now it's off the screen and I can't see it.

41:28.190 --> 41:31.610
So, anybody think that this is a false positive?

41:32.110 --> 41:35.370
Right, so I've got data here that actually matters to me.

41:38.230 --> 41:41.530
Well, I did that, and it doesn't...

41:46.740 --> 41:47.960
Thanks, buddy.

41:47.960 --> 41:49.060
Appreciate that.

41:55.280 --> 41:55.960
No!

41:58.560 --> 42:06.460
So we added 55 minutes to the presentation in our process here, so it's all to do with resolution.

42:06.940 --> 42:10.740
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.

42:10.740 --> 42:11.620
Oh, really?

42:14.790 --> 42:18.370
That's the last time I listen to somebody in the...

42:25.690 --> 42:27.870
You know, enough crap goes wrong with demos.

42:27.870 --> 42:29.610
We don't need to be adding to it.

42:44.350 --> 42:45.810
God dang it.

42:47.730 --> 42:48.610
Yeah.

42:49.570 --> 42:50.610
You know what it is?

42:50.610 --> 42:53.410
It's all these damn porn pictures I got on the thing.

42:56.140 --> 42:57.620
God dang it.

42:58.600 --> 43:00.580
Yeah, demo fail.

43:00.580 --> 43:01.600
It wouldn't have been.

43:01.600 --> 43:03.300
It'd have been fine.

43:04.420 --> 43:06.200
All right, hang on.

43:19.740 --> 43:21.020
All right, maybe.

43:21.020 --> 43:21.860
All right.

43:22.600 --> 43:23.560
Cool.

43:23.560 --> 43:26.400
All right, so this is not a...

43:26.400 --> 43:28.880
Now I still have the same problem I had before.

43:29.200 --> 43:35.600
Now it may be worse, because I can't get to the corner.

43:36.540 --> 43:38.800
At least before I had that.

43:45.910 --> 43:46.870
Yay!

43:47.710 --> 43:49.630
Okay, X.

43:49.630 --> 43:52.350
So it is not a...

43:54.870 --> 43:56.690
Now, we're going to stop it.

43:56.690 --> 44:00.530
We don't need it to continue on scanning, so we're going to go ahead and stop it.

44:00.650 --> 44:02.370
Because I don't care about any of this other stuff.

44:02.370 --> 44:06.450
All I want to know is I actually got a JPEG, and that I actually have something that's not a false positive.

44:06.450 --> 44:08.630
So I'm going to go look at the file I actually have.

44:08.630 --> 44:12.130
So I can actually go down in here, and I can say, well, I'm going to click on one.

44:12.350 --> 44:14.310
Now this one says it's about 50K.

44:14.310 --> 44:18.990
So now if you look at it, you'll actually see, hey, this must have been a really, really large picture.

44:18.990 --> 44:22.310
And so that 50K is like way wrong, but I've got a stripe there.

44:22.310 --> 44:30.290
And I can do the same thing I said before, where I can actually go and say, oh, I'm going to go recover my actual picture and try to figure out what size it's supposed to be.

44:31.370 --> 44:35.450
So you can go and actually just save it out and save out your thumbnail or whatever else you're going to look at.

44:35.570 --> 44:36.990
Go look at your thumbnails.

44:37.010 --> 44:38.190
So now this is the picture.

44:38.190 --> 44:39.950
This is actually what I'm going to save.

44:39.950 --> 44:44.650
So I can actually do, but you know from the size that we're looking at approximately a 2MB picture.

44:44.730 --> 44:47.470
And so if I click on it, then this is what I'm going to get.

44:47.510 --> 44:55.870
So if that's 2MB, and you're actually looking at this, you're probably looking at, again, it is not going to be a 64K slice size.

44:55.870 --> 44:58.690
That's probably what the 64K is, because that's what we asked for.

44:58.690 --> 45:00.650
So we've got two stripes together.

45:00.870 --> 45:04.970
So half of that is 32K.

45:06.010 --> 45:10.190
So that will tell you right off the bat that you can actually tell just from that content.

45:10.430 --> 45:12.250
So I'm going to close this.

45:13.430 --> 45:17.610
I'm going to delete the scan that I just did because I don't care about it anymore.

45:17.930 --> 45:19.470
I'm going to go back to my RAID array.

45:19.690 --> 45:21.830
And now I'm going to make my changes to...

45:21.830 --> 45:23.010
Hey, I'm getting good at this.

45:23.730 --> 45:24.850
So I'm going to make my changes.

45:24.850 --> 45:28.870
I'm going to go ahead and set it at 32K, which is what it looked like visually to me that it might be.

45:29.250 --> 45:31.110
So then I come back and I do the same kind of thing.

45:31.110 --> 45:32.190
I can go to the partition.

45:32.210 --> 45:33.190
I can scan.

45:34.430 --> 45:37.550
And if I leave it the same, it's going to be all the same details I already did.

45:37.690 --> 45:39.850
Give me a couple of JPEGs, blah, blah, blah.

45:39.910 --> 45:42.090
See if I have one that's not a false positive.

45:45.810 --> 45:47.170
Not a false positive.

45:47.270 --> 45:48.970
Same kind of thing I did before.

45:53.420 --> 45:54.380
Close that.

45:57.940 --> 45:59.720
And we're going to stop again.

46:00.480 --> 46:01.960
Go ahead and look at the same things.

46:01.960 --> 46:04.460
We're going to look at our file itself.

46:08.090 --> 46:09.610
Go into the files.

46:14.220 --> 46:15.020
Okay.

46:15.280 --> 46:19.120
So now if you look at the picture, it's a little dark on the screen.

46:19.120 --> 46:21.820
But if you look, you start to have some contiguous stuff.

46:21.820 --> 46:27.440
Does this actually look like it probably belongs to the same picture?

46:29.660 --> 46:30.260
Yeah?

46:30.260 --> 46:32.740
Like this piece move over, that piece move over.

46:36.630 --> 46:37.290
Okay.

46:37.290 --> 46:40.090
So we know we probably have that, but we have a wrong arrangement.

46:40.090 --> 46:41.890
They look like they belong to the same picture.

46:42.810 --> 46:44.390
So let's delete that.

46:44.910 --> 46:46.610
Let's go look at our arrangement.

46:47.070 --> 46:49.750
So we were using this arrangement, which is standard.

46:49.750 --> 46:50.870
So that's the first one.

46:50.870 --> 46:57.150
Most rate arrays do not use, or at least most of the ones I'm dealing with, are not using right and asynchronous and synchronous.

46:57.150 --> 47:01.250
So our second choice is going to be continuous, which is the rotation in the other side.

47:01.710 --> 47:06.050
So now you can actually go back and do the same exact thing again.

47:07.730 --> 47:08.610
Scan.

47:08.810 --> 47:10.130
Go ahead.

47:11.010 --> 47:14.230
For the sake of time, I'm going to skip trying to do the...

47:14.230 --> 47:15.730
Do I have a false positive?

47:16.910 --> 47:18.530
Then I'm going to go look at it.

47:19.590 --> 47:20.850
Look at my pictures.

47:21.330 --> 47:22.350
Look at the array.

47:34.520 --> 47:35.440
And it's the same thing.

47:35.440 --> 47:36.720
You just keep rotating through them.

47:36.720 --> 47:44.400
The other thing that you can do really quickly, if you wanted to, to try to figure things out, especially in this tool, is that there's an option for, like, taking a partition.

47:44.400 --> 47:46.760
Let's say I went back and I, like, munched it up again.

47:46.760 --> 47:52.880
Let's say I go back and I say, Oh, look, it's a 64K and I got something out of order again.

47:53.040 --> 47:57.060
You can do a couple of quick things by sight if you just know directory structures anyway.

47:57.160 --> 48:00.900
So if you actually said, Hey, I'm just going to delete on the...

48:00.900 --> 48:03.500
I'm going to look at the partition and see what files it says I have.

48:03.660 --> 48:05.620
Well, it's pretty not supposed to have.

48:05.620 --> 48:07.060
You've got things that are missing.

48:07.060 --> 48:09.260
You're missing your files, your windows, things like that.

48:09.260 --> 48:13.240
As you rotate through the others, you can actually start selecting just variations on directories.

48:13.240 --> 48:15.000
When you get the right one, it's going to be obvious.

48:15.000 --> 48:18.500
You're going to have a document in settings that actually has folders in it that are going to work correctly.

48:18.500 --> 48:20.400
So you can step through all those.

48:26.320 --> 48:26.720
So...

48:28.000 --> 48:29.540
So demo fail work.

48:29.540 --> 48:30.560
How about that?

48:31.520 --> 48:32.900
All right, so...

48:33.460 --> 48:34.480
And that's it.

48:34.480 --> 48:35.400
There you go.

48:36.280 --> 48:36.360
Thank you.

