Skip to content

mysysadmin/node-disktopo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-disktopo

node-disktopo is a Node.js addon that interfaces to libtopo allowing node programs to
to receive disk topologies.

Status

If you have JBODs with disks it should return your topology.

Platform

This should work on Solaris and derivatives

Installation/Configuration

% node-waf configure
% node-waf build

API

There is one function implemented
list()

EXAMPLES

Try it with ./topo.js

BUILD

I was not able to use it without relocation errors with a default
node-waf build

g++ -I/usr/local/include/node -o disktopo.node ../../disktopo.cc -fPIC -DPIC -shared -L/usr/lib/fm -R/usr/lib/fm -ltopo -L/usr/local/lib

About

Receive your disk topology via node if you have jbods

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published