Questions tagged [umount]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
150 views

How to properly unmount a bind mount?

In order to create a chroot, I often do something like: mount --bind /dev ./dev But when I try to unmount ./dev, it sometimes attempts to unmount/redirect to /dev instead. How to tell I want to ...
user2284570's user avatar
  • 1,823
0 votes
0 answers
66 views

I cannot umount system even if i have detached my HDD from system completely. Rsync process are open

I cannot umount system even if i have detached my HDD from system completely. Rsync process are open I detached my HDD from usb port completely but stills it shows it as mounted. I found that there ...
Estatistics's user avatar
0 votes
1 answer
983 views

lvresize fails: mount: /var: not mounted. Cannot proceed with mounted filesystem

I'm trying to resize the /var partition on debian 11.6. FYI: (I replaced the true volume group name with "xxx") # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda ...
ChristophK's user avatar
0 votes
1 answer
336 views

Cannot chown /media/daily directory

I created a /media/daily directory on which a USB key is mounted for a small daily backup by user's crontab. But it is now owned by root rather than user: $ ls -la /media | grep daily drwxr-xr-x 2 ...
Haines Brown's user avatar
1 vote
1 answer
2k views

How do I unmount (eject) a USB stick from the command line on Windows?

On Linux I can unmount a device with umount or eject. On Mac you can use diskutil. Is there a way to unmount devices so that they can be safely removed on Windows?
Att Righ's user avatar
  • 570
0 votes
1 answer
819 views

Having some issues trying to unmount the home partition and resize/split it

So i'm new to linux and I set up my drive poorly....basically too small of a root partition and too large of a home partition and I want to have a Mysql and Nginx partition as well for that data. I've ...
BostonMacOSX's user avatar
0 votes
1 answer
1k views

move hard-drive from /dev/sdb1 to /dev/sdc1

During a backup procedure in a bash script, I should remount a hard-drive mounted on dev/sdb1 onto dev/sdc1. I am able to umount /dev/sdb1, but then I loose track of the device. After shutting down ...
Marcel Sonderegger's user avatar
0 votes
1 answer
723 views

Mismatch between /etc/fstab and /etc/mtab

I have a mismatch between /etc/fstab and /etc/mtab. # cat /etc/fstab # /etc/fstab: static file system information. # # <file system> <mount pt> <type> <options> &...
JohnyTex's user avatar
  • 337
2 votes
1 answer
1k views

/var, /var/log on separate partition fails to umount on shutdown, how to debug

As the title says, I have /var and /var/log on separate partitions. On shutdown, I get the error, that umount /var/log, and later umount /var failed. My question is: How to debug this issue? If ...
Zoltan K.'s user avatar
  • 121
0 votes
1 answer
2k views

Unmount busy filesystem

I'm trying to unmount a backup filesystem that I don't need anymore. When I run the "umount" command, system says: umount: /backup: target is busy And following commands does not work and same ...
Jo Shepherd's user avatar
0 votes
1 answer
77 views

Disk encryption utility does not start after emergency reboot during upgrade

I have Arch Linux and disk encryption installed. During an update, the system hung and I used a keyboard shortcut (Ctrl + Alt + Del), which was a big mistake on my part. A shutdown occurred during the ...
M.Planck's user avatar
1 vote
0 answers
2k views

how to get fsck to work on a LUKS encrypted partition that for some reason will not umount

openSuse 42.3 (KDE) logged in as root LUKS encrypted /home partition (is /sda4 a primary partition no LVM) is not accessible on boot although unlocked. Apparently a bad block exists. fsck.ext4 -nf /...
Adi's user avatar
  • 11
5 votes
1 answer
1k views

mount and umount behaving differently when run under cron

Running CentOS 6 in AWS, and what I'm seeing is baffling me. There is an s3fs mount in /etc/fstab that sometimes loses its ability to read and write from. I have a cron job that worked great for ...
Joshua Grigonis's user avatar
0 votes
0 answers
56 views

Ubuntu 14.04 - need help on umount

I am using Ubuntu 14.04. I am trying to create a bootable memory card for my tinkerboard. When i do lsblk I get the following output: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 ...
Apricot's user avatar
  • 101
2 votes
1 answer
444 views

Why my Fedora 26 is not unmounting /home?

I just upgraded to Fedora 26. Everything is working fine, except for a strange umounting problem at shutdown: /home and Temporary directory partitions are not being umounted. This is the boot message: ...
Luis A. Florit's user avatar
1 vote
1 answer
2k views

PowerShell Script unmounting All mounted images [closed]

Just started using PowerShell Script. I have created scripts for my kids, that Mount a diskimage and then runs the executable for that game. Is there a way to make a a script to be run at logoff ...
user706438's user avatar
0 votes
0 answers
240 views

