1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WRTSL54GS external HDD storage heat and reliability

Discussion in 'HyperWRT Firmware' started by sternem, Sep 2, 2006.

  1. sternem

    sternem LI Guru Member

    Hi everyone,

    Just grabbed the WRTSL54GS router and added HyperWRT to it. I have a cool print server now and am about to add an external HDD for NAS :thumbup: !

    One question I have for those who have used the WRTSL54GS as a NAS for a while. Can I leave the external HDD on 24/7 and not worry about the drive continually spinning or overheating and leading to a premature death?

    PS: Thanks go to Thibor for great work on the firmware!
     
  2. Disman_ca

    Disman_ca Super Moderator Staff Member Member

    The external HDD should be fine spinning 24/7. Most manufactures have added in a spin down routine if its been idle for a while. I've had my external HDD running for almost a year and its running fine. If your worried about heat place the drive on its side to maximize the surface exposure.
     
  3. sternem

    sternem LI Guru Member

    Sounds good to me. Thanks for the quick response Disman_ca!

    I have it hooked up and can access it via the share now. Pretty simple setup.

    One funny thing I noticed is that when I unzip a file onto the external drive, the creation date of the original files in the zip are not retained. I get a warning from winzip that it couldn't set the file attributes.

    Anyone run into this issue?
     
  4. Disman_ca

    Disman_ca Super Moderator Staff Member Member

    Yep, known bug with the firmware from Linksys. It doesn't set the time properly.
     
  5. sternem

    sternem LI Guru Member

    Yeah, I just read about the samba bug with the time being offset by 4 hours, but didn't realize it also affected the time for files inside a zip. The original file's creation date isn't retained at all, all files get the current time from the router (which is off by four hours).

    Ok. I guess I'll sit tight for a fix in the future. This is still a great router, made possible by the firmware :).

    Thanks for the blazing fast response Disman_ca!
     
  6. plugh

    plugh Network Guru Member

    You need to enable the samba config option 'dos filetimes' for the share.
    Unfortunately, there currently is no way to enable it in the existing firmware.
     
  7. grcore

    grcore Network Guru Member

    You can write a script to add the option to /tmp/samba/lib/smb.conf and put it in the firewall_script. I found that if placed in there, they will stick when making storage changes via the GUI.
     
  8. plugh

    plugh Network Guru Member

    Interesting... It must re-execute that script when it restarts the smb demon after storage changes. Seems kinda bizarre, actually...

    I guess you read/parse the file to find the section delimiter and add the line.

    I've been slowly working up a 'generalized' code mod to grab nvram variable strings and insert them into the global or share specific sections of the config file (an outgrowth of the quick hack I mentioned over in the hyperwrt forum).

    But I'm waiting for the source kit for the firmware now in beta so I can also tackle the system clock / timezone issues (reports seem to indicate they've got *their* ntpclient finally working right in the current beta)...
     
  9. grcore

    grcore Network Guru Member

    What I have done is use sed to make a few changes to existing lines and write to smb.conf.tmp, then mv smb.conf.tmp smb.conf.

    I put that in firewall_script, and so far it works fine. Since it is not adding lines and only doing search/replace, even if it does run and the changes are already there then no harm done.

    I suppose if you were adding lines, you would want to put a check in there to see if the line currently exists before adding it.....
     
  10. sternem

    sternem LI Guru Member

    Thanks for the tip about the dos filetimes variable. Added sed command in the firewall script and the timestamps behaviour is working :) .
     
  11. plugh

    plugh Network Guru Member

    You're welcome.

    I posted a writeup about time handling issues in the hypertwrt forum
    http://www.hyperwrt.org/forum/viewtopic.php?id=1756
    which touched on this, among other things...

    Assuming you are using a fat32 disk and 'default' time handling (see my post) with tofu/thibor firmware, two other samba config options of interest are

    fstype = FAT32
    time offset = nnn (minutes)

    Docs for the samba version used in the sl54 are in the linksys source kit, and I've attached the relevant page to this post.

    Oh, and regarding the original topic of this thread, the other thing I'm (slowly) working on is getting the usb disks to spin down when idle. (there is a thread on that as well over in the hyperwrt forum)
     

    Attached Files:

Share This Page