Can't unmount external HDs from right click context menu

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
WinXpNewb
Level 3
Level 3
Posts: 117
Joined: Sun Sep 02, 2007 4:52 am

Can't unmount external HDs from right click context menu

Post by WinXpNewb »

OS: Celena

Can't unmount both an ntfs and a ext3 external HD from right click context menu.

deadlock from IRC channel already told me that I'm using mintdisk and not fstab.

Can unmount partition from gparted.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Stretch
Level 2
Level 2
Posts: 76
Joined: Sun Sep 09, 2007 6:19 pm

Post by Stretch »

I'm not sure what you mean by "can't unmount". What exactly does or does not happen?

I also have a problem in that, when I try to unmount an external usb HD (/media/disk-1), I get an error pop-up saying "Cannot eject the volume" and it immediately remounts the drive (and in doing so opens Nautilus again).
WinXpNewb
Level 3
Level 3
Posts: 117
Joined: Sun Sep 02, 2007 4:52 am

Post by WinXpNewb »

Yes, that's what happens.
User avatar
Stretch
Level 2
Level 2
Posts: 76
Joined: Sun Sep 09, 2007 6:19 pm

Post by Stretch »

Maybe clem, Husse or scorp might look at this and let us know how to fix it.
User avatar
Stretch
Level 2
Level 2
Posts: 76
Joined: Sun Sep 09, 2007 6:19 pm

Post by Stretch »

Any you guys got any advice on this?
Exakun
Level 1
Level 1
Posts: 14
Joined: Tue Oct 02, 2007 11:29 pm

Post by Exakun »

have you tried this?

Code: Select all

sudo umount <location where the drive is mounted>
for example, if your drive is /media/disk-1 then do

Code: Select all

sudo umount /media/disk-1
...to unmount it manually.


This should at least solve your problem temporarily.
User avatar
900i
Level 6
Level 6
Posts: 1142
Joined: Sat Nov 18, 2006 9:30 am
Location: Wakefield, UK

Post by 900i »

Got same problem here with Celena?
Desktop Core i7 Linux Mint 21.1 / Laptop Dell Precision M6400 Linux Mint 21.1
Exakun
Level 1
Level 1
Posts: 14
Joined: Tue Oct 02, 2007 11:29 pm

Post by Exakun »

My previous post's instructions work as a temporary fix on any version of Mint (and probably on any distro of linux, for that matter). You'd probably have to talk to Clem directly for help actually fixing a bug like this one :S
User avatar
Stretch
Level 2
Level 2
Posts: 76
Joined: Sun Sep 09, 2007 6:19 pm

Post by Stretch »

Yes the unmount command is fine but Nautilus really should not be doing this. I like to see the pop-up telling me that it is now safe to remove the media.

I have PM'ed Clem to ask his advice.
User avatar
clem
Level 12
Level 12
Posts: 4308
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Post by clem »

Ok, we need more info here :)

let's have a look at /usr/lib/linuxmint/mintDisk/mintDisk.log

and the "mount" command to see what's mounted and where...

And a note: mintDisk is better than fstab "provided" you're using internal HDDs, if you're using external ones you'd rather use NTFS-Config and fstab... the main reason is simple... mintdisk operates after you login through GDM and it doesn't run in the background, it only runs once... so it only mounts devices connected at that time, not after... and this is not appropriate for external devices.

Clem
Image
User avatar
Stretch
Level 2
Level 2
Posts: 76
Joined: Sun Sep 09, 2007 6:19 pm

Post by Stretch »

