• Spinning Down the Hard Drives in Fedora

    Last few days, my computers have been without their covers - what with all the reinstallations/upgrades etc, etc. During this time I noticed that the hard dives get unbearable hot. I was using a couple of hard drive coolers but recently found that their fans had been completely toasted. In one of even the fan blades were falling off. Fans definitely isn’t the way to go if you want to preserve the life of your hard drives. I did suffer a hard drive failure recently and most definitely want to preserve their lives. I thought of spinning them down when not in use. And came across spindown

    sg3_utils is supposedly the only dependency but when I tried to compile it, there was an error

    g++ -O1 -pthread -c src/diskset.cpp
    In file included from /usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../include/c++/4.3.0/ios:44,
    from /usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../include/c++/4.3.0/istream:45,
    from /usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../include/c++/4.3.0/fstream:45,
    from src/diskset.h:31,
    from src/disk.h:33,
    from src/diskset.cpp:23:
    /usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../include/c++/4.3.0/iosfwd:45:28: error: bits/c++config.h: No such file or directory
    In file included from /usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../include/c++/4.3.0/ios:47,
    from /usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../include/c++/4.3.0/istream:45,
    from /usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../include/c++/4.3.0/fstream:45,
    from src/diskset.h:31,
    from src/disk.h:33,
    from src/diskset.cpp:23:

    This was recitified by installing libstdc++-devel but even then after installation the daemon wouldn’t start. I reckon this might have something to do with upstart - that notoriously badly documented replacement for init in Fedora 9.

    Starting spindownd daemon… /etc/init.d/spindown: line 91: start-stop-daemon: command not found

    To solve this problem, I had to manually edit the init scripts. If you want a copy, drop me a line.

    Saturday, October 11th, 2008 at 13:26
No comments yet.

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
TOP