another input: I have 3 partitions on this usb hdd. For one of them
(sdb3) I have added now an fstab entry, and now this partition won't be
automounted at plug-in, but the two other will be. If I don't mount sdb3
manually, I can reproduce the issue with just two drives:

Three partitions:

kvegh@lv:~$ sudo fdisk -l /dev/sdb

Disk /dev/sdb: 1000.2 GB, 1000170586112 bytes
255 heads, 63 sectors/track, 121597 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003f448

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        3824    30716248+   c  W95 FAT32 (LBA)
/dev/sdb2            3825       42069   307202962+   7  HPFS/NTFS
/dev/sdb3           42070      121597   638808660   83  Linux
kvegh@lv:~$ 

...one has an fstab entry (yes, this is sdb3):

kvegh@lv:~$ grep wd /etc/fstab 
UUID=0c4da9d2-2351-4f58-a0a3-c9398224949e /mnt/wd               ext4    
errors=remount-ro 0       1
kvegh@lv:~$ 

after usb plug-in I have the two other partitions mounted:

kvegh@lv:~$ mount | grep sdb 
/dev/sdb1 on /media/NEW VOLUME type vfat 
(rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush)
/dev/sdb2 on /media/New Volume type fuseblk 
(rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
kvegh@lv:~$ 

and if I click safely remove on either of them, these two auto-remount
within seconds, with a new usb address, like this:

[  950.812954] usb 2-1.1.4: USB disconnect, address 14
[  956.922344] usb 2-1.1.4: new high speed USB device using ehci_hcd and 
address 15

...isn't this a kernel issue? Or is the usb disk misbehaving?

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

Title:
  "Safely Remove" USB drive works great, but is remounted immediately

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to