[kwlug-disc] udisksd slow to mount USB stick

Khalid Baheyeldin kb at 2bits.com
Thu Mar 24 18:00:27 EDT 2016


On Thu, Mar 24, 2016 at 12:27 PM, William Park <opengeometry at yahoo.ca> wrote:
>
> 1. badblocks -b4096 -swv /dev/sdb

# badblocks -b4096 -swv /dev/sdb
Checking for bad blocks in read-write mode
>From block 0 to 250622
Testing with pattern 0xaa: done
Reading and comparing: done
Testing with pattern 0x55: done
Reading and comparing: done
Testing with pattern 0xff: done
Reading and comparing: done
Testing with pattern 0x00: done
Reading and comparing: done
Pass completed, 0 bad blocks found. (0/0/0 errors)

> 2. dd if=/dev/zero of=/dev/sdb bs=1M oflag=direct

# dd if=/dev/zero of=/dev/sdb bs=1M oflag=direct
dd: error writing ‘/dev/sdb’: No space left on device
979+0 records in
978+0 records out
1026555392 bytes (1.0 GB) copied, 185.655 s, 5.5 MB/s

So no media errors in both commands.

I used fdisk to create a partition, and created a vfat filesystem.

Same lag. Took 1 minute 20 seconds from sdb1 being recognized, to
udisksd mounting it.

-- 
Khalid M. Baheyeldin
2bits.com, Inc.
Fast Reliable Drupal
Drupal optimization, development, customization and consulting.
Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra
Simplicity is the ultimate sophistication. --   Leonardo da Vinci
For every complex problem, there is an answer that is clear, simple,
and wrong." -- H.L. Mencken





More information about the kwlug-disc mailing list