Skip to content

Instantly share code, notes, and snippets.

View tanabarr's full-sized avatar
💭
working on daos.io

Tom Nabarro tanabarr

💭
working on daos.io
View GitHub Profile
@tanabarr
tanabarr / cvimrc
Created January 10, 2016 18:18
cVimrc configuration snippet to create and display link hints on page load
" when pages are loaded, automatically create and display link hints
site '*://*/*' {
call createHint
}
@tanabarr
tanabarr / LustreErrors.txt
Created June 28, 2017 19:48
LustreError on lotus-58vm5 from SSI test run
[root@lotus-58vm5 ~]# cat /var/log/messages| grep LustreError
Jun 28 04:18:32 lotus-58vm5.lotus.hpdd.lab.intel.com kernel: LustreError: 137-5: testfs-OST0001_UUID: not available for connect from 0@lo (no target). If you are running an HA pair check that the target is mounted on the other server.
Jun 28 04:19:22 lotus-58vm5.lotus.hpdd.lab.intel.com kernel: LustreError: 137-5: testfs-OST0001_UUID: not available for connect from 0@lo (no target). If you are running an HA pair check that the target is mounted on the other server.
Jun 28 04:20:12 lotus-58vm5.lotus.hpdd.lab.intel.com kernel: LustreError: 137-5: testfs-OST0001_UUID: not available for connect from 0@lo (no target). If you are running an HA pair check that the target is mounted on the other server.
Jun 28 04:21:02 lotus-58vm5.lotus.hpdd.lab.intel.com kernel: LustreError: 137-5: testfs-OST0001_UUID: not available for connect from 0@lo (no target). If you are running an HA pair check that the target is mounted on the other server.
Jun 28 04:22:17 lotus-
@tanabarr
tanabarr / messages.txt
Created June 30, 2017 10:21
kernel messages showing LustreErrors related to DNE failed mount of MDT
Jun 30 01:55:03 lotus-52vm5.lotus.hpdd.lab.intel.com kernel: LDISKFS-fs (sdc): mounted filesystem with ordered data mode. Opts: errors=remount-ro
Jun 30 01:55:03 lotus-52vm5.lotus.hpdd.lab.intel.com kernel: LDISKFS-fs (sdc): mounted filesystem with ordered data mode. Opts: user_xattr,errors=remount-ro,no_mbcache,nodelalloc
Jun 30 01:55:03 lotus-52vm5.lotus.hpdd.lab.intel.com kernel: LDISKFS-fs (sde): mounted filesystem with ordered data mode. Opts: errors=remount-ro
Jun 30 01:55:03 lotus-52vm5.lotus.hpdd.lab.intel.com kernel: LDISKFS-fs (sde): mounted filesystem with ordered data mode. Opts: user_xattr,errors=remount-ro,no_mbcache,nodelalloc
Jun 30 01:55:04 lotus-52vm5.lotus.hpdd.lab.intel.com kernel: Lustre: srv-testfs-MDT0001: No data found on store. Initialize space
Jun 30 01:55:04 lotus-52vm5.lotus.hpdd.lab.intel.com kernel: Lustre: testfs-MDT0001: new disk, initializing
Jun 30 01:55:04 lotus-52vm5.lotus.hpdd.lab.intel.com kernel: Lustre: testfs-MDT0001: Imperative Recovery not enabled, recovery window 30
@tanabarr
tanabarr / messages2.txt
Created June 30, 2017 10:33
kernel messages showing LustreErrors related to DNE failed mount of MDT
Jun 30 02:06:44 lotus-52vm5.lotus.hpdd.lab.intel.com kernel: LDISKFS-fs (sdc): mounted filesystem with ordered data mode. Opts: errors=remount-ro
Jun 30 02:06:44 lotus-52vm5.lotus.hpdd.lab.intel.com kernel: LDISKFS-fs (sde): mounted filesystem with ordered data mode. Opts: errors=remount-ro
Jun 30 02:06:44 lotus-52vm5.lotus.hpdd.lab.intel.com kernel: LDISKFS-fs (sde): mounted filesystem with ordered data mode. Opts: user_xattr,errors=remount-ro,no_mbcache,nodelalloc
Jun 30 02:06:44 lotus-52vm5.lotus.hpdd.lab.intel.com kernel: LDISKFS-fs (sdc): mounted filesystem with ordered data mode. Opts: user_xattr,errors=remount-ro,no_mbcache,nodelalloc
Jun 30 02:06:44 lotus-52vm5.lotus.hpdd.lab.intel.com kernel: LDISKFS-fs (sdb): mounted filesystem with ordered data mode. Opts: errors=remount-ro
Jun 30 02:06:44 lotus-52vm5.lotus.hpdd.lab.intel.com kernel: Lustre: srv-testfs-MDT0001: No data found on store. Initialize space
Jun 30 02:06:45 lotus-52vm5.lotus.hpdd.lab.intel.com kernel: Lustre: testfs-MDT0001: new disk, ini
@tanabarr
tanabarr / messages3.txt
Created June 30, 2017 10:43
kernel messages showing LustreErrors related to DNE failed mount of MDT
Jun 29 08:14:05 lotus-32vm7.lotus.hpdd.lab.intel.com kernel: LDISKFS-fs (sdd): mounted filesystem with ordered data mode. Opts: errors=remount-ro
Jun 29 08:14:05 lotus-32vm7.lotus.hpdd.lab.intel.com kernel: LDISKFS-fs (sda): mounted filesystem with ordered data mode. Opts: errors=remount-ro
Jun 29 08:14:05 lotus-32vm7.lotus.hpdd.lab.intel.com kernel: LDISKFS-fs (sdc): mounted filesystem with ordered data mode. Opts: errors=remount-ro
Jun 29 08:14:05 lotus-32vm7.lotus.hpdd.lab.intel.com kernel: LDISKFS-fs (sde): mounted filesystem with ordered data mode. Opts: errors=remount-ro
Jun 29 08:14:06 lotus-32vm7.lotus.hpdd.lab.intel.com kernel: LDISKFS-fs (sdb): file extents enabled, maximum tree depth=5
Jun 29 08:14:06 lotus-32vm7.lotus.hpdd.lab.intel.com kernel: LDISKFS-fs (sdb): mounted filesystem with ordered data mode. Opts: errors=remount-ro
Jun 29 08:14:12 lotus-32vm7.lotus.hpdd.lab.intel.com dhclient[674]: DHCPREQUEST on eth0 to 192.168.0.253 port 67 (xid=0x5b13ae41)
Jun 29 08:14:14 lotus-32vm7.lotus.hpdd.lab
@tanabarr
tanabarr / spdk_nvme_identify.out
Created August 14, 2018 13:34
example spdk output for identifying nvme device
=====================================================
NVMe Controller at 0000:81:00.0 [8086:2701]
=====================================================
Controller Capabilities/Features
================================
Vendor ID: 8086
Subsystem Vendor ID: 8086
Serial Number: PHKS7335006W375AGN
Model Number: INTEL SSDPED1K375GA
Firmware Version: E2010324
@tanabarr
tanabarr / daos_server startup
Created March 4, 2019 05:44
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
@tanabarr
tanabarr / srv.c
Created March 12, 2019 16:09
src/mgmt/srv.c
63 static void
64 mgmt_drpc_handler(Drpc__Call *request, Drpc__Response **response)
65 {
66 Drpc__Response *drpc_resp = NULL;
67 // size_t len = 0;
68
69 D_ALLOC_PTR(drpc_resp);
70 if (drpc_resp == NULL) {
71 D_ERROR("Failed to allocate drpc response\n");
72 return;
[samirrav@wolf-73 daos]$ opt/ompi/bin/orterun -np 1 -H localhost --enable-recovery install/bin/daos_server -c 1 -o /home/samirrav/daos/utils/config/examples/daos_server_sockets.yml
2019/03/15 22:53:59 config.go:85: debug: DAOS config read from /home/samirrav/daos/utils/config/examples/daos_server_sockets.yml
2019/03/15 22:53:59 config.go:121: debug: Active config saved to /home/samirrav/daos/utils/config/examples/.daos_server.active.yml (read-only)
EAL: Detected 88 lcore(s)
Starting SPDK v18.07-pre / DPDK 18.02.0 initialization...
[ DPDK EAL parameters: spdk -c 0x1 --file-prefix=spdk628389807 --base-virtaddr=0x200000000000 --proc-type=auto ]
EAL: Auto-detected process type: PRIMARY
EAL: No free hugepages reported in hugepages-1048576kB
EAL: No free hugepages reported in hugepages-2048kB
EAL: FATAL: Cannot get hugepage information.
[tanabarr@ssh-1 ~]$ projects/daos_m/install/bin/daos_shell --help
Usage:
daos_shell [OPTIONS] [command]
Application Options:
-l, --hostlist= comma separated list of addresses <ipv4addr/hostname:port> (default: localhost:10001)
-f, --hostfile= path of hostfile specifying list of addresses <ipv4addr/hostname:port>, if specified
takes preference over HostList
-o, --config-path= Client config file path