Questions relating to the unmounting of the filesystem of media connected to the computer, whether that is done via software or manually by the user using the command-line.

learn more… | top users | synonyms

15
votes
2answers
4k views

Why do I need root privileges to umount a drive at the command line, but not in Nautilus? How to change that?

When I insert a thumb drive, media card, or USB hard drive, to unmount it via the command line, I need to use: sudo umount /media/the_device But, I can unmount the device in a file manager like ...
10
votes
4answers
11k views

device-mapper: remove ioctl on luks-xxxx failed: Device or resource busy

While I was away from my computer, my encrypted USB drive got accidentally unmounted somehow (although it was still physically connected at the time). I haven't been able to recover (haven't tried a ...
0
votes
0answers
11 views

15.10 umount crashes chrome every time

I have no clue why this happens but it seems to only happen when I run a script that umounts an image. Literally immediately after running this script chrome shuts down and I have to reboot to open ...
1
vote
0answers
12 views

Harddrive still available after being unplugged. How is this possible?

I have an external USB harddrive at /media/hakon/0ddde628-b54a-4bb2-9823-b734fe0f78b9/ Now I unplugged it, and I can still type things like ls /media/hakon/0ddde628-b54a-4bb2-9823-b734fe0f78b9/ ...
1
vote
2answers
118 views

Using `umount` for USB mounted ext4 volume without `sudo`

I mount a USB HDD used for intermittent plugin backup via the fstab entry: # <file system> <mount point> <type> <options> ...
2
votes
2answers
13k views

Can't format USB drive

I have a 4 Gig USB drive that I'd like to format. I go to the Disk Utility, and try to format it, but it says that the device is busy. (This same error occurs no matter whether I tried to format the ...
2
votes
3answers
944 views

Unmounting several partitions at once

I have this portable hard disk with 4 partitions. When I need to safely remove the device I have to unmount each partition manually. Is there a way I can unmount all at once? Or is it suffice to ...
15
votes
4answers
11k views

How do I find out which process is preventing a umount?

When I do sudo umount /media/KINGSTON I got umount: /media/KINGSTON: device is busy. I close all the windows and make sure all shell are pointing to other directories. How can I find which ...
3
votes
1answer
44 views

Trying to understand commands affecting unmounted drives

I'm currently trying to understand some code I have found which unmounts a drive but then does operations onto it (which seems quite strange to me). The situation is as follows: I have a mount named /...
0
votes
0answers
17 views

Can I Mount a portable hard drive using console, neither being a sudoer nor having the super-user password?

basically the title has my question Can I Mount a portable hard drive using console while neither being a sudoer nor having the super-user password? Once I give my user's password it tells me that I'...
1
vote
1answer
41 views

Can't umount a device

I was trying to connect my computer with box.com for have the cloud disk in my computer, I was following this tutorial. The problem is, I did something wrong and now the device doesn't work and I can'...
0
votes
1answer
279 views

Umount when umount -lf doesn't work

I'm trying to troubleshoot our NAS, and frankly, I'm getting sick of it, every time I try and unmount the connection on our server (Ubuntu 14.04.2 LTS fully updated) it simply refuses to unmount the ...
1
vote
1answer
253 views

External HDD automatically get back after safe remove

This is weird! I use udisks --detach /dev/sdb for safely remove my hard disk. after 2 sec hard drive automatically mounted and nautilus window pops up. This is output of udevadm monitor --udev. UDEV ...
3
votes
0answers
230 views

Unable to detach (spindown) external USB HDD in 15.04; Safely Remove just remounts it back

I have external USB 3.0 HDD with several partitions on it, and I can't safely remove (spin down) it before unplugging in Ubuntu 15.04. I can run "Unmount" on each partition; but after unmounting all ...
0
votes
1answer
120 views

Unable to Wipe my SSD from linux

I have an SSD which I've installed Ubuntu on, it was completely clean. I installed it and encrypted it. I decided I wanted to wipe my hard drive for a new install without encryption. I'm unable to do ...
1
vote
2answers
1k views

curlftpfs mount disagrees with the fstab

I am working with curlftpfs to mount a remote FTP directory locally in Kubuntu 12.04 64-bit. I have the following entry in my /etc/fstab: curlftpfs#ftp_user:ftp_password@ftp_server /mnt/nimh fuse ro,...
0
votes
1answer
383 views

How to mount an unmounted USB device ubantu using command? [duplicate]

I first eject device using sudo eject /dev/sr1. And then sudo umount /dev/sr1. But now it's not showing me the device which i'm unmounted. I want to mount it using command.
0
votes
1answer
862 views

Can't unmount /tmp, fuser output empty

my /tmp shrank to 1MB because there were no free space on /home device. Now I need to expand this, so the first thing to do is to unmount the device. But that's what happens when I try: ~ $ df ...
0
votes
1answer
88 views

Problem in unmounting a disk image with a script… but not manually!

It is my first experience in writing shell scripts and something curious is happening. I'm working on an embedded system and I wanted my script test5.sh placed in the /root folder of the guest system ...
2
votes
1answer
214 views

Is umount performed automatically during a reboot?

Let's say I have a USB device mounted. When issuing a system restart using the command line utility "reboot", will the system automatically umount my USB device? Also, typically, if any shell is up ...
1
vote
1answer
366 views

iPhone does not unmount properly when unplugged

I'm running Ubuntu 14.10 on my netbook, and connect my iPhone via USB cable so that it tethers and I can access the internet. This all works as expected. The issue is that when the iPhone is ...
0
votes
2answers
361 views

Will unmounting a partition erase the info stored there?

I have a question about installing Ubuntu on an already partitioned drive. I have 3 partitions - 1 for music & pictures, 1 for gaming and 1 for my operating system. When I go to install Ubuntu ...
1
vote
1answer
476 views

How to check what are using the mounted disk when I want to reject it

The disk is mounted by sudo mount /dev/sdd5 /media/SDD/Docs and sudo mount /dev/sdd6 /media/SDD/Images and so on, thus there are some directories corresponding to the volumes of the mounted disk. ...
0
votes
1answer
64 views

Full windows partition shows up as device in Ubuntu

I recently installed Ubuntu to dual boot with Windows 8 on my HP Envy 15. When I go to my File Manager, it shows all the other partitions as removable devices that can be unmounted in the 'Devices' ...
12
votes
2answers
22k views

umount: it seems [device] is mounted multiple times

i was finishing up a job with a compact flash when, trying to unmount it: #> umount /dev/sda2 umount: it seems /dev/sda2 is mounted multiple times Looking at what mount says: #> mount | ...
2
votes
1answer
1k views

Why does umount automatically remove the mount point of a drive that has been mounted with a file manager?

If I mount a drive using the file manager (I'm using PCManFM), the mount point is automatically removed when I run the umount command. However, if I mount by running mkdir and then mount, I have to ...
0
votes
3answers
41 views

Cannot acess my own Username directory

My directory root is: $home/pk The problem is that I'm unable to enter into home directory. When I type commend cd /pk, it gives an error, saying file or directory not found. When i type -ls command ...
1
vote
2answers
4k views

How to unmount when umount hangs due to disconnected disk?

I have an external disk connected via USB that was accidentally disconnected uncleanly. Now lsing the directory in which it was mounted gives Input/output error. umounting the directory simply hangs. ...
0
votes
1answer
444 views

umount dev/sda1 to mount dev/sda1 or change partition to ntfs

well I installed Ubuntu but I can't play many games I would like too and I can't change to NTFS with Gparted because i'm using /dev/sda1 and I would like to know if its possible to change with ...
0
votes
2answers
2k views

how to umount /dev/sda1 or to change for another partition? [closed]

Is about this title. I need to change my partition to NTFS and i can't because my HDD is occupied with Ubuntu.
2
votes
0answers
367 views

Mounted samba share hangs /media and df -h when cable disconnected

Encountered behavior: Unplugging an ethernet cable on which a samba share has been mounted will cause: a. the /media to become inaccessible. b. df -h to hang indefinitely Why does this occur on (l)...
0
votes
2answers
2k views

Can't Unmount dev/sda3 (boot device)

Please help a frustrated user. I currently run only ubuntu 12.04: I cant seem to umount. I think the umount folder is lost. Tried all possible measures to no avail. Is there a way to force umount. I'...
0
votes
1answer
432 views

Run a command before reboot (Ubuntu)

I would like to run this command when Ubuntu reboots (before reboot/shutdown): sudo umount /home/dataserver How would I do this?
0
votes
1answer
181 views

Unmount script running on unmounted device

How can I unmount a USB drive using a script located on that drive? The device appears busy when the script is running,
4
votes
1answer
2k views

Nautilus hangs up on mounted shares after suspend

After establishing a VPN tunnel to my university, I connect to a Network Share via Shell script like this: sudo mount -t cifs -o username=xyz,password=abc //10.x.x.x/xyz /media/my_share/ It works ...
0
votes
3answers
30 views

What is the /media/myname/SSH2013-09-16 directory for?

I noticed today that there is a directory located in /media/myusername called "SSH2013-09-16". I tried to remove it, but rmdir reports "Device or resource busy". This even happens if I try to remove ...
0
votes
1answer
606 views

umount /mnt deleted home directory

I did something incredibly stupid: while tinkering with mount / umount trying to relocate some space, I did as I read on one website, and dit sudo umount -f /mnt (I don't remember whether I used -...
2
votes
3answers
6k views

Is it possible to unmount the /home partition?

I want to recover some files in my home directory using extundelete http://sourceforge.net/projects/extundelete/ This tool needs to unmount the device before start to work, but I cannot umount /home:...
1
vote
1answer
263 views

Do I need to umount USB drive before unplugging it when using udev?

Ubuntu 12.04.1 LTS I'm about to set up udev rules to automatically mount/umount an external USB drive when plugged or unplugged. I'm concerned that by using udev to automatically unmount the ...
3
votes
1answer
2k views

Local file system not properly unmounted during shutdown

I have a file system with two HDDs and several partitions mounted separately locally. /root, /home, /usr, /var, /local/share, /home/bernhard/fotos/bilder, /backup are on separate partitions and are ...
0
votes
1answer
348 views

When can I safely unplug an external drive on 12.10?

I have browsed several answers... but none seems to address my question. As reported in bug #1067876 the options to "safely remove" an external drive is gone. No problem! Umount is sufficient for ...
13
votes
4answers
14k views

Mounting Samba share whenever it's available, unmounting when it's not

I am trying setup permanent samba share mounts. That's not too hard using these instructions. But, I want them to Automatically remount whenever I join the network where these shares are available. ...
3
votes
1answer
3k views

Problems with mounting .ISO files

I'm using Precise, with GNOME. I've attempted to install some retro, multi-cd games (KOTOR1) via .ISO images and WINE, but I can't get the ISO's to mount correctly. First I tried GMountISO, which ...
2
votes
2answers
405 views

Do I need to reboot my computer to read data from two SD cards?

I stuck an SD card in the card reader, imported my photos with Shotwell, deleted the photos from the card (again, with Shotwell), then right-clicked on the desktop icon and safely removed the card. I ...
7
votes
2answers
2k views

Are pre-existing files in a mountpoint directory safe and uneffected?

I've noticed that pre-existing files in a "mountpoint" directory disappear when the mount command is applied... and then they re-appear when the directory is unmounted. Are these files just on "...
4
votes
2answers
374 views

How do you forcibly unmount a disk when you press the eject button on an optical drive?

When upgrading my hardware, I also upgraded to Ubuntu 10.10. On my previous system (with 10.04 and earlier). when I ejected a disk from the optical drive, the sub-folder in the /media directory was ...
1
vote
1answer
2k views

Auto-mount in fstab no longer working until manually running 'sudo mount -a'

I have 3 SMB shared drives I need to connect to for work purposes. I had Ubuntu 10.10 Maverick and had all my drives loaded into fstab to be auto-mounted. Everything worked fine for a while but just ...
14
votes
3answers
9k views

Disk Utility: What's the difference between “Unmount” and “Safe Removal”?

System > Administration > Disk Utility What's the difference between "Unmount Volume" and "Safe Removal"? Say you insert a flash drive and open the Disk Utility UI, if you click on "Safe Removal" you ...
4
votes
2answers
3k views

how to umount /home in ssh?

I would like ssh, sudo su and umount /home and run diagnostic on it. Is there a runlevel I can used to close X and other process using /home while keeping network access? Or another way? thanks
3
votes
1answer
711 views

How to stop umount all when I exit ssh session? [closed]

So when i'm logged into Lucid via ssh, and type exit to end the session, umount -a is run first by the system. I see the follow message before it logs me out: umount: /home: device is busy. (In ...