Skip to main content

Questions tagged [unmounting]

Filter by
Sorted by
Tagged with
8 votes
5 answers
1k views

Is it a good idea to add an empty file, say a file called NOT_MOUNTED, into mountpoint directory when the backup storage device is not mounted? Or will this be confusing? Is a symlink better, that ...
Markus Klyver's user avatar
2 votes
1 answer
231 views

Using unshare -Umr I created a new user, mount namespaces where the calling process is moved into. Then via mount -t tmpfs tmpfs / I mounted a new tmpfs instance on the root / of the directory tree ...
CarloC's user avatar
  • 385
0 votes
1 answer
497 views

Problem Mount directory. sudo mkdir /mnt sudo chmod -R 777 /mnt sudo mount /dev/sdm1 /mnt, will work Do some work.. sudo umount /dev/sdm1, will work sudo mount /dev/sdm1 /mnt, will not work Partial/...
user1150896's user avatar
1 vote
1 answer
100 views

As from object, I want to mount some directories (with binding) at login and possibly unmount them at logout. At the beginning I tought about autofs, but it dynamically creates mount points, that's ok ...
Daniele's user avatar
  • 488
1 vote
1 answer
62 views

when I use zsh completion for the umount command: umount /mnt/t<TAB> it completes the mounted filesystem /mnt/tmp. But when I accidentally press tab too many times, it tries to be too helpful, ...
Martin Vegter's user avatar
2 votes
0 answers
481 views

I have a systemd service that uses After=local-fs.target to ensure that all mount points are established (if possible) before the service is started. Not being too familiar with the systemd ...
Simon Kraemer's user avatar
0 votes
0 answers
232 views

I have a Synology NAS in which I use the following command at NAS startup to create a symlink, which works fine: mount --bind "/volume1/SourceFolder" "/volume1/SymlinkFolder" Now I ...
Ahmad's user avatar
  • 101
0 votes
0 answers
259 views

I've a script pre-condition: lsof /dir1 clear #/bin/bash ... fusermount -u /dir1/dir2 # unbind dir2 umount /dir1 # sporadically fails with 'Target is Busy' ... Why do I get ...
participant's user avatar
0 votes
0 answers
204 views

Sometimes after I read and write files in a USB connected to my linux desktop, then turn off all visible applications, wait for my USB to stop blinking, then attempt to eject the USB, I get a warning ...
pup01903's user avatar
2 votes
2 answers
1k views

I have a laptop with debian that I am mainly using on my home wifi. To access some network disks, I have a few lines like these in /etc/fstab: disk:/media/vol0 /home/disk0 nfs4 noauto,x-systemd....
MortenSickel's user avatar
  • 1,453
0 votes
0 answers
120 views

I work on a mounted directory to a cluster through sshfs. However, sometimes my connection fails for a second and the mounting stops working. The problem is that I can not umount to be able to restart ...
Pau Clavell-Revelles's user avatar
0 votes
2 answers
2k views

I want to unmount my main drive so I can run fsck on it because dmesg says that I should. However, when I try to unmount the drive I get the following error: Cannot unmount drive, /var/lib/snapd/snap ...
Tyler Durden's user avatar
  • 6,243
1 vote
0 answers
2k views

At shutdown, Linux Mint 21.1 briefly flashes a warning that systemd couldn’t unmount /oldroot or /oldroot/sys because the device is busy. It still shuts down and I haven’t noticed anything else amiss. ...
3QuartersColon's user avatar
1 vote
0 answers
95 views

This Exact Same Question i first time i do was ib -> https://www.linuxquestions.org/questions/showthread.php?p=6366697#post6366697 i need improve my script : For close the Xephyr window ...
Inukaze's user avatar
  • 47
9 votes
6 answers
12k views

For some highly secure bastion VMs I'll implement soon, I am considering to unmount /boot after booting - among other measures of course. Will be mounted only for updating kernel. Testing this, no ...
Krackout's user avatar
  • 2,897
0 votes
1 answer
2k views

I can mount drives and images, but I can't unmount them. I get 'shell level too high'. I expect this normally happens when a script calls itself. Is there some script that is run by umount? I can't ...
Rucent88's user avatar
  • 1,920
5 votes
1 answer
959 views

I have a custom systemd service that automatically mounts some partitions under certains conditions. The service executes a shell script containing some mount commands. When I execute it directly, ...
Adel M.'s user avatar
  • 368
0 votes
1 answer
37 views

so one of my servers was having issues this morning and when I went to investigate I found that the problem was that 4 of my drives seem to not be mounted anymore. I am wondering if there may be a ...
Mexicoder's user avatar
  • 121
3 votes
1 answer
1k views

I'm running slackware 14.0 linux. I was recently doing an open office document and sent emails out and then my internet was cutting out then after a bit I got hinted that my disk was full then I ...
Mike St's user avatar
  • 39
2 votes
1 answer
2k views

I have a systemd service that calls a script when a USB drive is mounted. signal.service: [Unit] Description= Updater trigger Requires=usb-drive.mount After=usb-drive.mount [Service] ExecStart=/usr/...
Chris's user avatar
  • 153
0 votes
1 answer
2k views

I have a startup script which executes the following commands: sudo cryptsetup open /dev/sda3 dm_crypt && sudo mount -t btrfs /dev/mapper/dm_crypt /mnt && cd /mnt && ls -la &...
ng.newbie's user avatar
  • 1,305
2 votes
2 answers
969 views

I am trying to unmount a filesystem. The mount point of the filesystem is /one/two/three/four, and the name of the device file is /dev/sdb8. The command that I executed to unmount the filesystem ...
Ehsan Rasoli's user avatar
2 votes
1 answer
7k views

I'm trying to mount the Android nand image provided by Project Sandcastle (a project that can run Android 10 on an iPhone 7). I'm trying to mount this disk image so that I can edit the boot.img file ...
Sir Wumpus IV's user avatar
4 votes
2 answers
5k views

After plugging in a USB attached SATA SSD, fsck tells me that this device is in use. But it is not mounted at all. What's happening here? And how can I fsck this device? Here are some information ...
Andreas Matthias's user avatar
0 votes
0 answers
1k views

I am trying to unmount on /root and fails with the following error: error writing /etc/mtab.tmp: No space left on device I am trying to unmount both "log" and "abc" df -h Filesystem ...
kyabhft's user avatar
  • 13