The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
26 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
1answer
22 views

How do I automatically force a umount on a usb drive that has already been removed?

I have debian system that auto mounts an entry in my fstab file when a usb drive is connected. This is done so as a read only device The device is mounted to /media/usb1 If i'm in the console and ...
1
vote
0answers
27 views

ecryptfs: auto-umount does not work

I've set a encrypted home directory for user piranha3: root@raspberrypi:~# ecryptfs-verify -u piranha3 -h INFO: [/home/piranha3/.ecryptfs] exists INFO: [/home/piranha3/.ecryptfs/Private.sig] exists ...
0
votes
1answer
21 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 ...
1
vote
1answer
32 views

Safely remove needed before rebooting or shutting down computer?

Is it necessary to use the safely remove function to safely remove your usb stick or external hard drive before rebooting, shutting down computer, using standby or hibernation mode? (or is this done ...
2
votes
0answers
133 views

systemd: running a script on shutdown after filesystems are mounted read-only

Is there a way to run a script on shutdown, after the file system is remounted as read-only? I've a raspberry pi connected to a wireless socket, which I can control via a sender and a script. I want ...
3
votes
1answer
60 views

Why do you have to unmount a drive before formatting or resizing it?

I always have to unmount a filesystem/drive (like a USB) before formatting it or resizing it. Why is this necessary? On a related note (I feel like this would help me understand why it is necessary) ...
2
votes
1answer
511 views

Umount network drives with systemd before shutdown

My shutdown takes quite a long time (I'm on Debian 8.1) and I found out that it can be fixed by unmounting the network drive before shutting down the system. Apparently the network gets disconnected ...
2
votes
1answer
77 views

Partition still almost full but files seem to have been lost. What happened?

I'm running a dual-booting computer with Windows 7 and Linux Mint installed on it, and I am using a logical NTFS partition that can be accessed both from Linux and Windows. After having started ...
2
votes
0answers
240 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 ...
1
vote
0answers
60 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
1answer
127 views

Automatically run command before umounting a filesystem

I want to execute a command automatically shortly before a filesystem is unmounted. The command still needs the filesystem to be mounted but I am interested in information as "new" as possible. ...
1
vote
2answers
746 views

Debian: umount /media/usb0: “Operation not permitted”

I recently moved from Ubuntu 14.10 to Debian Testing. Under Ubuntu I had a shell script for backing up my home folder to a USB stick. The last line of the script unmounts the USB stick. Adapting it to ...
2
votes
1answer
356 views

Two *different* mountpoints having the *same* absolute path (bind-mount problem)

Scenario a NFS share is mounted on /mnt/temp/dir (and other shares are mounted in subdirectories), I umount everything there but supposedly, it doesn't work well (maybe I start with umount ...
1
vote
1answer
60 views

Having issues unmounting partition for debian install

I have a 50gb partition set up on my mac for installing debian, MS-DOS (FAT) format. I blessed it and am now unmounting it in order to copy the img file over. I'm using: $ diskutil unmountDisk ...
6
votes
2answers
4k views

Eject / safely remove vs umount

I'm using Ubuntu 12.04, and when I rigth click on a my flash drive icon (in the Unity left bar) I get two options that have me confused: eject and safely remove. The closer I came to answer was this ...
0
votes
0answers
59 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
277 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
1answer
299 views

How to unmount flash drive gparted says busy

I have a 4GB usb storage drive that I cannot save files to. I have copied the information I want from it, so now I would like to rescue is as a freshly formatted drive, if that is possible. There is ...
1
vote
1answer
67 views

On shutdown, do un-mounting drives happen before shutdown signal handling?

So based on my understanding of the Unix/Linux shutdown process (which is highly limited I admit), I think at some point these steps happen: 1. mounted drives get unmounted 2. a termination signal ...
2
votes
1answer
162 views

Free-ing up unused space on a partition that is unaccessible after a mount

Originally I had a 50GB disk where the root / was mounted to a 6 GB partition on it. The partition was running out of room so I created a second partition with the rest of the free space (44 GB). ...
3
votes
1answer
36 views

Is is possible to recover from the unexpected removal of the root device?

As it says on the tin, is it possible to recover from the entire removal and reinsertion of the root device (I.E. remounting it after reinsertion)? The reason I'm asking is I'm attempting to teach a ...
1
vote
0answers
70 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 this answer (have not enough reputation to comment there). The setup works fine, but when I ...
1
vote
1answer
284 views

Impossible to umount /mnt [duplicate]

I am running Debian kFreeBSD wheezy. Accidentally I mounted my zfs pool directly into /mnt. When I try to unmount I get an error: zfs unmount myzfspool cannot unmount '/mnt': Device or resource busy ...
3
votes
2answers
202 views

How to view files hidden by a mount on Debian 6

I have been trying for a while to view files, hidden by a mount on my device sporting Debian 6, to no avail, and being new to Linux, I am compelled to ask the question: How do you view files hidden by ...
2
votes
3answers
160 views

Un-mount active partition

Is it possible to umount the partition, whose files/directories are in use? The underlying files and directories are in memory so un-mounting the partition is technically safe (I guess). But umount ...
1
vote
0answers
2k 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 ...
1
vote
0answers
750 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" ...
3
votes
6answers
4k views

umount /home does not work

I trying to merge my separate /home partition with my / partition in linux mint 13. I was told to umount /home, mount it on a different location and copy the contents to the /home directory on the / ...
2
votes
1answer
39 views

Forcing compton to free directory

I often have trouble unnounting filesystems because compton is keeping a subdirectory open. Here is one line from lsof I have right now: compton 30043 valmi cwd DIR ...
6
votes
2answers
3k views

Recursive umount after rbind mount

When entering a chroot is sometimes necessary to mount /sys and /dev using -rbind instead of -bind in order to insure everything is in it's right place when somebody goes looking. The problem comes ...
4
votes
2answers
470 views

Rsync won't Give Up Writing to an Unmounted Remote Drive

I've been having issues with a external hard drive staying mounted to a mount point. That's not the topic of this question, but background info. The issue is with rsync. It doesn't seem to recognize ...
0
votes
2answers
103 views

unmount pendrive discarding changes

Is it possible to unmount a (FAT32-formatted) pendrive without committing changes? Use case: easy recovery of accidentally deleted files
0
votes
1answer
799 views

Should tmpfs be unmounted at system shutdown?

Assume I have a linux system with the following partitions mounted (beside root): proc on /proc devtmpfs on /dev devpts on /dev/pts tmpfs on /dev/shm sysfs on /sys tmpfs on /var/run tmpfs on ...
14
votes
3answers
45k views

Busy Device on Umount

I often experience a problem to umount a directory: umount /mnt/dir umount: /mnt/dir: device is busy There are many reasons why the device is busy. Sometimes there are processes running which have ...
1
vote
1answer
782 views

How to resolve when the IP of a NFS server changes

I have a Windows NFS server and several CentOS linux servers which were mounting volumes from it. The Windows server moved to a new network and even though DNS works and the NFS mount was mounted by ...
2
votes
0answers
265 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 ...
3
votes
1answer
2k views

umount failed: device busy

I have a folder in /tmp that is mounted as ramfs. After some action that my script does, I delete everything inside said folder with the command: rm -R -f "$tmp_dir"/{*,.*} Then, I try to unmount ...
1
vote
1answer
559 views

How to trigger mount/umount before/after hibernation?

How to trigger mount/umount before/after hibernation? I use s2disk. Note: Debian
2
votes
0answers
30 views

Cannot Remove (Unmount) Server Share (NFS) from Mount List [duplicate]

Note on Duplicate - This has been marked as a duplicate quite a few times, so can someone link me to a solution which works for me? Because everything I've tried in all the other posts I've found, ...
3
votes
1answer
4k views

sshfs - can't unmount the point

I mounted a folder on a remote machine using sshfs, but didn't specify -o allow_other flag thus can't access the mounted directory. When I try to mount over with -o allow_other option sshfs gives me ...
2
votes
1answer
323 views

Can AutoFS keep a share permanently mounted on Solaris?

I have a share mounted on an Oracle Solaris application server that read/writes data onto the share periodically. I have automounted it with a timeout of over several minutes but is there a way to ...
9
votes
2answers
14k views

Bash scripting - loop until return value is 0

I need to umount something in my script, but sometimes it unmount's before all of the data has finished being copied and causes the umount to fail. I looked for a way to do a "blocking" umount, but I ...
2
votes
0answers
530 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 ...
13
votes
3answers
1k views

Horrible situation - file systems mounted simultaneously by multiple independent OS instances

How do I get out of this situation safely? Details are as follow: A xen server has got block devices allocated to VMs. But these devices have also been mounted inside Xen. In fact 44 of these ...
0
votes
2answers
2k views

Fedora 18 safe remove usb drive

How can I safe remove a usb drive from the Gnome 3.6.2 GUI? This feature used to be available in the past (up to 16, I haven't used 17) from the Desktop and Computer tab in nautilus. The eject arrow ...
11
votes
3answers
10k views

How to unmount a formerly chroot'd filesystem?

I'm using a rescue-live-system (similar to a live-cd) to fix some issues with my Debian server, like that: # mkdir -p /mnt/rescue # mount /dev/md2 /mnt/rescue # mount --bind /dev /mnt/rescue/dev/ # ...
2
votes
3answers
1k views

Ensure that loopback root and host are unmounted on shutdown

I'm trying to setup a Linux system that runs from an LVM-formatted image file. After some tinkering with the initramfs and boot options I managed to make it up and running by mounting the host file ...
0
votes
1answer
805 views

Recover files on unmounted partition

I have 2 partitions on my macbook, but I can't mount one of them. When I run the disk utility, the console (show details area) returns the message: Updating boot support partitions for the volume as ...
6
votes
1answer
2k views

How to mount a Truecrypt container with a timeout from the command line?

I'm mounting a truecrypt container via the command line (i.e. truecrypt file dir). Is there any way to have truecrypt automatically unmount the container after a given amount of inactivity in dir?