Skip to content

Instantly share code, notes, and snippets.

@tanabarr
Created March 4, 2019 05:44
Show Gist options
  • Save tanabarr/95a8d65b0f645124ad39fde194b21866 to your computer and use it in GitHub Desktop.
Save tanabarr/95a8d65b0f645124ad39fde194b21866 to your computer and use it in GitHub Desktop.
configuration and start-up of daos_server
[tanabarr@boro-45 daos_m]$ git diff
diff --git a/utils/config/examples/daos_server_sockets.yml b/utils/config/examples/daos_server_sockets.yml
index 7587919..0a79602 100644
--- a/utils/config/examples/daos_server_sockets.yml
+++ b/utils/config/examples/daos_server_sockets.yml
@@ -38,7 +38,7 @@ servers:
# If using NVMe SSD (will write /mnt/daos/daos_nvme.conf and start I/O
# service with -n <path>)
bdev_class: nvme
- bdev_list: ["0000:81:00.0"] # generate regular nvme.conf
+ bdev_list: [] # generate regular nvme.conf
# If emulating NVMe SSD with malloc devices
# bdev_class: malloc # map to VOS_BDEV_CLASS=MALLOC
[tanabarr@boro-45 daos_m]$ sudo umount /mnt/daos && rm -rf /mnt/daos && mkdir /mnt/daos && sudo mount -t tmpfs -o size=64G tmpfs /mnt/daos
[tanabarr@boro-45 daos_m]$ orterun -np 1 -H localhost --enable-recovery daos_server -c 1 -d ./ -o /home/tanabarr/projects/daos_m/utils/config/examples/daos_server_sockets.yml
2019/03/04 03:47:27 config.go:85: debug: DAOS config read from /home/tanabarr/projects/daos_m/utils/config/examples/daos_server_sockets.yml
Starting SPDK v18.07-pre / DPDK 18.02.0 initialization...
[ DPDK EAL parameters: spdk -c 0x1 --file-prefix=spdk93104493 --base-virtaddr=0x200000000000 --proc-type=auto ]
EAL: Detected 72 lcore(s)
EAL: Auto-detected process type: PRIMARY
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Multi-process socket /home/tanabarr/.spdk93104493_unix
EAL: Probing VFIO support...
EAL: PCI device 0000:81:00.0 on NUMA socket 1
EAL: probe driver: 8086:2701 spdk_nvme
DAOS I/O server (v0.0.2) process 1810 started on rank 0 (out of 1) with 1 target xstream set(s).
<...next tty...>
[tanabarr@boro-45 daos_m]$ cat /tmp/daos_control.log
2019/03/04 03:47:27 config.go:121: debug: Active config saved to /home/tanabarr/projects/daos_m/utils/config/examples/.daos_server.active.yml (read-only)
2019/03/04 03:47:32 iosrv.go:83: debug: format server /mnt/daos (createMS=false bootstrapMS=false)
2019/03/04 03:47:32 main.go:226: debug: DAOS server listening on 0.0.0.0:10001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment