Questions tagged [umount]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
105 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 ...
1 vote
1 answer
638 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?
  • 430
0 votes
1 answer
233 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 ...
0 votes
1 answer
454 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 ...
0 votes
1 answer
341 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> &...
  • 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 ...
  • 121
0 votes
1 answer
1k 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
1 answer
65 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
0 answers
1k 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 /...
  • 11
5 votes
1 answer
905 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
0 answers
50 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 ...
  • 101
2 votes
1 answer
425 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
1 answer
1k 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
0 answers
212 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 ...
  • 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). ...
  • 21
4 votes
2 answers
8k 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 ...
  • 1,923
0 votes
1 answer
6k 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
1 answer
240 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
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 ...
  • 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 ...
  • 156
0 votes
1 answer
386 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 ...
13 votes
1 answer
5k 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 ...
  • 131
0 votes
1 answer
723 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
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 ...
  • 245
0 votes
1 answer
4k 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
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 ...
3 votes
1 answer
12k 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
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 ...
  • 2,024
0 votes
1 answer
543 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
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/...
  • 1,871
4 votes
3 answers
2k 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 ...
  • 7,788
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 ...
  • 7,788
3 votes
3 answers
19k 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. ...
  • 1,019
6 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 ...
  • 173
7 votes
3 answers
17k 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 ...
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@...
  • 2,299
23 votes
7 answers
59k 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. ...
  • 2,912
0 votes
2 answers
366 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 ...
  • 549
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
607 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 ...
  • 935
2 votes
2 answers
172 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% /...
  • 2,663
0 votes
0 answers
986 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:...
  • 16.2k
17 votes
4 answers
35k 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 ...
  • 16.2k