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
1
vote
0answers
35 views

Trying to use extundelete for recovering a “rm -rf”ed directory. But receiving this: extundelete: No such file or directory /dev/sda5

so I accidentally deleted a dirrectory using "rm -rf". I am trying to recover is using extundelete. So far I have done these: $ sudo umount -l /dev/sda5 $ extundelete --restore-directory {...
0
votes
0answers
42 views

Trying to install a fresh version of Ubuntu did not go well, now there is no OS installed at all

this is gonna be painful to read because it's been a very long time since I did anything with my laptop other than just idle use, but here goes: I was having some issues with my Asus Model No. F555U, ...
0
votes
1answer
19 views

When should shared NFS dir be unmounted?

I am using NFS services to copy files from the shared directory to another directory on the client (not part of the mount). I don't need NFS services to be running at all times so, once the files are ...
0
votes
0answers
57 views

How can I fix a stuck NFS without rebooting server?

My environment: I have three servers in my studio. Server A is an NFS server, server B and C are NFS clients. Server B and C mount A:/raid/data on local /data. SELinux is disabled, ufw is not ...
0
votes
0answers
52 views

umount fail during install of lubuntu 20.04

While installing lubuntu 20.04 on a Lenovo X220 with 500GB ssd, I get the below message when the installation fails. Here is the message: Installation failed Boost.Python error in job "umount&...
35
votes
3answers
9k views

I accidentally ran “sudo umount -a” and now have no access to anything

Now I can't remount anything and get access back. How can I fix it? sudo returns sudo: effective uid is not 0, is /usr/bin/sudo on a filesystem with the 'nosuid' option set or an NFS filesystem ...
0
votes
2answers
576 views

Kubuntu 20.04 Hangs Before Every Reboot (Failed to umount /oldroot)

I'm running a fresh install of Kubuntu 20.04. Every time I reboot, it hangs for several minutes with the last line shown as: [ OK ] Reached target reboot. Several minutes later, it finally proceeds ...
0
votes
0answers
64 views

How to remount snap packages after `umount -a`

I have opened my laptop today and several icons on my side panel were blank and the corresponding programs unopenable. The main suspected reason is those programs were all installed using snap, and ...
1
vote
0answers
189 views

Trying to mount a re-writable CD to my file system

I am following along with "The Linux Command Line" 4th Internet addition. I am learning how to mount file systems and have been instructed to run the following commands to do so: mount In the books ...
1
vote
2answers
4k views

Failed to unmount /oldroot/dev warning during the shutdown or restart

After Upgrading from 18.04 to 20.04 I've notices several warnings during shutdown or reboot like: Failed to unmount /oldroot: Device or Resource busy Failed to unmount /oldroot/dev/pts: Device or ...
0
votes
0answers
39 views

Ubuntu does not start due to too little disk space

In my computer I have 2 disks. I have one that runs Windows 10 and one that has Ubuntu on it. I also have a partition for my personal files (this is mainly used by Windows so it is a NTFS file system)...
1
vote
3answers
168 views

Booting Ubuntu even if remote share is offline

In my /etc/fstab I use the following: //192.168.5.167/H /mnt/ssd ssd credentials=/root/.smbreds 0 0 But in case if the drive on Windows is not connected or Windows machine is not running, Ubuntu ...
0
votes
1answer
3k views

How to rescan USB device?

Since when I use The Files to umount the USB device(not console umount command), ubuntu will also remove the block device, I can't click to mount that again. If I don't want to unplug and plug the USB ...
1
vote
1answer
965 views

Unmount by UUID?

I'm building a script and am able to mount by uuid using mount -U UUID, but I can't seem o unmount by uuid. Is this type of operation possible? How would I do it? umount doesn't seem to have this ...
0
votes
1answer
275 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 ...
1
vote
1answer
2k 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
276 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/...
11
votes
2answers
11k 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
3k 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
44 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
134 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
1answer
1k 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 ...
20
votes
2answers
21k 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
198 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
2k 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
390 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
1k 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
217 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
1k 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
81 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
491 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
85 views

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

I noticed that Ubuntu is slowing down at restarting process after I set in /etc/fstab auto mount NAS directory using cifs. The solution is found in this thread by Help Ubuntu ...
0
votes
0answers
149 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 ...
10
votes
2answers
71k 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
4k 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
284 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
155 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.
48
votes
3answers
27k 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
123 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
36 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
497 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
35 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
3answers
1k 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
72 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
174 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
2k 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
5k 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
2k 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
470 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 ...