Last active
September 12, 2019 14:00
-
-
Save tanabarr/fd3d1b7321714e6648df44e460fd2b45 to your computer and use it in GitHub Desktop.
Using daos_server to prepare local SCM/DCPM modules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@wolf-72 daos_m]# daos_server storage prepare --debug | |
bash: daos_server: command not found | |
[root@wolf-72 daos_m]# source scons_local/utils/setup_local.sh | |
/home/tanabarr/projects/daos_m | |
Build vars file found: ./.build_vars.sh | |
OLD_PATH is /usr/lib64/qt-3.3/bin /usr/local/bin /usr/bin /usr/local/sbin /usr/sbin /usr/lib/go-1.10/bin /usr/local/go/bin /usr/local/go/bin /home/tanabarr/bin /usr/lib/go-1.10/bin /usr/local/go/bin /usr/local/go/bin | |
[root@wolf-72 daos_m]# daos_server storage prepare --debug | |
DEBUG 13:54:28.030669 ctl_storage.go:98: spdk setup with _NRHUGE=1024 | |
DEBUG 13:54:28.033110 ctl_storage.go:98: spdk setup with _TARGET_USER=root | |
Preparing locally-attached SCM... | |
DEBUG 13:54:34.672053 ctl_storage.go:129: show region output: | |
There are no Regions defined in the system. | |
Memory allocation goals for SCM will be changed and namespaces modified, this will be a destructive operation. Please ensure namespaces are unmounted and locally attached SCM & NVMe devices are not in use. Please be patient as it may take several minutes and subsequent reboot maybe required. | |
Are you sure you want to continue? (yes/no) | |
yes | |
DEBUG 13:54:46.278465 storage_scm.go:89: scm in state ScmStateNoRegions | |
A reboot is required to process new memory allocation goals. | |
[root@wolf-72 daos_m]# [ | |
<reboot> | |
[root@wolf-72 daos_m]# source scons_local/utils/setup_local.sh | |
/home/tanabarr/projects/daos_m | |
Build vars file found: ./.build_vars.sh | |
OLD_PATH is /usr/lib64/qt-3.3/bin /usr/local/bin /usr/bin /usr/local/sbin /usr/sbin /usr/lib/go-1.10/bin /usr/local/go/bin /usr/local/go/bin /home/tanabarr/bin /usr/lib/go-1.10/bin /usr/local/go/bin /usr/local/go/bin | |
[root@wolf-72 daos_m]# daos_server storage prepare --debug | |
Preparing locally-attached NVMe storage... | |
DEBUG 13:05:49.680324 ctl_storage.go:98: spdk setup with _NRHUGE=1024 | |
DEBUG 13:05:49.683627 ctl_storage.go:98: spdk setup with _TARGET_USER=root | |
Preparing locally-attached SCM... | |
DEBUG 13:05:57.377422 ctl_storage.go:129: show region output: | |
---ISetID=0x12d27f4828ef2ccc--- | |
PersistentMemoryType=AppDirect | |
FreeCapacity=3012.0 GiB | |
---ISetID=0x81187f4881f02ccc--- | |
PersistentMemoryType=AppDirect | |
FreeCapacity=3012.0 GiB | |
DEBUG 13:05:57.377508 storage_scm.go:89: scm in state ScmStateFreeCapacity | |
creating SCM namespace, may take a few minutes... | |
DEBUG 13:06:45.041481 storage_scm_prep.go:306: show region output: | |
---ISetID=0x12d27f4828ef2ccc--- | |
PersistentMemoryType=AppDirect | |
FreeCapacity=3012.0 GiB | |
---ISetID=0x81187f4881f02ccc--- | |
PersistentMemoryType=AppDirect | |
FreeCapacity=0.0 GiB | |
creating SCM namespace, may take a few minutes... | |
DEBUG 13:07:42.627898 storage_scm_prep.go:306: show region output: | |
---ISetID=0x12d27f4828ef2ccc--- | |
PersistentMemoryType=AppDirect | |
FreeCapacity=0.0 GiB | |
---ISetID=0x81187f4881f02ccc--- | |
PersistentMemoryType=AppDirect | |
FreeCapacity=0.0 GiB | |
persistent memory kernel devices: | |
[{UUID:78094847-0387-4e32-82cf-452de731d2ce Blockdev:pmem1 Dev:namespace1.0 NumaNode:1} {UUID:046f5ce0-2f1a-4166-a3b9-e3aba17857a7 Blockdev:pmem0 Dev:namespace0.0 NumaNode:0}] | |
[root@wolf-72 daos_m]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment