Skip to main content

Questions tagged [unmount]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
64 views

Why does my external USB hard drive (bus powered) keep making noise long after it's unmounted?

Why does my external USB hard drive (bus powered) keep making noise long after it's unmounted? I am using macOS 14.3.1. The noise is very similar to, or the same as, that the drive makes when writing ...
Ryo's user avatar
  • 389
0 votes
0 answers
136 views

TERM environment variable not set when running shell script using automator (MAC)

In using mac sonoma. I tried to run my shell script via Automator app. There's a 'diskutil umount' command in the script that will give me this error : TERM environment variable not set. Usage: ...
andio's user avatar
  • 293
0 votes
0 answers
464 views

USB Flash Drive Mounting and Unmounting Issues in linux

I'm seeking assistance as I delve into learning the Linux file system, and I've encountered a specific issue regarding the mounting and unmounting of a pendrive. Upon initially inserting the pendrive ...
Subham Rai's user avatar
0 votes
0 answers
169 views

Mount but exclude one subfolder?

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
  • 797
0 votes
2 answers
4k views

Cannot unmount/remove 'Linux' drive from Windows 10

System: Windows 10, up to date I have a mysterious drive/folder which appears mounted on Windows 10, called simply 'Linux', which I cannot unmount or otherwise get rid of. It's empty, and there do not ...
Totem's user avatar
  • 141
-2 votes
1 answer
112 views

Windows-11: External drive is double-mounted; unable to unmount

It's been years since I bookmarked this site and had to use it. I posted this question yesterday on StackOverflow and "General Grievance" (related to Kernel Panic?) suggested I post here as ...
Jacob Salomon's user avatar
1 vote
1 answer
113 views

/proc/pid/mountinf file's root column meaning

What is the meaning of the root column in /proc/pid/mountinfo file? As per the manual, it says (4) root: the pathname of the directory in the filesystem which forms the root of this mount. It is ...
codego123's user avatar
3 votes
2 answers
2k views

Can't go into Google Drive directory mounted with rclone: "Transport endpoint is not connected"

ls -l shows: ls: cannot access 'gdrive-root': Transport endpoint is not connected total 42M d????????? ? ? ? ? ? gdrive-root Trying to re-mount with the command used ...
toraritte's user avatar
  • 828
0 votes
0 answers
383 views

After removing lxc device, still managed to access device from its boundary directory

I am using Lxd container for my sd card access in Linux based device. i mounted sd card with following commands mount /dev/sda1 /mnt/flash/sdcard. lxc config device add dhaneesh2 sda disk path=/mnt/...
Dhaneesh lal.D.R's user avatar
1 vote
1 answer
2k views

How to prevent unmounted, spun down HDDs from spontaneously spinning up in Windows 10?

I spin down and unmount two of my HDDs in Windows 10 x64 to keep them silent. I mount and use them for backups only. Once unmounted they obviously have no longer drive letters assigned. For a reason ...
p.h.'s user avatar
  • 11
0 votes
0 answers
162 views

Can't sudo unmount or remove a temp folder in macOS catalina, how to get rid of it?

Using macOS Catalina 10.15.6. I have a folder ~/temp/foobar and when I do ls -al it shows these file flags: drwx------ For some reason I cannot get rid of the folder. So far I have tried this: $ ...
RocketNuts's user avatar
  • 1,172
0 votes
0 answers
649 views

.dmg keeps re-mounting

I am facing a problem that a drive keeps being mounted on my mac. It began when I have attempted to install software packages from my car cam manufacturer. It created a mounted drive for installing ...
Patrick C.'s user avatar
1 vote
1 answer
411 views

Receive error msg: the parameter is incorrect

i receive this error msg when i use this batch file to mount and unmount a drive in windows 10. mounting: @echo off REM Be sure to change this to the drive letter you want to mount the drive to! ...
Michel Marcouiller's user avatar
1 vote
2 answers
2k views

How to safely distantly remove a usb hard drive in Debian using terminal

I'm connected via ssh to a Debian computer. What I need to to do is to safely remove the external usb storage device. I have found this answer to a comparable question. One of the recommendations is ...
Jürgen K.'s user avatar
1 vote
1 answer
736 views

fusermount prepends /home to path when resource is busy

Problem: I created a bash script for SSHFS mount/unmount using: 1| dir=$(mktemp -d) 2| sshfs user@server $dir 3| cd $dir 4| bash 5| fusermount -u $dir 6| rmdir $dir Once these lines are ...
Majal's user avatar
  • 958
0 votes
1 answer
611 views

Volume group still active after disabling with vgchange?

