Jump to content
RESET Forums (homeservershow.com)

radaxian
 Share

Recommended Posts

  • 1 year later...

Just a quick update...

 

A few changes have been made.

 

I have upgraded the server to Windows Server 2022 eval

 

The BIOS is now set to AHCI instead of RAID

The trick to AHCI mode is to simply boot off a USB stick to GRUB2 (Ubuntu Desktop), then let it default to booting Windows off the SSD. It's important to use a USB stick as the first boot device when in AHCI mode as this allows you to boot to USB --> SSD properly. 

 

So storage spaces seems to be the same in Windows Server 2022 and 2019 but it can't hurt to upgrade.

 

 

Open PowerShell as Administrator

 

Create the pool

New-StoragePool -FriendlyName Poolname -StorageSubSystemFriendlyName "Windows Storage on servername" -PhysicalDisks $physicaldisks -LogicalSectorSizeDefault 4096

 

NOTE: Setting the LogicalSectorSizeDefault to 4096 or 512 really depends on the files you store. if you store large media files, then 4096 works best.

 

Create the Virtual Disk

New-VirtualDisk -StoragePoolFriendlyName "Poolname" -FriendlyName "VDisk" -ResiliencySettingName Parity -NumberOfDataCopies 1 -NumberOfColumns 4 -ProvisioningType Fixed -Interleave 256KB -UseMaximumSize | Initialize-Disk -PassThru

 

 

Create the Volume in the GUI if you prefer here. Same steps as above post. I like REFS at 64K

 

Enable disk Write Cache on each of the four HDD (You can only do this properly in AHCI mode)

  • Press Win +X
  • Device Manager
  • Expand Disk Drives
  • Right click the first HDD, select Properties
  • Click Policies
  • Check "Better Performace"
  • Check "Enable write caching on the device"
    • If you also check "Turn off windows write cache buffer flushing" then this is what actually sets the IsPowerProtected status to True
      • It's risky to do this if you don't have a UPS or proper mains power backup as data loss can occur.
  • Click OK
  • Repeat that for all 4 HDD

 

Set Power Protect on

Set-StoragePool -FriendlyName Poolname -IsPowerProtected $True

 

Check your cache settings (IsPowerProtected IsDeviceCacheEnabled)

Get-PhysicalDisk | Get-StorageAdvancedProperty

IsPowerProtected - should be True

IsDeviceCacheEnabled  - should be True

 

 

Results - See attached screen shot for DiskMark performance.

 

 

image.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...