Red Hat Bugzilla – Bug 592183
udisks reporting empty label on SDHC drive
Last modified: 2013-03-05 23:02:25 EST
Description of problem:
udisks does not read the correct partition label on a SDHC card inserted into a Google Nexus One phone. The same setup works fine with dosfslabel, and I've tried resetting the disk label and running fsck.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Plug phone through USB cable, turn on USB storage on phone
2. udisks --show-info /dev/sdd1 | grep label
3. sudo dosfslabel /dev/sdd1
Step #2 shows an empty label, thus the disk is mounted using its FAT volume ID. Step #3 correctly shows the label (in this case, NEXUS16G)
udisks should report the correct volume label. This worked fine a couple of days ago.
I just tested a small FAT16 partition I used to flash my computer's BIOS and on it, udisks works just fine.
Turns out it was a disk on the verge of failure (after less than a month!). The disk was not even readable in Windows; I managed to get most of the data out, but after that it cannot even be formatted anymore.