Announcement

Collapse
No announcement yet.

Hddtemp daemon and sata-drives in the Feisty

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hddtemp daemon and sata-drives in the Feisty

    Feisty has hddtemp_0.3-beta15-33_i386.deb.

    If you try hddtemp with sata it tells:
    Code:
    :~$ hddtemp /dev/sda
    /dev/sda: WDC WD2500JS-00MHB0           �: drive is sleeping
    From man hddtemp:
    -w, --wake-up
    Wake-up the drive if needed (ATA drives only).
    So:
    Code:
    :~$ hddtemp -w /dev/sda
    /dev/sda: WDC WD2500JS-00MHB0           �: 42°C
    Daemon settings are in the /etc/default/hddtemp. There should be:
    Code:
    # Other options to pass to hddtemp
    OPTIONS="-w"
    Reconfiguring hddtemp daemon:
    Code:
    sudo dpkg-reconfigure hddtemp
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    #2
    Re: Hddtemp daemon and sata-drives in the Feisty

    Interesting -- thanks. I was intrigued, so I installed hddtemp and ran it. I got a different result:

    dibl@feisty:~$ hddtemp /dev/sdb
    /dev/sdb: open: Permission denied

    dibl@feisty:~$ sudo hddtemp /dev/sdb
    /dev/sdb: WDC WD1500AHFD-00RAR1 �: 36°C

    I guess mine wants to be run only by the Super User. No worries, that would be me!

    Comment


      #3
      Re: Hddtemp daemon and sata-drives in the Feisty

      Cool! Thanks! Yes, I had to use SUDO my self. Not a problem though.

      Comment


        #4
        Re: Hddtemp daemon and sata-drives in the Feisty

        Hmm - strange - Do you have 0.3-beta15-33 ?
        Do i have sleepy drives ?


        run only by the Super User
        That's becausesudo dpkg-reconfigure hddtemp)
        You have the option of installing hddtemp with the SUID bit set.

        If you make hddtemp SUID, unprivileged users of your systems will be
        able to run it. This could, however, potentially allow hddtemp to be
        used during a security attack on your computer. If in doubt, it is
        suggested to install it without SUID. If you later change your mind, you
        can run: 'dpkg-reconfigure hddtemp'.



        Do you want /usr/sbin/hddtemp to be installed SUID root?
        Answering: Yes


        I'm using desktop trinket wmhdplop, which needs hddtemp daemon.
        man wmhdplop:
        wmhdplop is a program that monitors hard drive activity and displays it
        graphically in a dockapp.
        http://hules.free.fr/wmhdplop/
        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment


          #5
          Re: Hddtemp daemon and sata-drives in the Feisty

          I wonder, do they use this to supplement a GUI? If so, what is that? Is it an applet? I like being able to track that. I have this particular machine crammed full and keeping cool is primary for me.

          Comment


            #6
            Re: Hddtemp daemon and sata-drives in the Feisty

            Hmm - Bug #106821 in linux-source-2.6.20
            smartmontools/smartctl does not work on SATA drives on Linux Kernel 2.6.20-15.27
            https://bugs.launchpad.net/ubuntu/+s...20/+bug/106821

            I have 2.6.20-15.27 and smart isn't working with sata-drives, maybe that is reason for sleeping drives.
            Before you edit, BACKUP !

            Why there are dead links ?
            1. Thread: Please explain how to access old kubuntu forum posts
            2. Thread: Lost Information

            Comment


              #7
              Re: Hddtemp daemon and sata-drives in the Feisty

              Originally posted by Rog131
              strange - Do you have 0.3-beta15-33 ?

              You have the option of installing hddtemp with the SUID bit set.

              wmhdplop is a program that monitors hard drive activity and displays it

              http://hules.free.fr/wmhdplop/
              Good to know -- thank you. I'm away from my system and won't be able to play further until tonight, but this is great information to put in the kit -- thanks for sharing it. I actually have two of those WD1500s, which are new and have no thermal concerns in the huge Antec desktop case. But there's a Maxtor IDE/PATA drive in there that is hot all the time, and doesn't have the world's great reliability reputation, either. Since the recent conversion to UUIDs and "sd_" designation of all hard drives, I wonder if this little monitor program will be able to take the temperature of the Maxtor?

              Comment

              Working...
              X