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

1
vote
1answer
18 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 ...
5
votes
1answer
6k 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
1answer
17 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
234 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 ...
2
votes
0answers
61 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
27 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
922 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 ...
0
votes
1answer
56 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
225 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
63 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 ...
1
vote
1answer
48 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
158 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
64 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
179 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
45 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' ...
1
vote
1answer
11k 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 ...
8
votes
3answers
16k 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 | ...
1
vote
1answer
966 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
37 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
1k 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
359 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
717 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
313 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 ...
0
votes
2answers
1k 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. ...
0
votes
1answer
252 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
124 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,
3
votes
1answer
1k 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
29 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
456 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 ...
1
vote
3answers
4k 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 ...
1
vote
1answer
231 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
1k 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
319 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 ...
10
votes
4answers
10k 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. ...
2
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 ...
1
vote
0answers
434 views

How to prevent hangs of Nautilus or Krusader when NAS is disconnected? [closed]

I tried to find a solution for this and I failed. I mount my NAS to my laptop, but when the connection is down the file-manager hang for a lot of time... Since this is a laptop, and it is on the go, ...
2
votes
2answers
383 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
373 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
7k 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
675 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 ...
1
vote
1answer
2k views

Use Upstart to umount NFS at shutdown/restart?

I want to umount NFS drive at shutdown/restart. I connect to it with my laptop, and due to known bug, the system shuts down for ten minutes, instead for 20 seconds, when the NFS is mounted. I used to ...
1
vote
0answers
411 views

Why don't my external USB hard disks umount when I shutdown? [closed]

I have an usb external disk and I spin-down it through "hd-idle", a utility I found here: http://hd-idle.sourceforge.net. I thought that when Ubuntu shutdown, it unmount all partitions, whether these ...
6
votes
2answers
845 views

Why does Nautilus ask me to “… empty the trash before you unmount?”

I have a SATA hard-drive, formatted as ext4, which is detected by Nautilus each time I boot the computer. I do need to click on it, in Places, to actually mount it. That's okay, I'm happy with ...
14
votes
3answers
7k 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 ...
1
vote
2answers
639 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 ...
14
votes
2answers
3k views

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

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 ...