Questions tagged [unmount]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
52 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 ...
0
votes
0answers
35 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: $ ...
0
votes
0answers
118 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 ...
1
vote
1answer
51 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! ...
1
vote
1answer
241 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 ...
1
vote
1answer
215 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 ...
0
votes
1answer
213 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. ...
0
votes
1answer
104 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 ...
1
vote
0answers
79 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 ...
0
votes
1answer
48 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-...
0
votes
1answer
89 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 ...
0
votes
1answer
506 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 ...
0
votes
1answer
1k 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 ...
0
votes
1answer
298 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 ...
-1
votes
1answer
148 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 ...
1
vote
0answers
2k 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. ...
1
vote
1answer
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, ...
1
vote
0answers
557 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 ...
4
votes
2answers
3k 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. ...
10
votes
3answers
14k 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 ...
6
votes
2answers
1k 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.
0
votes
1answer
74 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 ...
4
votes
1answer
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 ...
1
vote
1answer
130 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 ...
1
vote
1answer
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 ...
7
votes
1answer
2k 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 ...
3
votes
2answers
3k 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 ...
1
vote
3answers
8k 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 ...
2
votes
2answers
6k 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 ...
2
votes
0answers
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 ...
1
vote
1answer
265 views

UNMOUNTABLE BOOT VOLUME error on laptop with no CD Drive

I am getting the 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 ...
0
votes
4answers
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 ...
1
vote
1answer
286 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....
1
vote
1answer
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 -...
0
votes
1answer
184 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 ...
12
votes
4answers
64k 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 ...
2
votes
1answer
999 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 ...