Questions tagged [unmounting]

The tag has no usage guidance.

29 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
2answers
2k views

ecryptfs: auto-umount does not work

I've set up an encrypted home directory for user piranha3: root@raspberrypi:~# ecryptfs-verify -u piranha3 -h INFO: [/home/piranha3/.ecryptfs] exists INFO: [/home/piranha3/.ecryptfs/Private.sig] ...
7
votes
1answer
501 views

How do I cancel a stale “pending” drive mount with error “An operation is already pending”

The An operation is already pending error is very generic and many things can cause this. (other answers don't relate to my problem). I have a Luks encrypted volume that I clicked to open, a password ...
4
votes
0answers
109 views

Fedora 25 medialess installation

Trying to install Fedora 25 on my laptop. I was still running an old Fedora 20. However, I can't burn a DVD and I don't have access to a USB media either. So, I tried with this method . It works ...
3
votes
0answers
1k views

Why is systemd unmounting my fuse file systems right after I mount them?

I am trying to troubleshoot an issue with a fuse library, where my fuse file system is mysteriously unmounted shortly after mounting it. After screwing around with a bespoke unmount executable that ...
3
votes
0answers
6k views

Mounting windows share using mount -t cifs

All, I have a SUSE SLES 11 box running samba. I am running this command: mount -t cifs //ip/dir1/dir2 /mnt/backups -o username=user,password=pwd,domain=domain Which works and mounts the drive ...
2
votes
0answers
222 views

How unmounting closes file descriptors?

Checking currently open files on my /Volumes/UNTITLED gives me 2 entries: $ sudo lsof /Volumes/UNTITLED/ COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME mds 62 root 8r DIR 1,6 ...
2
votes
0answers
901 views

Unmount external drive with LVM2 Physical Volume on it

I've got my Ubuntu 13.04 install backed up to my external hard drive using deja-dup. I formatted the drive with lvm so I could use the rest of the drive for external storage while having the resize ...
2
votes
0answers
608 views

Fedora 18 doesn't shutdown , restart or sleep / can not unmount all file systems

When I do something (whatever) that results in a shut down, restart or sleep (for example usual shut down or restart, closing the lid, etc.), fedora 18 (x86_64 , GNOME desktop) comes up with an error (...
1
vote
0answers
199 views

Is it necessary to explicitly flush the HDD on-disk write caches?

Abstract Sometimes, the Linux kernel is not aware of on-drive write caches of external USB storage devices. Is it necessary in such situations to explicitly flush those caches prior detaching these ...
1
vote
0answers
78 views

Can mount but cannot umount without password

I want to mount/umount a directory on an nfs directory without root privileges or any password request. I modified /etc/fstab in this way: <IP address>:/mydir /mnt nfs rw,user,noauto ...
1
vote
0answers
108 views

SELinux prevents auto-umount of ecryptfs

I'm running SELinux and ecryptfs on a Debian machine. When a user logs out, unfortunately it's home directory is not unmounted, and I get the following error in audit.log: type=USER_AVC msg=audit(...
1
vote
0answers
818 views

Unmounting external drive takes tremendously long

This morning I copied around 200GB of data to a quite old USB2.0 1TB external drive. The copying took around 2 or 3 hours. Afterwards I unmounted & the unmounting is still going on (after more ...
1
vote
0answers
307 views

Failed umount /home (ZFS) on shutdown

During shutdown I notice an error reported in the logging messages on the screen that the umounting of /home (a ZFS filesystem) failed. (After restart I don't find any respective log entry in the ...
1
vote
0answers
813 views

Unmount NFS shared drive without stopping nfs-kernel-server

I have a setup in which I have a Raspberry Pi B+ with Raspbian as file server, sharing a 5 disk usb rack. I don't whant the rack to be on all the time, so I turn it on when I'm going to use it and ...
1
vote
0answers
106 views

Unable to unmount a partition - respawned by udev

I have set up the udev rules to automatically mount/unmount the removable devices with udev rules based on the answer to "How to mount removable media in /media/<LABEL> automatically when ...
1
vote
0answers
2k views

Unmounting shares on logout with pam_mount

I am using pam_mount to mount cifs and sshfs shares for users when they log in to an Arch Linux workstation. I have the a volume line in /etc/security/pam_mount.conf.xml: <volume user="strongbad" ...
0
votes
1answer
14 views

How to stop “failed to unmount /usr/” errors during shutdown in Debian?

I just installed Debian 10 from disk. Whenever I shutdown, I get a single message displayed on screen, "Failed to unmount /usr/". What can I do to correct this? Is this error likely causing damage to ...
0
votes
1answer
22 views

How can i get alerted when EFS is unmounted fro Linux EC2 instance?

I do not want to use Cloudwatch want to use shell script for this , Could you please suggest? Actually i have written a script as below: But its not alerting me when the EFS is unmounted. #!/bin/...
0
votes
1answer
96 views

Debian NFS auto-unmount if the host PC is turned off

I have a home network with two Debian Stretch PCs. In each one, I have a directory called share, shared via NFS, where I put stuff I want to copy from the other PC through NFS. After auto-mounting on ...
0
votes
2answers
45 views

Can a script unmount the volume containing itself?

I have a computer with a hard drive mounted read-only. I am running a script from a flash drive. I would like the script to be able to unmount the flash drive, but this can't be performed as the ...
0
votes
1answer
100 views

Lazy unmount root jail drives

I have created a root jail containing rpm and yum (centos 7.5) to install some software on the original system. Workflow Mount sys, proc, dev to the root jail Mount root of the original system "/" ...
0
votes
0answers
23 views

Can mount my Nas from desktop which is exactly what I want but can't unmount

I have the following fstab entry: //192.168.0.12/Public /home/mike/Nas cifs rw,guest,vers=1.0,iocharset=utf8,_netdev,noperm,noauto,user 0 0 This allows me to click on NAS under devices on my desktop ...
0
votes
0answers
300 views

Wait to Mount Until Process Not Busy

I am writing/reading to an SSD over NVMe. I would like to unmounts the SSD partitions and remount them after writing and before reading so as to avoid caching problems. It seems when I try to perform ...
0
votes
1answer
124 views

Plasma keeps remounting my cifs share

I have this mount configured in /etc/fstab: //192.168.5.1 /mnt cifs auto,x-systemd.requires=network-online.target,x-systemd.device-timeout=5 0 0 I've tried unmounting it every possible way: ...
0
votes
1answer
595 views

Unmount MTP device via command line

My MTP device auto mounts on the desktop every time I boot or re connect the camera via usb. The problem is my code to copy files does not work unless the MTP device is first unmounted from the ...
0
votes
1answer
441 views

How do I set up a udev rule to mount the SanDisk Cruzer USB upon insertion in order to eliminate an fstab entry?

Suppose I run sudo mount -a after setting /etc/fstab to: /dev/usbhd1 /path/to/mount/point ntfs rw,auto,nofail 0 1 Yesterday, upon asking what steps our architect and I should do next after a ...
0
votes
1answer
201 views

How often does the tcpdump save into the file

I've got an question, concerning the tcpdumd. Does it save the data directly in the File you can give it with -w, or does it save when it's stopped? So if it was writing on a usbstick, can I just ...
0
votes
0answers
69 views

Linux dual boot wiped Windows data

I have a Windows Vista/Debian Linux dual boot on my computer. Yesterday I did a bunch of work on Windows, while Linux was hibernated. Today I logged into Linux and tried to look at the data in the ...
0
votes
0answers
193 views

Is there any suggestion to my shell script that (un)mounts an ISO file in order to make it better and safer?

I wrote a script to mount / umount an iso file by detecting whether the /media/iso-file-name exists. Any suggestion for the script as below in order to make it better and safer? #!/bin/bash ...