FYI, I followed the blog article,
then once the machine was "running" I clicked Connect at the bottom.
That gave me an .rdp file which in theory I could use with rdesktop, but it uses a DNS name that was only just created, so that didn't work.
When you click the name of the server in the list, it shows the public IP on the right.. and the port
then you can do this
$ rdesktop that.ip.addr:port
But only if you have the latest rdesktop AND you have set up kerberos something-something.
Instead I found a windows computer and used remote desktop from there.
---
Once inside,
in the "Server Manager --> Dashboard" window on the screen, click "Add Roles"
then go next next until "Server Roles"
expand "File and Storage services" , "File and iSCSI" , and tick "Data Deduplication"
Then next next etc and Install.
Wait a bit... and its done.
---
Continuing on that webpage...
Time to enable dedup. There is a temp disk D: so lets enable there.
Method 1... I did this and then went to method 2... Start PowerShell, type: "Enable-DedupVolume D:"
Method 2... in that same Dashboard, hit the 4th button (File and Storage Services)
Then Volumes --> Disks
click Volume 1 at the top, and then right click D: at the bottom --> Configure Dedup.
To try and accelerate this puppy, I set the "age to dedup" to 0 days.
---
Time to make something to dedup. We'll just duplicate the warning.txt file that exists on D:
In powershell:
PS> D:
PS> $file = Get-Content DATALOSS_WARNING_README.txt
Then, do these 2 commands a bunch of times until "big.txt" gets to say 6MB
PS> Add-Content big.txt $file
PS> $file = Get-Content big.txt
Then use windows explorer (or other) to make a dozen copies of big.txt
Copy c:\windows\explorer.exe to D:
to give it something to dedup
Go to D: and then copy-paste explorer.exe a dozen times.
In PowerShell, type:
PS> Update-DedupStatus -Volume D:
PS> Start-DedupStatus -Type Optimization -Volume D:
and then wait for it to finish.
you can track its progress with:
PS> Get-DedupJob
PS> Get-DedupStatus -Volume D:
---
So, once its deduped, you check.
PS> FSUTIL REPARSEPOINT QUERY big.txt
you should see that its a reparse point with that 0x800etc0013 code.
Copy-paste big.txt to big2.txt and check it with the query, and it should tell you big2 is NOT a reparse point.
NOW TO TEST !
----