Hi,
You can quickly check if you have your system configured properly by running the following PowerShell script (assuming you've built PMDK from source):
# path to the DAX-enabled volume
$PMEMPATH = "p:\"
# path to pmemdetect utility in PMDK repo
$PMEMDETECT = "c:\github\pmdk\src\x64\Debug\pmemdetect.exe"
# path to the log file
$Env:PMEM_LOG_FILE = "c:\temp\pmemdetect.log"
$Env:PMEM_LOG_LEVEL = 4
$Env:PMEM_IS_PMEM_FORCE = 0
$Global:LASTEXITCODE = 0
& $PMEMDETECT $PMEMPATH
echo $Global:LASTEXITCODE
if ($Global:LASTEXITCODE -eq 0) {
Write-output "'$PMEMPATH' points to DAX-enabled file system"
} else {
Write-output "'$PMEMPATH' does NOT point to DAX-enabled file system"
}
# uncomment next line to print libpmem log
# Get-Content $Env:PMEM_LOG_FILE
K.
--
You received this message because you are subscribed to the Google Groups "pmem" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
pmem+uns...@googlegroups.com.
To post to this group, send email to pm...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/pmem/222e26c4-46c8-46b2-b988-388637b05496%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.