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

Transmission and USB HDD

Discussion in 'Tomato Firmware' started by ycodryn, Nov 6, 2013.

  1. ycodryn

    ycodryn Reformed Router Member

    Hi. I need some help please. Using transmission with tomato is different for me then other firmware. Tomato is mounting my HDD to /dev/sda1 on /tmp/mnt/sda1 type ext3 (rw,nodev,noatime,data=ordered) and transmission first downloads the files in ram and after moves them on HDD. Sometimes transmission hangs, I have to reboot router and I`m loosing downloaded parts. On other firmware I saw all my files on HHD but now I`m seeing only completed files. How can I make transmission to use /dev/sda1 and not /tmp/mnt/sda1? Thank you.
     
  2. shibby20

    shibby20 Network Guru Member

    what download directory did you set?
     
  3. ycodryn

    ycodryn Reformed Router Member

    /tmp/mnt/sda1
    But if I`m trying to set anyting else, transmission gui is nbot working.
     
  4. shibby20

    shibby20 Network Guru Member

    what do you mean "anything else"?

    do you use ".incomplete" directory?
     
  5. ycodryn

    ycodryn Reformed Router Member

    Ye I`m using it but I don`t see it on HDD.

    Using mount I`m getting this:

    rootfs on / type rootfs (rw)
    /dev/root on / type squashfs (ro)
    proc on /proc type proc (rw)
    tmpfs on /tmp type tmpfs (rw)
    devfs on /dev type tmpfs (rw,noatime)
    sysfs on /sys type sysfs (rw)
    devpts on /dev/pts type devpts (rw)
    usbfs on /proc/bus/usb type usbfs (rw)
    /dev/sda1 on /tmp/mnt/sda1 type ext3 (rw,nodev,noatime,data=ordered)

    and using df -h

    ToolsPingTraceSystem CommandsWireless SurveyWOL
    BasicAdvancedPort ForwardingAccess RestrictionQoSBandwidth Limiter
    Captive PortalUSB and NASVPN Tunneling
    Administration
    AboutReboot…Shutdown…Logout
    Asus RT-N66U
    Execute System Commands
    Command

    Filesystem Size Used Available Use% Mounted on
    /dev/root 8.4M 8.4M 0 100% /
    tmpfs 124.9M 412.0K 124.5M 0% /tmp
    devfs 124.9M 0 124.9M 0% /dev
    /dev/sda1 146.7G 39.4G 99.8G 28% /tmp/mnt/sda1
     
    Last edited: Nov 7, 2013
  6. leandroong

    leandroong Addicted to LI Member

    This is wrong directory. You need to create folder on sda1:
    1. telnet
    2. cd /mnt/sda1
    3. mkdir downloads

    transmission download dir should be "/mnt/sda1/downloads"
     
  7. ycodryn

    ycodryn Reformed Router Member

    Hi. I made that change to /mnt/sda1/downloads but I still can`t see .incomplet inside it.
     
  8. leandroong

    leandroong Addicted to LI Member

    if you're using transmission and tomato FW, you need to specify label for your usb hd. It should look like this "/mnt/optware/downloads". Where optware is hd label and "downloads" is folder created.
     
  9. ycodryn

    ycodryn Reformed Router Member

    Thank you I will try that.
     
  10. ycodryn

    ycodryn Reformed Router Member

    I made that label and folder but still I don`t have .incomplete, transmission sometime hang when I`m adding torrents.
     
  11. leandroong

    leandroong Addicted to LI Member

    .incomplete, I dont have that too. It all depends on your setting.json settings. Edit that while transmission is not running or issue "killall -kill transmission-daemon" first.
    Regarding hanging, I suggest lower your peer allocated per torrent and global. Also, avoid too many running torrents simultaneously. Mine is set at 2 torrents, rest is queued.
     
  12. ycodryn

    ycodryn Reformed Router Member

    Hi. Is strange because now I have n66u with latest tomato and I had n56u with padavan, 60 peers per torrent, 25-30 torrents on hdd to make my ratio and not even once was hanging, and I had my .incomplete and some other folder. I`m doing something wrong with tomato ? Thank you.
     
  13. leandroong

    leandroong Addicted to LI Member

    well, I have RT-N56U with transmission optware installed with no issue also. You just need to be acquainted with setting.json.
     
  14. leandroong

    leandroong Addicted to LI Member

    RT-N56U padavan fw is very nice. It uses latest linux kernel.
     
  15. leandroong

    leandroong Addicted to LI Member

    RT-N56U, padavan FW, built-in transmission lacks setting.json configuration. It just accept the default created by transmission. This is the reason why I opted to use optware transmission.
     
  16. ycodryn

    ycodryn Reformed Router Member

    I`m a noob in this so can you help me how to edit setting.json? I have to use putty but how can I view and edit the file? Thank you.
     
  17. leandroong

    leandroong Addicted to LI Member

    if your using Shibby FW, you can edit setting.json by editing bittorrent client GUI.
     
  18. ycodryn

    ycodryn Reformed Router Member

    Thank you all for reply. Now I have .incomplete and .settings in downloads.
     
  19. ycodryn

    ycodryn Reformed Router Member

    Another question if I may: I have edited my settings.json but after "service transmission-daemon start", settings.json reverted to default values. What I have to do to remain after router restart or service restart ?
     
  20. leandroong

    leandroong Addicted to LI Member

    1. ssh to router
    2. killall -kill transmission-daemon
    3. edit setting.json
     
  21. ycodryn

    ycodryn Reformed Router Member

    Thank you leandroong I already did that but after editing and starting service, settings are not remembered.
     
  22. leandroong

    leandroong Addicted to LI Member

    well, that could only happens when you did not kill it properly before editing.
    1. ssh
    2. killall -kill transmission-daemon
    3. to check if not running, issue "top" command, no transmission-daemon should appear on the list
    4. edit setting.json
     
  23. ycodryn

    ycodryn Reformed Router Member

    Did that, no daemon in "top" and after service transmission-daemon start reverted to default.


    after restart I have

    5359 5358 root S 5076 2% 0% /usr/bin/transmission-daemon -g /mnt/optware/downloads/.settings
     
  24. leandroong

    leandroong Addicted to LI Member

    what FW are you using? Like I said, if you got Shibby FW, everything is configurable in Shibby20 bittorrent client GUI.
    As far as editing settings.json, make sure that you are editing the correct file. It is norrmally located under sub-folder name ".settings"
     
  25. leandroong

    leandroong Addicted to LI Member

    Your settings.json should be located on /mnt/optware/downloads/.settings/ folder
    1. ssh
    2. cd /mnt/optware/downloads/.settings
    3. killall -kill transmission-daemon
    4. vi settings.json

    then restart transmission
     
  26. leandroong

    leandroong Addicted to LI Member

    If you are using Shibby FW that has bittorrent client GUI enabled, whatever settings there will overwrite your settings.json. If you don't want it be overwritten, then dont enable the GUI and just use optware to enable it.
     
  27. ycodryn

    ycodryn Reformed Router Member

    aaaa I understand now you are right I have GUI enabled.
     

Share This Page