Remount of USB drive partition on /boot silently failing after umount

I set up an openSUSE 42.1 installation where the /boot partition is located on a USB flash drive, while everything else is using LVM volumes inside LUKS containers. So far everything seems to work ...
davil's user avatar
  • 101
0 votes
1 answer
1k views

removed devices still appear as attached

Linux, Centos 7 I removed USB hard drives from my machine. They are /dev/sdb and /dev/sdc. I think they were not properly umounted before removal. I have since tried to umount them (also with -l). ...
Mike T's user avatar
  • 21
4 votes
2 answers
10k views

umount device or mount point?

Is there a more-correct way to unmount a device/filesystem/etc? Should I umount the device I originally mounted or the mount point? mount /dev/sda1 /mnt/myusbstick do stuff umount /mnt/myusbstick ...
tarabyte's user avatar
  • 2,323
0 votes
1 answer
8k views

How to properly clone /dev/sda on /dev/sdb

I have two hard disks with the same sizes - represented as /dev/sda and /dev/sdb. I am trying to copy /dev/sda on /dev/sdb. /dev/sda has one ext3 partition. /dev/sda and /dev/sdb have the same ...
nikozavar's user avatar
4 votes
1 answer
281 views

Using dd command fails after the first mount

I am using dd command to copy disk drive /dev/sda on /dev/sdb. What I do is the following: I run dd if=/dev/sda of=/dev/sdb then mount /dev/sdb1 (note that /dev/sdb1 is not mounted on boot) to make ...
nikozavar's user avatar
1 vote
1 answer
1k views

How to unmount dvd (external usb) via eject button on device?

I have an problem with my external usb Dvd-Drive. Everything works fine, the mount works, unmount or eject via shell works. But if I press the eject button on the device it just eject the dvd but does ...
SimonA's user avatar
  • 43
0 votes
1 answer
1k views

How to recover from an "umount -a -l"

So I did this silly thing: umount -a -l And had nothing in my fstab so couldn’t do mount -a So I thought: “It will be ok when restart” … But no. Now I'm stuck at launch and I don't have anything ...
Boop's user avatar
  • 176
0 votes
1 answer
422 views

Does linux perform a pumount on shutdown?

I'm using raspbian debian wheezy. I automatically mount USB drives using usbmount. I mount FAT usb drives with the flush option. Now I was wondering. When I shutdown my pi, does it perform the umount ...
user3673517's user avatar
14 votes
1 answer
6k views

How to stop jbd2 to release a device

In an AWS EC2 instance, we have multiple EBS volumes. When I try to detach any of them, the umount command works, but the device can't be detached. # grep -c xvdj /proc/mounts 0 However, lsof ...
Ayose's user avatar
  • 141
0 votes
1 answer
763 views

Error mounting fstab

I have read many questions and answers in this and other forums before asking. I watched videos on Youtube to learn how to deal with the fstab file too. So forgive me for bringing back this doubt ...
Leonardo Pinheiro's user avatar
1 vote
1 answer
2k views

fuse + encfs, can mount but cannot unmount with fusermount

I created two directories in home, and mounted them with default configurations with encfs. That worked well enough, the file system is mounted and encrypted fine. The odd part now is that I cannot ...
ccook's user avatar
  • 245
0 votes
1 answer
5k views

device or resource busy, despite that it is not mounted and nobody is using it

