Hey,
Depending on your goals (it would be great to hear detailed explanation), you can use various solutions. In case one server is used as a storage one and other should connect it you can deploy SMB file share on a storage server:
https://learn.microsoft.com/en-us/windows-server/storage/file-server/file-server-smb-overview
Or you can use it as a iSCSI server. StarWind VSAN free can be used to create iSCSI target and connect it to the other server:
https://www.starwindsoftware.com/help/CreatingaNewImageFileDevice.html
Another option is to create a HA file server between both servers:
https://www.starwindsoftware.com/resource-library/starwind-virtual-san-for-hyper-v-2-node-hyperconverged-scenario-with-windows-server-2016/#43a7eaf4b5519b31dd06d56e6cd01d39021e39fb
Cheers,
Alex Bykvoskyi
StarWind Software
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.