Questions tagged [unmount]

Unmount refers to making the storage device like, external HDD, USB storage inaccessible to the OS. This tag can be used for questions related to mounting or unmounting of a device.

160 questions
111
votes
6 answers

How to unmount NFS when server is gone?

I am mounting a NFS-folder from a server to my laptop. Unfortunately, the server goes off sometimes... The problem is, that I cannot unmount the "dead" NFS-folder. On the command-line, I get "device is busy", and via nautilus it crashes my current…
Produnis
  • 1,787
29
votes
3 answers

What is the difference between Eject and Safely Remove Device

Taking this question and it's answer into account What is the difference between "Unmount", "Eject", "Safely Remove Drive" and the eject icon? I ask: Why do both options appear if they are the same. Is there some kind of difference in regards to…
Luis Alvarado
  • 216,643
28
votes
2 answers

Autorun a script after I plugged or unplugged a USB device

What can I do to run automatically a script after I mount/plugin or unmount/unplug a USB device?
Radu Rădeanu
  • 174,089
  • 51
  • 332
  • 407
20
votes
2 answers

Prevent a specific USB device from auto-mounting

I want to stop a USB device from automounting in Ubuntu 13.04. For example, when I connect my iPhone 5 to my desktop I am consistently prompted for what I want to do (whether or not I want to erase the "iPod" connected to my machine, etc). Since I…
Mark D
  • 775
18
votes
2 answers

Is it safe to shutdown computer without unmounting NTFS partitions?

Sometimes I mount my NTFS drives in Ubuntu but forget to unmount them before shutdown. So does Ubuntu unmount them before shutdown or do I have to unmount them manually before shutdown? I am asking this because I have forgot to unmount my NTFS…
Searock
  • 761
16
votes
3 answers

How to unlock partition in Gparted?

Im new in using Ubuntu and I cant seem to make any partitions for a new dual boot OS and the swap file or for any other matter i would want to use the partition because the drive is locked. I have already tried running the Live CD or in my case a…
Shelly
  • 161
  • 1
  • 1
  • 3
16
votes
3 answers

USB pendrive : the copy takes about 3 minutes but the unmount takes a very long time : 10 to 12 minutes

I'm using Ubuntu 17.10. I formatted an USB pen-drive to NTFS to prepare a Windows7 USB Installer. I set the bootable flag on this pen-drive and copied the files into it. EDIT 1: The USB pen-drive is automatically mounted by udev. umount /dev/sdb1…
SebMa
  • 2,927
  • 5
  • 35
  • 47
14
votes
4 answers

Unable to mount Windows 10 partition; it "is in an unsafe state"

I have both Ubuntu 16.04 LTS and Windows 10 Pro installed and I use them both very often. Sometimes, when using Ubuntu, I can see and use Windows partitions also. But sometimes, I cannot. I dont know why? Ubuntu gives the error: Error mounting…
13
votes
2 answers

Alert the user when they unsafely unplug an USB thumb drive

Users repeatedly complain about lost data on USB thumb drives after they unplugged them without unmounting. We run Ubuntu 14.04 LTS on our machines. Auto-mounting is enabled. As I am tired of remembering them to do a safe removal before unplugging,…
RenWal
  • 158
11
votes
3 answers

How can I mount an ejected USB drive without unplugging it?

I am on an Ubuntu 16.04.1 LTS system. I use udisksctl command to mount and unmount my USB flash drive, but I sometimes eject it in nautilus. I can see the device in Disks utility even after ejecting. I searched the site and found the question How do…
11
votes
1 answer

Accidentally mounted a partition on /usr

I mounted a partition on /usr accidentally. Hence, I have lost access to sudo command and can't unmount the partion. I am using AWS EC2 instance and don't have password for root user set. What are my options? Will reboot unmount the newly mounted…
Rumit Parakhiya
  • 213
  • 1
  • 6
10
votes
2 answers

Unable to eject/safely unmount USB drive

So I'm trying to safely remove this USB drive, because when I don't it does not work properly. When I go on Nautilus and try to eject it, I get this error message: Error ejecting: eject exited with exit code 1: eject: unable to eject, last error:…
Gus
  • 333
9
votes
3 answers

What's the proper way to disconnect hot-swap SATA hard drive?

I'm using a SATA hot-swap bay and I have in BIOS this particular port configured specifically for "Hot-Swap". This bay has convenient "POWER ON/OFF" button, so no interruptions during plugging-in/out cables occurs. When I'm turning a drive ON, I'm…
GreggD
  • 1,164
  • 2
  • 11
  • 19
9
votes
2 answers

Is it unmount /dev/sdb or /dev/sdb1

Do these have the same effect when the drive has only one big partition? udisks --unmount /dev/sdb udisks --unmount /dev/sdb1
H2ONaCl
  • 10,039
9
votes
1 answer

Ubuntu Unmounting drive takes forever

I have Ubuntu 12.04 and when I try to unmount a drive after copying data, the Writing Data to Device takes forever, maybe as long and the copy process? This is another thread about this: Unmounting drive in Xubuntu As an explanation, I am backing up…
1
2 3
10 11