> sudo rmdir workspace/log rmdir: failed to remove `workspace/log': Device or resource busy >sudo umount workspace/log umount: workspace/log: not mounted >fuser workspace/log > >lsof ...
user322908's user avatar
1 vote
3 answers
2k views

How to unmount a USB drive which is not mounted under /media directory

I am running Gnome 3 on Debian Wheezy. I want to unmount a USB drive without sudo or root privileges. I've googled and found out that there are eject and pumount commands available. However, those ...
The_Cute_Hedgehog's user avatar
3 votes
1 answer
13k views

Partition went read-only, how to mount it again?

Every now and then the partition of my Linux installation goes read-only. Since the computer is a laptop, I suppose it's due to some writing error caused by some harsh movement. Partition was mounted ...
Quora Feans's user avatar
0 votes
1 answer
1k views

How to umount file.tar.bz (that was mounted with archivemount) without needing sudo

As a regular user I mount my archive files with this: #!/bin/sh ARCHIVEF=$(zenity --file-selection --filename=/shared/); archivemount $ARCHIVEF /media/archivemount/ Unfortunately, sudo is required ...
MountainX's user avatar
  • 2,104
0 votes
1 answer
550 views

LXDE - what command is isued when "eject" icon is pressed to umount FS

Hello I have Fedora 16 with LXDE and I want to connect ipod shuffle 2nd gen 1GB. According to this page ipod shuffle led blinking codes when amber LED is blinking this means that device is accessing ...
Wakan Tanka's user avatar
0 votes
2 answers
3k views

How to umount vdi mounted with vdfuse

in my Ubuntu 12.10 machine install virtualbox-fuse and mount a .vdi file but now i dont know how to umounted Command used to mount .vdi file $ vdfuse -f /home/rkmax/win.vdi /mnt $ mount /mnt/...
rkmax's user avatar
  • 2,171
4 votes
3 answers
3k views

What exactly happens when you "mount" a drive?

What underlying things happen when you mount a drive. Even when a drive isnt mounted, it is visible to the computer (such as sudo fdisk -l / diskutil -list). When a drive is mounted, is all that is ...
agz's user avatar
  • 8,278
0 votes
1 answer
1k views

Why do macs require to eject usb, but windows and linux dont?

Why do macs require a usb drive to be ejected, but windows and linux do not? Is a umount occuring on the mac?...if so why doesnt linux need a umount?...also if so, what is the windows equivalent of ...
agz's user avatar
  • 8,278
3 votes
3 answers
21k views

why can't I umount /home?

I'm trying to create a new partition on my Linux system, my intent is to take a small amount of my /home filesystem and change the type for experimentation. I'm using OpenSuse 12.1 in a virtual box. ...
Mike's user avatar
  • 1,049
7 votes
3 answers
2k views

Why Linux /etc/fstab UUIDs are case sensitive?

I recently added a line for a USB memory stick to /etc/fstab, to be able to mount it automatically, using UUID to identify the device. Before I already have several external ext4 drives that have ...
nrz's user avatar
  • 183
7 votes
3 answers
19k views

How to umount / ? It's busy

I'm trying to use zerofree, which seems to be the answer for this: How to reduce VM size? I have successfully umounted /dev/sda1, and zerofree worked fine, releasing ~37gb. But I can't seem to ...
HappyDeveloper's user avatar
17 votes
1 answer
14k views

Why is "sudo unmount" required for unmounting an sshfs-mount if it was mounted without sudo privilges?

I have an sshfs FUSE filesystem mounted in ~/mountpoint. I tried umount mountpoint and diskutil unmount mountpoint (on a Mac here) and both failed. I used sshfs -o IdentityFile=<key> user@...
kalaracey's user avatar
  • 2,329
26 votes
7 answers
69k views

Lazy umount or Unmounting a busy disk in Linux

I have read that it is possible to 'umount' a disk that is otherwise busy by using the 'lazy' option. The manpage has this to say about it: umount - unmount file systems -l Lazy unmount. ...
deed02392's user avatar
  • 3,042
0 votes
2 answers
390 views

Unmount One hard-drive and re-mount it as another directory in Unix

I recently got my first Unix Dedicated Sever running CentOS I just ran df -h and found this: Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 ...
Moe's user avatar
  • 569
5 votes
1 answer
3k views

How do I umount device that has been mounted twice

I have a /dev/sdf mounted to /mnt/db and accidentally mounted it again to /mnt/db2 (I intended to mount /dev/sdh). Is there any way to umount /dev/sdf but only for the 2nd mount? The /mnt/db ...
user avatar
0 votes
1 answer
618 views

Explain why unmounting of DVD/CDROM media via command line says "its busy"

I'm communicating a bug on Bugzilla regarding DVD and HFS+ with Fedora 15 that requires me to mount many disks to my system. (I'm not CS, nor am I a newbie so there are bits here and there missing ...
xtian's user avatar
  • 995
2 votes
2 answers
226 views

Unmount unnecessary drives

My disk position looks like this: # df -HP Filesystem Size Used Avail Use% Mounted on /dev/sda2 256G 177G 67G 73% / /dev/sda1 510M 18M 467M 4% /...
shantanuo's user avatar
  • 2,763
0 votes
0 answers
991 views

How to free up block device that is mounted to an inaccessible place?

root@vi-notebook:~# cat /proc/mounts | grep raidy /dev/md0 /root/e/i/wpc2/boot/mnt/raidy reiserfs ro,nosuid,nodev,noexec,noatime 0 0 root@vi-notebook:~# umount -n /root/e/i/wpc2/boot/mnt/raidy umount:...
Vi.'s user avatar
  • 17.2k
17 votes
4 answers
45k views

How to really force unmount a filesystem (without manual investigation why is it busy)

How to unmount a filesystem in Linux without investigating why is it busy? I want to do it in one command. It should handle applications using that filesystem, submounts, containers (lxc-execute -n ...
Vi.'s user avatar
  • 17.2k