Setup external hard drive

You should choose an external hard drive that will spin down automatically after idle(no I/O activity) for some time. And in order to let it idle, you need to dismount the drive; that leads to the use of autofs.

Configure autofs

Add this to /etc/auto.master:

# dismount after no file access for 120 seconds:
/mnt /etc/auto.exthd --timeout=120

Create file etc/auto.exthd with this:

exthd -fstype=auto,rw :/dev/sda1

Restart autofs to take effect.

After that, whenever you access /mnt/exthd, the partition /dev/sda1 will be auto mounted.


voyage/setup_external_hard_drive.txt · Last modified: 2010-01-10 22:26 by admin
Back to top
GNU Free Documentation License 1.2
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0