I noticed that sometimes vgchange -a n [vgname] seems to not close the volume group properly. This happens most often, when I actually prepare a new system and I do not know what is causing this. ...
Cubi73's user avatar
  • 461
0 votes
1 answer
286 views

How to unmount a blocked usb external HDD in Windows 10?

I have an external HDD connected to my PC using Windows 10, which is used to a daily backup using Acronis True Image 2019. Many times after the backup is finished, I can't dismount it. Even removing ...
Rogério Dec's user avatar
1 vote
0 answers
207 views

A USB drive appears to be unmounting randomly. How do I troubleshoot this?

I have a USB drive holding files for a Plex server. The mounted folder is also shared on my home network using Samba. Nothing has changed recently in either Samba or Plex's config. Lately, the drive ...
K L's user avatar
  • 11
0 votes
1 answer
70 views

Why file content is not remain after unmount a drive in linux?

I wrote a script on bashrc.cmd from my windows 10 to activate my virtual environment automatically. I pointed the path of bashrc.cmd into AutoRun according to this post. bashrc.cmd @echo off CD dev-...
testuser's user avatar
  • 115
0 votes
1 answer
266 views

Encfs unmounted drive is still visible

So I used this: encfs ~/secret ~/plaintext Then I wrote some text files to plaintext directory. Then I unmounted by doing this: fusermount -u ~/plaintext Yet when I go to the /secret/ directory I ...
J_Strauton's user avatar
0 votes
1 answer
910 views

Mount anywhere and tell me about it

I want to write a script that does the following: Mount a device (always the same one) Take a peek at a file at the device and tell me something about it Unmount the device again. This is fairly ...
Bowi's user avatar
  • 1,537
0 votes
1 answer
2k views

Why does udisksctl command on my machine say that power-off is not a valid option?

I recently switched to CentOS 7. I was trying to safely remove my backup drive. The drive unmounts, but the LED on it, stays on. I know how a disk can be safely removed using command line as answered ...
Dipunj's user avatar
  • 69
1 vote
1 answer
1k views

How can a computer shut down if a mount/service etc. cannot be unmounted?

Sometimes a hard reboot is required when a computer gets itself into a bad state, in any operating system. In linux say, if a drive cannot be unmounted, even by force, how does a shutdown command ...
J Collins's user avatar
  • 708
-1 votes
1 answer
158 views

Windows 7: Can we keep internal HDD from being accessed by ransomwares with "disable" or "unmount"?

I'm trying to find an alternative way to protect my daily backup-disk from malware, while the HDD is still connecting to a SATA port on the motherboard. (This is temporally. I can't afford a portable ...
Pakox.Wang's user avatar
1 vote
0 answers
3k views

Unable to take an inactive disk offline (unmount)

My PC has two disks. One for Ubuntu and and the other for Windows 7/10. In Windows 7, when I try to take a Ubuntu disk offline it won't let me. I was able to do this when I installed Windows 10. ...
V412270's user avatar
  • 36
1 vote
1 answer
2k views

OverlayFs merge on unmount

For performance reasons I would like to stack tmpfs on top of the working directory of some programs. However, the program needs to access data previously saved in the "real" working directory, ...
matpen's user avatar
  • 215
1 vote
0 answers
643 views

"Disconnected" phantom B: drive causing problems

