Set-PhysicalDisk -MediaType XXXX -UniqueId abcdefgh --- Reverts after restart.

Justin Fox 6 Reputation points
2020-12-30T22:35:10.207+00:00

I'm trying to setup a 2-node WFC with S2D. My disks show as mediatype unspecified. When I run the Set-PhysicalDisk command to set the disks to SSD, this works. But after a restart, the mediatype returns to 'Unspecified'.

I'm using Windows Server 2019 Datacenter on VMware vSphere 6.7.

How can I get this change to hold even after a restart?

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,849 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,486 questions
Windows Server Clustering
Windows Server Clustering
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Clustering: The grouping of multiple servers in a way that allows them to appear to be a single unit to client computers on a network. Clustering is a means of increasing network capacity, providing live backup in case one of the servers fails, and improving data security.
1,017 questions
{count} vote

3 answers

Sort by: Most helpful
  1. Xiaowei He 9,911 Reputation points
    2021-01-04T08:50:36.793+00:00

    Hi,

    I noticed we use VMWare, then do we connect the pass-through disks to the VMs?

    As far as I know, the MediaType should be recognized automatically, if we used pass-through disks, please check if it is supported to connected the SSD physical disk to VMWare VM directly.

    Best Regards,
    Anne

    0 comments No comments

  2. Yusuf Anis 0 Reputation points Microsoft Employee
    2024-12-22T13:25:20.2466667+00:00

    While you change the MediaType, it switches back after restart.

    But if the disks are added to the pool, it remains like that after restart..

    0 comments No comments

  3. Yusuf Anis 0 Reputation points Microsoft Employee
    2024-12-22T13:26:21.76+00:00

    User's image

    Once you add the disk to StorageSpaces, it remains like that.

    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.