USB drive not mounted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pmount (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
I've got a USB drive with several partitions connected to my laptop. Although,
Ubuntu detects the device and its partitions, it fails to mount it automatically.
I've tracked the problem down to pmount. This is what I get when i try to pmount
manually:
resolved /dev/sda2 to device /dev/sda2
mount point to be used: /media/sda2
no iocharset given, current locale encoding is UTF-8
locale encoding uses UTF-8, setting iocharset to 'utf8'
Cleaning lock directory /var/lock/
device numbers do not match, checking partitions.
whether device /dev/sda2 matches partition 8:0
/sys/block/sda
policy check passed
attempting mount: executing '/bin/mount -t udf -o
rw,nosuid,
/dev/sda2 /media/sda2'
It seems the problem it's got to do with the type "-t udf". Actually, I can
mount this partition manually, as follows:
resolved /dev/sda2 to device /dev/sda2
mount point to be used: /media/sda2
no iocharset given, current locale encoding is UTF-8
locale encoding uses UTF-8, setting iocharset to 'utf8'
Cleaning lock directory /var/lock/
device numbers do not match, checking partitions.
whether device /dev/sda2 matches partition 8:0
/sys/block/sda
policy check passed
attempting mount: executing '/bin/mount -t ext3 -o
rw,nodev,
mount attempt terminated with status 0
PS: During the installation, using the hoary-rc-
was detected and mounted perfectly.
It stopped working after an upgrade on April, 1st.
Tonight, on April 5th, after updating my usb drive is mounted automatically
again. Therefore, I beleive that the new version of pmount 0.7.2-0ubuntu1 solves
this problem.
This is the output I get now:
xxx@yyyyyy:~$ pmount -d /dev/sda2 pmount/ _dev_sda2 sysfs_device: minor device ..find_ sysfs_device: checking whether sda/removable == 0 nodev,user, sync,atime, noexec, uid=1000, gid=1000, umask=007, iocharset= utf8 nodev,user, sync,atime, noexec, uid=1000, gid=1000, umask=007 /dev/sda2 nodev,user, sync,atime, noexec, uid=1000, gid=1000 /dev/sda2 /media/sda2' nodev,user, sync,atime, noexec, uid=1000, gid=1000 /dev/sda2 /media/sda2' nodev,user, quiet,sync, atime,noexec, uid=1000, gid=1000, umask=077, iocharset= utf8 nodev,user, quiet,sync, atime,noexec, uid=1000, gid=1000, umask=077 nodev,user, sync,atime, noexec, uid=1000, gid=1000, umask=077, iocharset= utf8 nodev,user, sync,atime, noexec, uid=1000, gid=1000, umask=077 /dev/sda2 nodev,user, sync,atime, noexec, uid=1000, gid=1000 /dev/sda2 /media/sda2' nodev,user, sync,atime, noexec, uid=1000, gid=1000 /dev/sda2 /media/sda2' nodev,user, sync,atim. ..
resolved /dev/sda2 to device /dev/sda2
mount point to be used: /media/sda2
no iocharset given, current locale encoding is UTF-8
locale encoding uses UTF-8, setting iocharset to 'utf8'
Cleaning lock directory /var/lock/
find_sysfs_device: looking for sysfs directory for device 8:2
find_sysfs_device: checking whether /dev/sda2 is on /sys/block/sda (8:0)
find_sysfs_device: major device numbers matchfind_
numbers do not match, checking partitions.
device /dev/sda2 matches partition 8:0
find_sysfs_device: checking whether device /dev/sda2 matches partition 8:5
find_sysfs_device: checking whether device /dev/sda2 matches partition 8:3
find_sysfs_device: checking whether device /dev/sda2 matches partition 8:2
find_sysfs_device: -> partition matches, belongs to block device /sys/block/sda
device_removable: corresponding block device for /dev/sda2 is /sys/block/sda
get_blockdev_attr: value of /sys/block/
policy check passed
attempting mount: executing '/bin/mount -t udf -o
rw,nosuid,
/dev/sda2 /media/sda2'
mount attempt terminated with status 8192
attempting mount: executing '/bin/mount -t udf -o
rw,nosuid,
/media/sda2'
mount attempt terminated with status 8192
attempting mount: executing '/bin/mount -t iso9660 -o
rw,nosuid,
mount attempt terminated with status 8192
attempting mount: executing '/bin/mount -t iso9660 -o
rw,nosuid,
mount attempt terminated with status 8192
attempting mount: executing '/bin/mount -t vfat -o
rw,nosuid,
/dev/sda2 /media/sda2'
mount attempt terminated with status 8192
attempting mount: executing '/bin/mount -t vfat -o
rw,nosuid,
/dev/sda2 /media/sda2'
mount attempt terminated with status 8192
attempting mount: executing '/bin/mount -t ntfs -o
ro,nosuid,
/dev/sda2 /media/sda2'
mount attempt terminated with status 8192
attempting mount: executing '/bin/mount -t ntfs -o
ro,nosuid,
/media/sda2'
mount attempt terminated with status 8192
attempting mount: executing '/bin/mount -t hfsplus -o
rw,nosuid,
mount attempt terminated with status 8192
attempting mount: executing '/bin/mount -t hfsplus -o
rw,nosuid,
mount attempt terminated with status 8192
attempting mount: executing '/bin/mount -t hfs -o
rw,nosuid,