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
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)...
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, ...
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 ...
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 {...
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 ...
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 ...
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 ...
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-...
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.
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/
...
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", ...
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.
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 /...
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 ...
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 ...
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, ...
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 ...
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)...
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 ...
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. (...
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-...
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 ...
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/
...
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 ...
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
...
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 ...
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 ...
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'...