EvilZone

General Tech => Operating System => : nulldigit July 10, 2014, 10:26:08 AM

: [SOLVED] Arch autofs
: nulldigit July 10, 2014, 10:26:08 AM
I have a torrent client running 24/7 under Arch and everything is okay. I have it mounted in my home dir and point the torrents there.

The issue I have is, when I leave the media center/arch for to long, the external drive I use either spins down or something happens where in /dev it is now sdc instead of sdb. The only time I have ever seen that happening is when the pc is still running and something is removed and re-inserted or something to do with mount issues.

I tried editing fstab but that is more for boot, and I can't predict  where the external will reside in /dev

I installed autofs but don't quite know how to config it to work, I have read about HAL but it almost seems depreciated since the Arch Handbook I have was in 2009 and doesn't account for the /bin changes and all not to mention the rc crap....

I am okay with manualy mounting the drive, but it is a pest if I want the torrents to work since they are going to that drive. All the I/O errors are hurting my ratio and waned to see if you guys could give some insite.

I have disabled the DPS stuff so the energy star crap is disabled, haven't tested with a reboot cause no kernel updates yet. I had/have a feeling it was something to do with dps and the enrgy suff cause "xset -q" show the spin-down/hibernate crap set to 600, I'm thinking if i just have the pc running without the suspend and stuff then the drive wont get confused and show /dev a new device.

Just looking for feedback, that it all.
: Re: Arch autofs
: lucid July 10, 2014, 11:04:53 PM
If you have the drive plugged in all the time why don't you just set it to mount on a specific partition in fstab? It shouldn't change if you do that.

Or am I missing something?
: Re: Arch autofs
: nulldigit July 10, 2014, 11:55:43 PM
If you have the drive plugged in all the time why don't you just set it to mount on a specific partition in fstab? It shouldn't change if you do that.

Or am I missing something?

I tried that, but like when I go to work and come home, it is listed under dev as a new drive.

I.E. before work its /dev/sdb1 after work its /dev/sdc1.

I disabled the energy star stuff with
:
xset -dpms, it seems to not be doing it anymore. I'm thinking it had something to do with hibernating or something.
: Re: Arch autofs
: voodoo July 13, 2014, 12:46:39 AM
Can you post your fstab?
: Re: Arch autofs
: nulldigit July 13, 2014, 04:44:31 AM
No need. I removed it from fstab and mount it myself on reboot. I haven't had a problem since turning the energy star stuff off. I have 2 external hdds now and no problems at all.