** Description changed:

- Binary package hint: hal
- 
- I have posted about this in bug 115768 as well and will copy most of
- what I've written there.
- 
- I am using the latest Kubuntu 7.10 (which by now should be all but
- properly released) with KDE 3.5.7:
- 
- Linux thehostname 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007
- i686 GNU/Linux
- 
- Upon plugging in an external, removable SATA (eSATA) hard disk formatted
- with Ext3 I get the following messages in .xsession-errors:
- 
- kded: ERROR: mount failed for 
/org/freedesktop/Hal/devices/volume_uuid_6591d79f_e4db_4fb6_9edd_fdc18d5a9731: 
org.freedesktop.Hal.Device.PermissionDeniedByPolicy - hal-storage-fixed-mount 
refused uid 1000
- kded: ERROR: mounting 
/org/freedesktop/Hal/devices/volume_uuid_6591d79f_e4db_4fb6_9edd_fdc18d5a9731 
returned hal-storage-fixed-mount refused uid 1000
- 
- Dolphin (D3lphin) says "hal-storage-fixed-mount refused uid 1000", too.
- 
- Manually issuing "pmount /dev/sdb1 /media/mydisk" says:
- 
- Error: device /dev/sdb1 is not removable
- 
- Which is consistent with the lshal output saying "storage.removable =
- false (bool)" for that disk.
- 
- Manually mounting (i.e. with mount, not pmount) works fine. Creating an
- entry in /etc/fstab and mounting via that works fine, too, both as a
- regular user and as root.
- 
- I am not sure what exactly the underlying problem is, but I suspect that
- noone has yet thought of describing a policy for removeable, external
- SATA disks (formatted Ext3)? What does it take to write a suitable
- policy? This also seems to be purely a HAL problem, not KDE-, kernel- or
- even hardware-related. I am attaching the output of lshal, hald, dmesg,
- etc as required by https://wiki.ubuntu.com/DebuggingRemovableDevices as
- well.
+ eSATA disks are are not auto mounted when plugged in.  This is because
+ udisks uses a heuristic to decide if it should auto mount a drive.  The
+ heuristic is motivated by the desire to not auto mount internal
+ disks/partitions that belong to other operating systems.  The heuristic
+ currently makes the assumption that disks connected via a usb bus are
+ external, and disks connected with other buses ( sata, scsi ) are
+ internal, and thus does not mount them.  This heuristic is inherently
+ unreliable as usb disks can potentially be internal, and sas/sata disks
+ can be external.  Thus, the heuristic needs to be disabled, and all
+ unknown disks need to be auto mounted.  Disks detected but left
+ unconfigured at install time should have entries in /etc/fstab set to
+ noauto to prevent their being auto mounted.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/153768

Title:
  External SATA (eSATA) removable disk not auto mounted

To manage notifications about this bug go to:
https://bugs.launchpad.net/hal/+bug/153768/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to