The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [umount]

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.

Filter by
Sorted by
Tagged with
0
votes
1answer
50 views

mount --bind /dev sometimes “kills” tty until unmounted

I have a script that uses sudo mount --bind /dev other/dev and then later uses sudo umount other/dev to unmount. After some random number of runs, we can somehow enter an odd state where the main tty ...
0
votes
1answer
354 views

unmount sshfs from mount point

mounted raspberry pi device via sshfs: sshfs osmc@rpi.: /home/user/pi mounting information: user@azimuth:~$ mount | grep osmc osmc@rpi.: on /home/user/pi type fuse.sshfs (rw,nosuid,nodev,relatime,...
0
votes
1answer
77 views

Finding ecrypt-recover-private mountpoint

After heavily struggling on mounting my ecrypted hdd, I now want to securely unmount the recovered hdd. I did it as proposed in this question. It was mounted by using $user> cd /media/$user/...
0
votes
0answers
76 views

How to automate umount of cifs shares upon shutdown/reboot?

Have NetworkManager/dispatcher.d scripts currently automatically mounting shares depending on the network that I'm on (home, work, in-law's house). Problem is that if I shutdown or reboot, it hangs ...
1
vote
1answer
2k views

Difference between --rbind and --bind in mounting

I am confused. Linux filesystem is a tree structure, with the root node(starting node) as the root directory. Now let's suppose I have a folder abc at location /home/abc and another folder xyz at ...
3
votes
1answer
1k views

How to make umount wait, until a device is not busy?

I have a bash script file where I execute a bunch of commands. #!/bin/bash umount /media/hdd1 umount /media/hdd2 something1 something2 But since the comands later in the file work with the umounted ...
0
votes
0answers
36 views

Repartitioning after LVM partitioning

