Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [umount]

The tag has no usage guidance.

0
votes
1answer
65 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 ...
0
votes
1answer
35 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 ...
1
vote
0answers
203 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 /...
5
votes
1answer
168 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 ...
0
votes
0answers
38 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 ...
2
votes
1answer
304 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: ...
1
vote
1answer
398 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 ...
0
votes
0answers
172 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 ...
0
votes
0answers
340 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). ...
0
votes
2answers
2k 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 ...
0
votes
1answer
2k 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 ...
4
votes
1answer
145 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 ...
1
vote
1answer
709 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 ...
0
votes
1answer
148 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 ...
0
votes
1answer
259 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 ...
10
votes
1answer
3k 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 ...
0
votes
1answer
598 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 ...
1
vote
1answer
1k 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 ...
0
votes
1answer
3k 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 ...
1
vote
3answers
1k 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 ...
3
votes
1answer
8k 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 ...
0
votes
1answer
797 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 ...
0
votes
1answer
512 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 ...
0
votes
1answer
2k 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/...
2
votes
3answers
1k 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 ...
0
votes
1answer
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 ...
3
votes
3answers
11k 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. ...
4
votes
2answers
1k 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 ...
6
votes
3answers
9k 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 ...
15
votes
1answer
11k 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@...
17
votes
6answers
31k 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. ...
0
votes
2answers
346 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 ...
3
votes
1answer
2k 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 ...
0
votes
1answer
560 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 ...
2
votes
2answers
147 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% /...
0
votes
0answers
895 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:...
12
votes
4answers
26k 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 ...