On one of our servers, a drive mapping has suddenly appeared (across all users). The drive mapping is invalid, and is causing spurious error and warning messages. It is a mount to "B:" (which is ...
David I. McIntosh's user avatar
4 votes
2 answers
4k views

How can I disable the 'unmount' option for my second internal harddisk in Ubuntu?

Edit: it seems that this is a known bug and that it is impossible. How can I disable the 'unmount' option for my second internal harddisk in Ubuntu? My system consists of a 128GB SSD and a 1TB HDD. ...
Henry van Megen's user avatar
10 votes
3 answers
18k views

How to unmount a VHD via command line in Windows 10

I need to unmount a VHD with a batch script in Windows 10. The only solution I found online was directed at Windows 7 and involved Diskpart. Are there any other native Windows command line tools ...
Zerobinary99's user avatar
  • 1,781
7 votes
2 answers
2k views

Make windows unmount a specific partition when hibernating

Could I possibly trick windows in to thinking it's a flash drive? I dual boot, this would be really nice to have.
Aido's user avatar
  • 249
0 votes
1 answer
80 views

script to disallow mounting of certain idVendor

I'm trying to write a script to disallow mounting of certain usb thumb drive's brand like silicon-power my thought was to use tail -f /var/log/messages and grep it to idVendor and blocking it upon ...
mike's user avatar
  • 11
4 votes
1 answer
3k views

Can't access external harddrive in OSX

For some reason i can't access my external HDD anymore. It's not showing up in Finder, although i can see it in the Volumes folder and in Disk Utility app. When i access the HDD from terminal and try ...
olof's user avatar
  • 41
1 vote
1 answer
186 views

Can a USB be removed with out un-mounting during de-fragmentation

I have a USB flash drive formatted to fat32 and I have a batch file to defragment it. Would there be any damage done to the flash drive or it's files if I was to unplug it from the USB port while it ...
09stephenb's user avatar
1 vote
1 answer
4k views

Can't eject an external hard drive

I was attempting to backup my system with Time Machine and for whatever reason a passerby disrupted the hard drive wire and the backup failed due to an 'improper ejection'. Now, after attempting to ...
Matt's user avatar
  • 109
8 votes
1 answer
3k views

lsof reports no files open on external volume but it still cannot be safely unmounted

I've searched around here on SX and other places but have not found an approach that gives me any traction on my issue. I've a volume (used by Time Machine as it happens) on an external Firewire ...
fairflow's user avatar
  • 205
3 votes
2 answers
4k views

Why is it not possible to resize/move mounted (non logical) partitions at runtime?

While searching, why it is not possible to resize a mounted partition I mostly found answers like this: It is filesystem and partition dependant, different flesystems and partitions will use ...
Senkaku's user avatar
  • 612
1 vote
3 answers
9k views

Can't load or repair Windows

I can't run my Windows 7 64bit. I tried: System repair – hangs at the repair screen Start normally – hangs at the Starting Windows screen Start in safe mode – hangs at the classpnp.sys file Start in ...
user230267's user avatar
3 votes
3 answers
7k views

How to remove shortcuts of drives from desktop without unmounting it in Ubuntu?

I have a question about unmounting the drives in Linux. Whenever I open any drives in system its shortcut/image will be shown in the desktop. To remove that, I need to right-click on it and select ...
Sjk's user avatar
  • 207
2 votes
0 answers
3k views

TrueCrypt Command Line: Dismount by Volume Name?

Considering the command: TrueCrypt.exe /q /e /v "dummy.tc" 1: Is there a way to dismount dummy.tc from the command line WITHOUT knowing its drive letter? 2: Is there a way to discover, after this ...
Ed Penwell's user avatar
1 vote
1 answer
293 views

UNMOUNTABLE BOOT VOLUME error on laptop with no CD drive

I am getting an UNMOUNTABLE BOOT VOLUME error on my Samsung laptop which does not have a CD-ROM drive. I tried to merge the C and D partitions to get more space, but since then the laptop does not ...
Menno's user avatar
  • 11
0 votes
4 answers
6k views

How to prevent partitions from being mounted automatically in Linux(Mint)?

I have a Linux(Mint)/Windows dual boot PC. Checked /etc/fstab and their are no entries for the Windows and System Reserved partition. Don't really understand how it's happening. Any other place I ...
HardwareMuch's user avatar
1 vote
1 answer
301 views

Unmount iscsi volume from bash script

Plan: I want to unmount an iscsi volume on my OS X Desktop in a script only if it's mounted. So far, I've identified the disk as disk4s2 with: diskutil list | grep 'V-Movies' | rev | cut -c1-7 | rev....
johne's user avatar
  • 11
1 vote
1 answer
2k views

Mac OSX: restart required after removing auto mount

By default /home directory is protected in mac osx and you need to remove the auto mount by editing the file /etc/auto_master and replace the following line /home auto_home -...
gmuhammad's user avatar
  • 183
0 votes
1 answer
192 views

Mounting an old drive with a rescue partition causes unmount/mount cycle

I have a 2.5 SATA drive from an old laptop that ran Windows Vista. In addition to having the main partition with the OS, it has a "Rescue" partition on it. I put the old drive into an external ...
jonsca's user avatar
  • 4,062
15 votes
5 answers
73k views

How to forceably unmount stuck network share in Mac OS X?

Not long ago my Xserve failed (power loss) while an iMac was working with files on a particular network share (called "Work Share"). This volume, "Work Share", is now stuck. It can't be seen in the ...
Kyle Lowry's user avatar
  • 1,896
2 votes
1 answer
1k views

Windows XP getting USB on off sounds repeatedly?

My laptop has gotten into a mode whereby it makes the USB mount and unmount sound repeatedly in a random fashion. This is the two tone ascending pitch for mount and descending pitch for unmount. The ...
WilliamKF's user avatar
  • 7,968