Not able to run iometer dynamo

    • Resolved
    • OMV 1.0

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Not able to run iometer dynamo

      I've done bench-marking with iometer before for work, and wanted to test how my Poweredge R510 server faired against IOmeter. Being linux, I figured I'd install the dynamo binary on OMV, then connect to it via windows and run my tests. This appears to be impossible, unless I'm doing something wrong.

      First, I tried running it, but the mount had a "noexec" flag, not allowing binaries to be ran, so I remounted my volume with the noexec removed.

      Source Code

      1. root@R510-OMV-MEDIA:/media/c0c3cda3-c41d-4fb1-b8ea-a1e60d187f4a/test/iometer-2006_07_27.linux.i386-bin/src# ls
      2. dynamo iomtr_kstat scripts
      3. root@R510-OMV-MEDIA:/media/c0c3cda3-c41d-4fb1-b8ea-a1e60d187f4a/test/iometer-2006_07_27.linux.i386-bin/src# ./dynamo
      4. -bash: ./dynamo: Permission denied


      after remounting it with the noexec flag removed:

      Source Code

      1. root@R510-OMV-MEDIA:/media/c0c3cda3-c41d-4fb1-b8ea-a1e60d187f4a/test/iometer-2006_07_27.linux.i386-bin/src# ./dynamo
      2. -bash: ./dynamo: No such file or directory


      I've never seen this "no such file or directory" message when trying to run a binary, and linux isn't my strong point, anyone know how to get this running?
    • tekkb,

      The binary is executable already:

      root@R510-OMV-MEDIA:/media/c0c3cda3-c41d-4fb1-b8ea-a1e60d187f4a/test/iometer-2006_07_27.linux.i386-bin/src# ls -la
      total 132
      drwxrwsrwx 4 root root 4096 Sep 29 2006 .
      drwxrwsr-x 3 500 500 4096 Sep 29 2006 ..
      -rwxrwxrwx 1 root root 117864 Sep 29 2006 dynamo
      drwxrwsr-x 2 root root 4096 Sep 29 2006 iomtr_kstat
      drwxrwsr-x 2 root root 4096 Sep 29 2006 scripts


      I work for a storage company that makes physical and virtual appliances running deb5 and 7, and have used dynamo on them with success for customers who wanted to benchmark their storage solutions, so I know this version is compatible, but I'm wondering perhaps if maybe a dependancy is missing or something... here is some more information:

      Source Code

      1. /src# file dynamo
      2. dynamo: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped


      Source Code

      1. /src# strace ./dynamo
      2. execve("./dynamo", ["./dynamo"], [/* 15 vars */]) = -1 ENOENT (No such file or directory)
      3. dup(2) = 3
      4. fcntl(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
      5. fstat(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
      6. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8083512000
      7. lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
      8. write(3, "strace: exec: No such file or di"..., 40strace: exec: No such file or directory
      9. ) = 40
      10. close(3) = 0
      11. munmap(0x7f8083512000, 4096) = 0
      12. exit_group(1) = ?
      Display All



      judging by stackoverflow.com/questions/27…r-when-executing-a-binary this may be becuase it's a 32bit binary, and the OMV install is 64 bit.

      I'm investigating further.
    • after downloading elfutils and running eu-readelf -a ./dynamo, i got a similar answer as the post above, so now i've made progress:

      Source Code

      1. root@R510-OMV-MEDIA:/media/c0c3cda3-c41d-4fb1-b8ea-a1e60d187f4a/test/iometer-2006_07_27.linux.i386-bin/src# ./dynamo
      2. ./dynamo: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory


      progress.
    • Success

      apt-get install lib32stdc++6

      Source Code

      1. root@R510-OMV-MEDIA:/media/c0c3cda3-c41d-4fb1-b8ea-a1e60d187f4a/test/iometer-2006_07_27.linux.i386-bin/src# ./dynamo
      2. Fail to open kstat device file. You can ignore this warning
      3. unless you are running dynamo on XSCALE CPU.
      4. Sending login request...
      5. R510-OMV-MEDIA
      6. 127.0.1.1 (port 53094)



      for anyone else trying this, you need the following:

      Source Code

      1. apt-get install libc6-i386 lib32stdc++6


      and you have to use the 2006 version of iometer, as the newer 1.1 version is compiled against glibc 2.14 and 2.15, which aren't in this release (not sure how to get them)

      If anyone can figure out the 1.1.0 iometer issues (needing glibc 2.14 & 2.15), you need to run the following:

      Source Code

      1. apt-get install libaio1 libaio-dev