1 00:00:00,940 --> 00:00:02,860 Okay, let's get this party started. 2 00:00:02,860 --> 00:00:06,910 I'm on a Windows Server 2022 box named localmem1, 3 00:00:06,910 --> 00:00:09,960 and I want to start by opening an administrative PowerShell session, 4 00:00:09,960 --> 00:00:13,340 and letting you know if you do want to go further with SMB Direct, 5 00:00:13,340 --> 00:00:16,830 first of all, make sure that your network adapter supports RDMA. 6 00:00:16,830 --> 00:00:19,480 You can access the cmdlet Get‑NetAdapterRdma, 7 00:00:19,480 --> 00:00:23,830 and that'll give you an interface by interface breakdown of 8 00:00:23,830 --> 00:00:26,580 whether the feature is enabled and operational, 9 00:00:26,580 --> 00:00:28,800 and you'll want to make sure that it's operational. 10 00:00:28,800 --> 00:00:30,590 In my case, even if I enable it, 11 00:00:30,590 --> 00:00:33,390 it's not going to be available because I'm in a Hyper‑V 12 00:00:33,390 --> 00:00:35,740 virtual machine as I previously mentioned. 13 00:00:35,740 --> 00:00:39,940 There is a related command to turn that enabled flag on or off. 14 00:00:39,940 --> 00:00:45,240 Let me do a help Set‑NetAdapterRdma, and if we look at examples, 15 00:00:45,240 --> 00:00:47,300 as you can see here, let me highlight it, 16 00:00:47,300 --> 00:00:51,280 you can just do Set‑NetAdapterRdma, the name of the adapter, 17 00:00:51,280 --> 00:00:54,240 which you can get from get, and then Enable this to True, 18 00:00:54,240 --> 00:00:55,240 as simple as that. 19 00:00:55,240 --> 00:01:00,010 Okay, so in terms of NTFS, and REFS, and data deduplication, 20 00:01:00,010 --> 00:01:02,800 we actually covered a lot of this in a previous module, 21 00:01:02,800 --> 00:01:03,840 but let's do it again. 22 00:01:03,840 --> 00:01:07,740 In Server Manager, we can come into, let's again start from scratch, 23 00:01:07,740 --> 00:01:09,930 come down to File and Storage Services, 24 00:01:09,930 --> 00:01:13,280 make sure we're focused on the right server if you have more than one in there, 25 00:01:13,280 --> 00:01:15,040 and we'll go over to storage pools, 26 00:01:15,040 --> 00:01:19,290 and we can adjust virtual disks in a storage pool 27 00:01:19,290 --> 00:01:21,270 context here by right‑clicking, 28 00:01:21,270 --> 00:01:24,850 and we can extend the virtual disk and look at its properties, 29 00:01:24,850 --> 00:01:28,260 and this isn't really allowing us to change all that much. 30 00:01:28,260 --> 00:01:31,250 Come to the Storage Pools area first, and to review, 31 00:01:31,250 --> 00:01:35,810 I have a single storage pool created that includes two physical disks, 32 00:01:35,810 --> 00:01:39,560 and I've created a virtual disk called project‑disk1. 33 00:01:39,560 --> 00:01:39,780 Now, 34 00:01:39,780 --> 00:01:43,850 if you're wondering how could we enable data deduplication if we 35 00:01:43,850 --> 00:01:46,270 didn't do it when we created the virtual disk, 36 00:01:46,270 --> 00:01:48,040 I'll cover that in a second, but first, 37 00:01:48,040 --> 00:01:50,450 let me show you the workflow when you're creating a 38 00:01:50,450 --> 00:01:52,590 new storage spaces virtual disk. 39 00:01:52,590 --> 00:01:55,910 We'll go Tasks, New Virtual Disk, I'll select the Pool, 40 00:01:55,910 --> 00:01:57,690 click OK, and then in the wizard, 41 00:01:57,690 --> 00:02:01,020 I'm going to give this one a name called data‑dedup, 42 00:02:01,020 --> 00:02:03,820 really imaginative, right, click Next, Next. 43 00:02:03,820 --> 00:02:05,960 In this case, I'm going to do Mirror, 44 00:02:05,960 --> 00:02:09,950 and I'll make it a simple two‑way mirror that uses thin provisioning, 45 00:02:09,950 --> 00:02:13,240 and the size is going to be 10 GB, click Next, 46 00:02:13,240 --> 00:02:14,310 and then Create. 47 00:02:14,310 --> 00:02:18,250 I'm going to ensure that create a volume when this wizard closes is enabled, 48 00:02:18,250 --> 00:02:21,180 and then we'll click Close, and then we'll create a new volume, 49 00:02:21,180 --> 00:02:24,880 again, specifying the server and the disk in the list, 50 00:02:24,880 --> 00:02:25,790 click Next. 51 00:02:25,790 --> 00:02:29,110 I'll use all the space, I'll accept the default drive letter, 52 00:02:29,110 --> 00:02:31,240 and I'll give it the name dedup. 53 00:02:31,240 --> 00:02:34,530 For file system, again, notice that you can choose when you format. 54 00:02:34,530 --> 00:02:37,540 I'm going to choose ReFS in this case, click Next, 55 00:02:37,540 --> 00:02:39,700 and now we have our data deduplication. 56 00:02:39,700 --> 00:02:44,880 So the options here are disabled, file server, VDI, or virtualized backup. 57 00:02:44,880 --> 00:02:47,710 I explained the difference among these previously, 58 00:02:47,710 --> 00:02:51,670 and when you make a choice here, there'll be some slightly different UI, 59 00:02:51,670 --> 00:02:52,450 but not really. 60 00:02:52,450 --> 00:02:54,860 I'm going to just do general purpose file server, 61 00:02:54,860 --> 00:02:58,440 and then we specify deduplicate files that are older than, 62 00:02:58,440 --> 00:03:00,200 and then we specify a target. 63 00:03:00,200 --> 00:03:04,210 Three is the default, and then we can make some exclusions, 64 00:03:04,210 --> 00:03:07,360 file extensions that we do not want to deduplicate. 65 00:03:07,360 --> 00:03:09,330 That's going to be a comma‑separated array, 66 00:03:09,330 --> 00:03:13,170 and then we can click Set Deduplication Schedule to allow 67 00:03:13,170 --> 00:03:15,380 the job to run in the background or not, 68 00:03:15,380 --> 00:03:17,940 and then we can create one or more schedules. 69 00:03:17,940 --> 00:03:22,270 We also provide a maintenance window, a time that the job should complete within. 70 00:03:22,270 --> 00:03:25,690 Let's click OK to finish that, Next, and Create, 71 00:03:25,690 --> 00:03:28,670 and we can see that Enable deduplication and configure 72 00:03:28,670 --> 00:03:30,970 deduplication are in the tasks list. 73 00:03:30,970 --> 00:03:32,900 Now as I was saying a moment ago though, 74 00:03:32,900 --> 00:03:37,040 in this view, that is in the Storage Spaces view, 75 00:03:37,040 --> 00:03:41,740 when you right‑click a disk, there is no indication about data deduplication. 76 00:03:41,740 --> 00:03:44,530 You actually have to go up here to volumes, 77 00:03:44,530 --> 00:03:48,380 and then for the volume in question, you'll see what I mean in just a second. 78 00:03:48,380 --> 00:03:49,300 There is our dedup. 79 00:03:49,300 --> 00:03:51,100 We already have it enabled there, 80 00:03:51,100 --> 00:03:54,460 but we can right‑click Configure Data Deduplication, 81 00:03:54,460 --> 00:03:58,540 but for a volume that we do not have dedup enabled on yet, 82 00:03:58,540 --> 00:04:00,000 we can do the same thing. 83 00:04:00,000 --> 00:04:02,940 Right‑click, Configure Data Deduplication, 84 00:04:02,940 --> 00:04:06,440 and it brings us to that very same interface that we saw before. 85 00:04:06,440 --> 00:04:10,220 So I'll choose my mode, my older than, my extensions, 86 00:04:10,220 --> 00:04:12,740 my extension exclusions, set a schedule, 87 00:04:12,740 --> 00:04:16,510 it looks like it's picking up the defaults from my previous choice, 88 00:04:16,510 --> 00:04:23,000 and then OK to put that into effect. That's all there is to it in terms of data deduplication.