I installed Ubuntu 16.04 using LVM method. Now while trying to re-partition HDD using Gparted, I saw that my HDD present situation is like this : LVM is using the entire part of extended space. (...
1
vote
1answer
65 views

Cannot hide Google Drive icon from nautilus menu

Ever since I had selected my google drive account as my default storage location in Déjà Dup, an annoying icon with the name of my account shows up at the right side of my nautilus menu. When I ...
3
votes
0answers
547 views

Partition cannot be unmounted “Volume is busy” on Ubuntu 18.04.1 . Offending process - jbd2/sdb4

With Ubuntu 18.04.1 on a fresh install, I sometimes cannot unmount my data backup partition. I was dd'ing a Linux iso from the partition /dev/sdb4 to a USB drive. Later, I exited the terminal, and ...
16
votes
1answer
5k views

How to umount non-sudo sshfs created directory

I used sshfs without sudo to create a directory like sshfs user@172.19.76.226:/media/user/harddrive /temp/user/harddrive but when I want to umount the /temp/user/harddrive directory with umount /...
1
vote
0answers
135 views

gparted gives an error when checking the xfs file system

I use ubuntu 16.04 (64). An additional, non-system drive is formatted in XFS. After a power failure, I decided to check it. Gparted report: GParted 0.25.0 --enable-libparted-dmraid --enable-online-...
4
votes
2answers
1k views

Why unmount a partition before overwriting the disk?

How to create a bootable Ubuntu USB flash drive from terminal? Why do guys here use umount first? I assume USB flash drive should be formatted first, so does umount format the disk, or just detach ...
2
votes
1answer
167 views

How to exclude files from ubdatedb?

Yesterday, while trying to unmount our (davfs2 mounted) work webdav server from my filesystem, I got device is busy. Running sudo lsof | grep /mountpoint/of/davfs, revealed that the culprit was ...
3
votes
1answer
971 views

Unmount SSHFS from Nautilus (with umount)

I can mount an SSHFS like this: sshfs -o idmap=user SSH_HOSTNAME:/ ~/mountpoint Now it's nicely displayed in Nautilus like a removable device with an eject button. On clicking that button though, I ...
1
vote
3answers
143 views

Allow certain exit codes to not abort execution in bash “-e” mode

If umount returns 0 as the exit code, this script continues. Some times, the exit code is 127, I'm okay with it and the script should continue. How can I modify the script to do such a "whitelisting" ...
0
votes
0answers
597 views

Contradictory mount errors

Can anyone explain how I can unmount a disk in order to perform an fsck? I get contradictory errors: fred@ARAGORN:/media/fred$ sudo fsck /dev/sdd1 fsck from util-linux 2.20.1 e2fsck 1.42.9 (4-Feb-...
0
votes
1answer
72 views

How to clean '/dev/sdx' cache?

I'm facing a problem in my ubuntu system, as it is for testing, I usually issue the command: echo "scsi add-single-device 0 0 0 0" > /proc/scsi/scsi I'm just using the ata1 port. When I finish ...
0
votes
1answer
349 views

How to umount usb drive? [duplicate]

I am a newbie Linux User I wrote a Lubuntu image to my 8GB usb drive, and made it bootable, using the dd command. After that I wanted to format it or make it umount but when I plug it to my PC I ...
0
votes
0answers
73 views

“start” and “stop ” missing of update-rc.d command

I noticed ubuntu slowing down at restarting process after I set in "/etc/fstab" auto mount NAS directory using cifs. solution is found in thread at link, but warning message shown. it seems "start" ...
0
votes
0answers
131 views

Cannot change permissions on a read-only USB Drive

I having problems changing permission on my usb drive. I have tried sudo umount /media/usb-drive but I get this umount: /media/usb-drive: not mounted I also tried using GParted to unmount, which ...
5
votes
2answers
46k views

umount: /: target is busy

When I ran the command umount /dev/mapper/ubuntu--gnome--vg-root I I got : umount: /: target is busy (In some cases useful info about processes that use the device is found by lsof(...
3
votes
1answer
3k views

How to unmount a live DVD/USB?

I need to burn a new live DVD (Debian 8.0) from an Ubuntu 16.04 live DVD. the live DVD is the device /dev/sr0 mounted on /cdrom the blank DVD to be burnt is also located at /dev/sr0 Changing the DVD ...
1
vote
1answer
186 views

How can I get a message that says when you can unplug a usb stick safely?

I have a memory stick. when data is being written, the led flashes. I right click, and select eject, the led will flash and when it stops I will unplug it. Other memory sticks, do not have LEDs, how ...
1
vote
2answers
73 views

Graphical umount application

Is there some application to graphically view which partitions are mounted and be able to unmount them from the GUI? Like on Windows -> My Computer -> Eject.
0
votes
0answers
27 views

How can I unmount /dev/sda7 [duplicate]

I can't unmount /dev/sda7 partition. This is my present situation of my partition. How can I do it? I need to unmount it for partitioning.
37
votes
3answers
20k views

Small snap loop devices visible in gnome-disk-utility OR what is the function of snap ubuntu-core

I just realized using gnome-disk-utility (3.18.3.1) that my 16.04 installation is featuring several small loop devices. In detail: 78 MB Loop Device (/var/lib/snapd/sn_ntu-core_352.snap -> /dev/...
3
votes
1answer
73 views

How can I safely remove an external disk using the launcher icon?

The following animation demonstrates how I tried to safely remove an external USB 2.0 hard disk. However, each time I click on safely remove, the disk is being mounted again. Animation: I can, ...
0
votes
0answers
33 views

Mount an ext hard drive and then delete the target mount folder

I'm new to Ubuntu server and wanted to set up Plex on it. I have an old laptop running Ubuntu server 16.04.1 I got an WD external hard drive with a movies folder. Mount point: /media/usb/plex_data/ ...
0
votes
0answers
410 views

Unable to mount /tmp to /mnt/tmp properly

I have a EC2 instance, and I have a very small /tmp size which I want to increase. So I tried to mount /tmp to /mnt/tmp using: sudo mount -B /tmp/ /mnt/tmp/ This did mount it to /mnt/tmp. But when I ...
1
vote
0answers
21 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
935 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> ...
3
votes
1answer
69 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 /...
1
vote
1answer
149 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
4k 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 ...
0
votes
1answer
1k 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 ...
0
votes
1answer
4k views

How to mount an unmounted USB device Ubuntu 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
1k 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
228 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
2k 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
869 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
5k 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 ...
5
votes
1answer
3k views

How to check what are using the mounted disk when I want to eject 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
91 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' ...
0
votes
3answers
79 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 ...
27
votes
5answers
45k 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 ...
6
votes
2answers
18k 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
661 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
12k 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.
4
votes
0answers
431 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
4k 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'...