Difference between revisions of "Windows pool"

From OpenZFS on OS X
Jump to: navigation, search
m (zpool create)
(zpool create)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== zpool create ==
 
== zpool create ==
  
Creating a pool for use with Windows, it is recommended to use '''casesensitivity=insensitive''' as it has better compatibility.
+
Creating a pool for use with Windows, it is recommended to use '''casesensitivity=insensitive''' and ''' normalization=formD''' as it has better compatibility.
 +
 
 +
The ZFS commands need to be run as '''Administrator''' so start your favourite shell, be it ''bash'' or ''CMD.exe'' and start it with "Run as Administrator".
  
 
For example:
 
For example:
 +
# Powershell
 +
Get-WmiObject Win32_DiskDrive
 +
 
  # List Disks available
 
  # List Disks available
 
  wmic diskdrive list brief   
 
  wmic diskdrive list brief   
 
   
 
   
 
  # Create pool on disk 1 named tank.
 
  # Create pool on disk 1 named tank.
  zpool.exe create -O casesensitivity=insensitive -O compression=lz4 -O atime=off -o ashift=12 tank PHYSICALDRIVE1
+
  zpool.exe create -O casesensitivity=insensitive -O normalization=formD -O compression=lz4 -O atime=off -o ashift=12 tank PHYSICALDRIVE1

Latest revision as of 13:35, 1 April 2025

zpool create[edit]

Creating a pool for use with Windows, it is recommended to use casesensitivity=insensitive and normalization=formD as it has better compatibility.

The ZFS commands need to be run as Administrator so start your favourite shell, be it bash or CMD.exe and start it with "Run as Administrator".

For example:

# Powershell
Get-WmiObject Win32_DiskDrive
# List Disks available
wmic diskdrive list brief   

# Create pool on disk 1 named tank.
zpool.exe create -O casesensitivity=insensitive -O normalization=formD -O compression=lz4 -O atime=off -o ashift=12 tank PHYSICALDRIVE1