I issue kill command to kill Transmission after I download movies. But, after that, I get 'drive busy' if I try to unmount hard-drive connected to router. Can someone suggest a way to unmount the drive after using the transmission? Thanks!
Date: 31 Mar 2011 01:32
Number of posts: 5
RSS: New posts
When you want help, give specifics. Do not say:
I issue kill command to kill Transmission
Provide the exact command you use. If your problem is that you did this incorrectly, how can anyone know?
Did you check whether transmission is still running after you tried to kill it by using a command like
root@rtn16:/tmp/home/root# ps | grep transmission 31188 root 4484 S transmission-daemon -g /opt/share/transmission/config 31189 root 4484 S transmission-daemon -g /opt/share/transmission/config 31190 root 4484 R transmission-daemon -g /opt/share/transmission/config 31192 root 1700 S grep transmission
You should kill transmission using a command like
It's important to note that Transmission saves a lot of metadata prior to formally shutting down (when sent a standard kill signal). It can take up to 30 seconds for it to complete. Just because you issue a kill doesn't mean the process dies - it means you've asked it to gracefully terminate and it will do its best to do so.
When in doubt, ps is your friend. =)
My Tomato utilities site: http://multics.minidns.net/blog/articles/tomato_utilities
My apologies for not providing enough information in the first post.
I set up transmission as described in this link.
I use putty (ssh) to remotely connect to the router and initiate transmission running the command
/opt/bin/transmission-daemon -g /opt/.config/transmission-daemon/
Transmission web interface is used to upload torrents from desktop. Download starts immediately. Once the downloads are completed, I close the transmission web interface, kill transmission running the command.
Tried to unmount hard drive both through the ssh client and router web interface. I get a 'device busy, try later' warning. It is the same result whether I try it an hour later or next morning. I have to shutdown the router from web interface.
I did a ps after bringing down the transmission. Here is the result.
root@tomato_host:/tmp/home/root# ps | grep transmission
1692 root 1700 S grep transmission
this looks like you successfully killed the process - the only incidence of a process running w/ name "transmission" attached to it was your "grep transmission", ie. your search for a process containing that name.
Q: when you are trying to unmount the hard drive, are any other daemons running that could be using it?
When you try to unmount it, what is your current working directory? (ie., if you are in the volume when trying to unmount it, you'll get such warnings.
Various Broadcom Routers Running TomatoUSB (or DD-WRT) with Airprint & Cloud Print
See my Repo's at http://github.com/davygravy
Extra/Newer Optware ipks not in the dd-wrt/nslu2 feed
davy's 1-wire weather, courtesy of TomatoUSB, Optware & Maxi