Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a 1 TB Western Digital External Harddisk. The read/write speed was very low, I read on askubuntu that using the async mount option helps. Then I started using it as follows:

mount -o async,rw /dev/sdb1 /media/a/

Every time I plugin the HDD, I first unmount it then go to command line to mount it using the above command. I also have a 16GB pendrive and that is slower on Ubuntu than Windows 7, I suspect using async could help me there as well.

  1. What does async do?
  2. Is there a way to make async as the default option during automounts?
  3. Is it advisable to do so?
share|improve this question
add comment

1 Answer

up vote 2 down vote accepted
  1. async means that when data is written to the drive it is not committed immediately. This causes writes to "bunch up" so you can write them all one at a time. It also means your commands won't have to wait for the write to complete.

  2. Yes, you can add an entry for the drive to /etc/fstab. The line would look something like this:

    /dev/sdb1 /media/a/ auto auto,async 0 0
    

    For an explanation of what each field means, please see man fstab.

  3. It's fine as long as you never plug out the disc without unmounting. I know people say you shouldn't do this on Windows either, but with async you really shouldn't do this. You might think that the drive is done writing, but writes can sit in the write queue for a surprisingly long time.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.