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.

28 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
490 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)...
MetaChrome's user avatar
3 votes
1 answer
149 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, ...
orschiro's user avatar
  • 13.3k
1 vote
0 answers
222 views

Desktop "eject" or "quit" does not unmount usb media

I use a USB device with SD-card slots. It works fine, but I cannot seem to unmount it on a proper way from user space. Right clicking on the memory stick icon and selecting "eject" does ...
Per Strömgren's user avatar
1 vote
0 answers
829 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 {...
pigwidgeon's user avatar
1 vote
0 answers
272 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 ...
fajin yu's user avatar
  • 179
1 vote
0 answers
768 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 ...
nrmad's user avatar
  • 143
1 vote
3 answers
752 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 ...
Ciasto piekarz's user avatar
1 vote
0 answers
665 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-...
gladwin's user avatar
  • 11
1 vote
2 answers
284 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.
Smeterlink's user avatar
1 vote
0 answers
77 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/ ...
Håkon Hægland's user avatar
0 votes
0 answers
36 views

umount2() for an NFS mountpoint returns EPERM, even when called as root

I'm running Ubuntu 20.04, but I've had this problem back to Ubuntu 14.04. I've been trying to automate unmounting NFS mounts when my VPN connection closes, but no matter how I call "umount", ...
Vince's user avatar
  • 1
0 votes
0 answers
135 views

Is there a way to fix bad block without unmounting?

I was thinking about running a bad sector check up on my system. Is it possible to do that without unmounting the primary filesystem? I want to check it on the system that is currently running.
Sohan Arafat's user avatar
0 votes
1 answer
214 views

Unmount volume, and dependent mounts

I explain: Currently I have: A volume mounted to a directory, /mountDirectory And I also have a local directory that has a mount bind to a directory on the volume: /localDirectory mount bind /...
Annie's user avatar
  • 13
0 votes
0 answers
280 views

Undo `mount --rbind /dev ./chroot/dev`

I've executed mount --rbind /dev ./chroot/dev for using in chroot'ed environment. Then I wanted to unmount it and executed umount ./chroot/dev but it fails with error: umount: ..../chroot/dev: target ...
Ihor Drachuk's user avatar
0 votes
2 answers
922 views

I'm having an issue with when I'm trying to use umount command to unmount my usb flash drive

I'm using Virtualbox and SEED Ubuntu 16.04. I'm trying to unmount my flash drive with the command sudo umount /dev/sdb1, assuming that my USB is attached as sdb1. However I would get this error saying ...
betho's user avatar
  • 1
0 votes
0 answers
84 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, ...
user909877's user avatar
0 votes
1 answer
393 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 ...
gps's user avatar
  • 1
0 votes
0 answers
1k 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)...
AdamVarga's user avatar
0 votes
1 answer
642 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 ...
Akh's user avatar
  • 101
0 votes
0 answers
80 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. (...
Spectra's user avatar
  • 211
0 votes
0 answers
2k 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-...
Rob190's user avatar
  • 1
0 votes
0 answers
132 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 ...
sh1's user avatar
  • 3
0 votes
0 answers
52 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/ ...
JoakimE's user avatar
  • 121
0 votes
0 answers
736 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 ...
SureshS's user avatar
  • 101
0 votes
1 answer
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 ...
Krzysztof Stanisławek's user avatar
0 votes
1 answer
802 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 ...
Antonino's user avatar
  • 121
0 votes
1 answer
711 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 ...
user250453's user avatar
0 votes
2 answers
7k 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'...
easynhappy's user avatar