Data Deduplication on Volume with friendly name

John Kay 21 Reputation points
2021-09-28T22:14:12.767+00:00

I am trying to disable data deduplication on a storage spaces direct server and I've disabled it on the windows admin center but I believe I need to run a command "Start-DedupJob -type Unoptimization -Volume X -Full" which I don't have a drive letter for the volume, only a friendly name. How would I disabled this for the FriendlyName FSLogix?

PS C:\Windows\system32> Get-Volume

DriveLetter FriendlyName FileSystemType DriveType HealthStatus OperationalStatus SizeRemaining Size


C NTFS Fixed Healthy OK 330.52 GB 371.4 GB
Recovery NTFS Fixed Healthy OK 481.29 MB 499 MB
FAT32 Fixed Healthy OK 69.18 MB 95 MB
FSLogix CSVFS_ReFS Fixed Healthy OK 1.07 TB 2.5 TB
ClusterPerformanceHistory ReFS Fixed Healthy OK 10.7 GB 11.94 GB

Thank you

Windows Server Storage
Windows Server Storage
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Storage: The hardware and software system used to retain data for subsequent retrieval.
659 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. John Kay 21 Reputation points
    2021-09-29T02:46:09.19+00:00

    I think I found out how to get the volume as it's referenced by c:\xxxx\xxxx

    However I'm still seeing PID 4 processes with dedup running, how can I completely stop it from running and get rid of it?

    Here are some things I see

    PS C:\Windows\system32> Get-DedupSchedule

    Enabled Type StartTime Days Name


    False Optimization BackgroundOptimization
    True GarbageCollection 2:45 AM Saturday WeeklyGarbageCollection
    True Scrubbing 3:45 AM Saturday WeeklyScrubbing

    PS C:\Windows\system32> Get-DedupJob
    PS C:\Windows\system32> Get-DedupMetadata

    Volume : C:\ClusterStorage\FSLogix
    VolumeId : \?\Volume{09ea6d33-b63b-452d-ab1c-d37d3cebfa3a}\
    StoreId : {A29B426A-05B3-499F-B1FD-9780E3BB5C0B}
    DataChunkCount : 19014267
    DataContainerCount : 1111
    DataChunkAverageSize : 61 KB
    DataChunkMedianSize : 0 B
    DataStoreUncompactedFreespace : 0 B
    StreamMapChunkCount : 2742
    StreamMapContainerCount : 24
    StreamMapAverageDataChunkCount :
    StreamMapMedianDataChunkCount :
    StreamMapMaxDataChunkCount :
    HotspotChunkCount : 23104
    HotspotContainerCount : 2
    HotspotMedianReferenceCount :
    CorruptionLogEntryCount : 0

    PS C:\Windows\system32> Get-DedupStatus

    FreeSpace SavedSpace OptimizedFiles InPolicyFiles Volume


    1.07 TB 0 B 337 180 C:\ClusterStorage\FSLogix

    Thank you

    0 comments No comments

  2. Limitless Technology 39,721 Reputation points
    2021-09-29T13:48:45.057+00:00

    Hello,

    Thank you for your question.

    Based on my understanding, to turn off Data Deduplication for the volume, we need to run the UnOptimization job first. Then you could disable DedupVolume

    Also , We have a similar subject with a problem similar to this, I recommend that you consult it to better understand how to solve it, go to it on the link below:

    https://social.technet.microsoft.com/Forums/ie/en-US/d48f27cd-f932-43af-a854-3552b09c9252/best-practice-disable-or-remove-deduplication-on-a-volume?forum=winserverfiles


    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.