-------------------------
* checking the presence of os-prober...
-- os-prober is absent
-------------------------
* checking system environment...
-- user = borat
-- home = /home/borat
-- locale = en_IE.UTF-8
-------------------------
* configuring options...
-- mount point: /media/<<DEVICE>>
-- show links: No
-- links location: /home/borat/Desktop/
-------------------------
* loading support for FAT32...
-- partition type = b
-- mount type = vfat
-- mount options = iocharset=utf8,umask=000
* loading support for FAT32 (LBA)...
-- partition type = c
-- mount type = vfat
-- mount options = iocharset=utf8,umask=000
* loading support for NTFS...
-- partition type = 7
-- mount type = ntfs-3g
-- mount options = defaults,locale=en_US.utf8
-------------------------
* removing existing links (if any)...
-------------------------
* checking presence of vfat and ntfs in fstab...
-------------------------
* scanning partitions...
-- detected device /dev/sda1 of type 83 and size 26GB
=> partition type not supported
-- detected device /dev/sda2 of type 5 and size 91GB
=> partition type not supported
-- detected device /dev/sda5 of type 82 and size 0GB
=> partition type not supported
-- detected device /dev/sda6 of type 83 and size 74GB
=> partition type not supported
-- detected device /dev/sda7 of type 83 and size 15GB
=> partition type not supported
-- detected device /dev/sdb1 of type 7 and size 25GB
=> no alias defined
=> partition mounted already
=> no link created
-- detected device /dev/sdb2 of type 5 and size 91GB
=> partition type not supported
-- detected device /dev/sdb5 of type b and size 21GB
=> no alias defined
=> partition mounted already
=> no link created
-- detected device /dev/sdb6 of type 83 and size 15GB
=> partition type not supported
-- detected device /dev/sdb7 of type 83 and size 54GB
=> partition type not supported
-- detected device /dev/sdc1 of type 83 and size 10GB
=> partition type not supported
-- detected device /dev/sdc2 of type 5 and size 10GB
=> partition type not supported
-- detected device /dev/sdc3 of type 83 and size 41GB
=> partition type not supported
-- detected device /dev/sdc4 of type 83 and size 21GB
=> partition type not supported
-- detected device /dev/sdc5 of type 83 and size 10GB
=> partition type not supported
-- detected device /dev/sdd1 of type 83 and size 156GB
=> partition type not supported

/dev/sda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.20-16-generic/volatile type tmpfs (rw)
/dev/sda6 on /home type ext3 (rw)
/dev/sda7 on /usr/local/games type ext3 (rw)
/dev/sdb6 on /media/sdb6 type ext3 (rw)
/dev/sdb7 on /media/sdb7 type ext3 (rw)
/dev/sdc1 on /media/sdc1 type ext3 (rw)
/dev/sdc3 on /media/sdc3 type ext3 (rw)
/dev/sdc5 on /media/sdc5 type ext3 (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
fusesmb on /home/borat/Network type fuse (rw,nosuid,nodev,allow_other,max_read=32768)
/dev/sdb1 on /media/sdb1 type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
/dev/sdb5 on /media/sdb5 type vfat (rw,iocharset=utf8,umask=000)
/dev/sdd1 on /media/disk type ext3 (rw,noexec,nosuid,nodev)
User avatar
Stretch
Level 2
Level 2
Posts: 76
Joined: Sun Sep 09, 2007 6:19 pm

Post by Stretch »

bump
User avatar
RSimpson
Level 1
Level 1
Posts: 28
Joined: Thu Sep 13, 2007 7:24 pm

Post by RSimpson »

I have the same problem, with both a WD MyBook and a generic 2.5" external drive.
User avatar
RSimpson
Level 1
Level 1
Posts: 28
Joined: Thu Sep 13, 2007 7:24 pm

Post by RSimpson »

Hmm... my USB key will eject, but no luck with any external hard drives. Is anyone able to right-click and eject with a hard drive?
User avatar
RSimpson
Level 1
Level 1
Posts: 28
Joined: Thu Sep 13, 2007 7:24 pm

Post by RSimpson »

Need to be using 0.5.9-1ubuntu2-feisty1, not 0.5.8.1-4ubuntu12.

https://bugs.launchpad.net/ubuntu/+sour ... +bug/36252
https://bugs.launchpad.net/nautilus/+bug/108643
I have several USB devices that I could unmount/eject just fine from the "right-clock menu" in Edgy but they are immediately remounted after being ejected in Feisty. Ways of fixing this so I can "safely" remove my devices include:

* Reverting to the command line to unmount the filesystem.
* Discover that I need to install a package from something called feisty-backports, figure out how to do that and then actually do it successfully.
* Edit /usr/share/hal/fdi/policy/10osvendor/10-storage-policy.fdi to stop the devices being ejected.

As an experienced Linux user all of these are OK for me.

However, if this happens to inexperienced users it is a showstopper because they do not have the know-how to be expected to do any of the above. That is, from a usability point-of-view for inexperienced users:

* This is a regression.
* This is critical.
User avatar
Stretch
Level 2
Level 2
Posts: 76
Joined: Sun Sep 09, 2007 6:19 pm

Post by Stretch »

Nice find ;)

I installed the backported HAL and the external USB drive now unmounts ok. Although there is no pop-up window to say "safe to remove"... but maybe that's how it is supposed to be?
User avatar
RSimpson
Level 1
Level 1
Posts: 28
Joined: Thu Sep 13, 2007 7:24 pm

Post by RSimpson »

Yeah, it sounds like it unmounts the drive in a different way... I noticed the option was "Unmount" and not "Eject".
Locked

Return to “Storage”