Questions tagged [unmount]

Unmount refers to making the storage device like, external HDD, USB storage inaccessible to the OS. This tag can be used for questions related to mounting or unmounting of a device.

Filter by
Sorted by
Tagged with
1 vote
0 answers
37 views

Ubuntu 22.04 slow to dismount Garmin GPS

I have a Garmin eTrex 30 GPS which appears to a host computer as a USB flash drive, or more precisely like two drives, one for the device's internal memory and the other for its MicroSD expansion card....
user avatar
0 votes
1 answer
22 views

Unmount volume, and dependent mounts

I explain: Currently I have: A volume mounted to a directory, /mountDirectory And I also have a local directory that has a mount bind to a directory on the volume: /localDirectory mount bind /...
user avatar
2 votes
1 answer
258 views

How to mount or unmount all partitions of a device at once using udisksctl?

I need to use udisksctl. I tried the classic method /dev/sda?* already seen on the internet: udisksctl mount -b /dev/sda?* or udisksctl unmount -b /dev/sda?* /dev/sda?* in my case is equivalent to /...
user avatar
0 votes
0 answers
33 views

How to fix a corrupt NTFS partition system from ubuntu 18.04?

This is the output after the command ntfsfix: Mounting volume... Error reading bootsector: Input/output error Failed to sync device /dev/sdb3: Input/output error FAILED Attempting to correct errors... ...
user avatar
0 votes
0 answers
49 views

Network cifs shares disconnecting multiple times per day on ubuntu 20.04

I am running Ubuntu 20.04 with some network cifs shares mounted. These shares automatically unmount several times a day and, every time it happens, I need to restart the machine before they can be ...
user avatar
0 votes
0 answers
69 views

Partition sda3 Format sda

I have 1 TB hard drive I want to partition it to 2 independent drives. Tried to use Gparted. Operation is failing because sda3 can’t be unmounted, I think because it has ubuntu system file. Please ...
user avatar
  • 1
0 votes
1 answer
85 views

I tried to mount Windows partion "/dev/sda1 by terminal but But it mounted directly on the /media

how to fix this and How to mount /dev/sda1 in /media with specific enter image description here
user avatar
0 votes
0 answers
24 views

Unable to partition or format Laptop drive to NTFS for Windows installation

Less than two weeks ago I installed Ubuntu 20.10 as my new main OS, and now I wish to install Windows again for dual-booting. I would like to first install Windows 10, then reinstall Ubuntu again as I ...
user avatar
  • 41
1 vote
0 answers
125 views

Ubuntu 20.04 Server - USB Drive Random Unmount

I have four external usb3 hard drives connected via a usb3 hub to my Ubuntu 20.04 server. Hardware is an intel core i7-6700T with 8GB ram. Drives are mounted using fstab and this command: UUID**** /...
user avatar
0 votes
0 answers
46 views

Unmount ntfs drive in bash script in systemd

I write an systemd class service to backup up my downloads of linux every time it reboots. In my shell I have a command line for mount dev/sda5 but I have't any command for unmount that drive. but it ...
user avatar
  • 43
1 vote
1 answer
242 views

assign free space Gparted - can not unmounted - /dev/nvme0n1p5

Apologized if this is a silly question however I am fairly new with Ubuntu. I cannot assign free space to Ubuntu. What am I missing? I am trying to increase the size of the space I have in Ubuntu (20....
user avatar
  • 113
6 votes
1 answer
260 views

Cannot eject hdd from files tab even when forced through cmd

Hi all Im very new to linux and have just bult my first linux based computer and having some issues with my internal storage hdds. I have one 18tb seagate connected to my adeptec pcie card via sas, ...
user avatar
  • 163
1 vote
0 answers
781 views

Unmounting USB drive takes a lot of time

Whenever I transfer some data to my USB drive (even 200MB) and try unmounting it after the completion of the transfer. Ubuntu says Writing data to a USB drive, the device should not be unplugged, and ...
user avatar
  • 753
0 votes
1 answer
126 views

Trying to unmount Logical Volume, gives error "umount: /dev/lvm3/nlv1: not mounted"

I'm fairly new to Logical Volume Management, so please bare with me. I want to unmount the logical-volume lvm3-nlv1, in order to finally delete it. Viewing mount point using lsblk When I run lsblk, ...
user avatar
0 votes
1 answer
41 views

Can I permanently deny Ubuntu access to a second, internal hard drive?

I have a MacBook Pro (mid 2009, El Capitan) that has two, physical, internal hard drives in it—I removed the built-in dvd drive and replaced it with a second HD. I've installed Ubuntu 20.04 on the ...
user avatar
4 votes
1 answer
438 views

How do I find and use `--object-path` with `udisksctl`?

I don't understand the --object-path option in the udisksctl command I want to unmount an USB thumb drive, but I don't want to have to lookup it's device name (for example /dev/sdb) at each mount. The ...
user avatar
  • 421
0 votes
0 answers
141 views

sleep internal hdd forever

I have an internal hdd what I just rarely use under ubuntu, I want to send the hdd to sleep mode but after 10 minutes it is always wake up. I turned off in the disks to auto mount this drive after ...
user avatar
0 votes
1 answer
45 views

CLI command for powering off Flash-Drive "disk"

#!/bin/bash borg create /media/greg/flash-drive/borg::"$(date +%FT)" /home/greg/borg && umount -l /media/greg/flash-drive I use the above script to make backups to a thumb-...
user avatar
  • 421
1 vote
0 answers
93 views

System error at shutdown unmounting external USB drive

I use an external USB hard drive for my data store. I have the drive mounted at boot time via fstab. When I first set this up when doing a fresh install of 20.04 a few months ago, everything worked ...
user avatar
0 votes
2 answers
125 views

How to create disk partitions without unmounting the disk?

So, I want to create a partition of 400 GB of my 1 TB HDD to install Windows 10 on it. I could usually use FDisk but I believe it requires me to have unmounted the disk. I could create a bootable USB ...
user avatar
0 votes
0 answers
187 views

Non Existent Volume Keeps Showing Up in Files and in Favorites Bar

Just installed Ubuntu for the first time this morning, for some reason I see a drive called "64 GB Volume" that I am unable to open or unmount. When attempting to open it I get this error, ...
user avatar
0 votes
1 answer
44 views

Mount HDD to a new location

My SSD(sdb) in mounted on / and HDD(sda) on /home. I want to unmount my HDD from /home and mount it on /home/naufil/Desktop. Please let me know step by step. I don't want my ubuntu to crash
user avatar
0 votes
1 answer
131 views

Problem with fstab

I have a linux server where i have setup a nextcloud instance. I have 2 hdd´s that i have combined to one folder to mnt/cloud. It has been working great, but over the last week it randomly unmounts &...
user avatar
1 vote
0 answers
145 views

Power off vs. "safely eject" or "unmount" of external devices (cameras, (android) smartphones, externally powered hdd's, etc)?

Title says it all pretty much; I would strongly assume this question would have been answered before and therefore may well be a duplicate (a very quick google and sx check didn't find retrieve ...
user avatar
2 votes
1 answer
2k views

Can't unmount USB drive. Error messages say it's not mounted

I have a problem with my USB drives. I have two drives, one partition each. One is EXT4, the other FAT32. I formatted both with Ubuntu itself. They both seem "known good." If I plug both ...
user avatar
  • 51
0 votes
1 answer
567 views

Removable USB Drive disappears from "FILES" list when closed. Can not unmount

Ubuntu 18.04. Can use the USB memory stick but, it disappears from any list (anywhere) so I can not "Eject" it. The stick keeps getting corrupted, and, I can not find any help from the OS at all. ...
user avatar
0 votes
2 answers
486 views

I think I forgot to properly eject my external hard drive. Now it won't mount

I have a decade worth of pictures on it. I'm using the 2020 version of Unbuntu Linux. I found a few threads that address this issue from years ago. Are these methods still relevant for 2020? Also, ...
user avatar
1 vote
0 answers
286 views

Problems executing umount in shell script but not manually

I have been creating a shell script to restore our azure fileshares when needed. Previously we executed these tasks manually and we did not have problems with that but we decided to automate those. ...
user avatar
2 votes
1 answer
7k views

How to Unmount Shared folder

I have used sudo mount.cifs -o username=(windows username) //(windows sharefoder IP addres)/(Windows Share folder name) /Ubuntu Share folder path to access to Windows share folder. but I cant un-mount ...
user avatar
3 votes
2 answers
169 views

Can I power down an external drive automatically when it unmounts?

I know this question is answered a lot, but I couldn't find a answer that make this happen automatically. What I would like is when I unmount the last partition of the the external HDD (as it may have ...
user avatar
  • 81
0 votes
2 answers
3k views

How to unmount CD drive

I am returning to Ubuntu after some time so I am a bit rusty. My machine is running 16.04 LTS and I want to upgrade to the current 18.04. I have downloaded this and want to transfer it to a CD-R so ...
user avatar
0 votes
1 answer
546 views

Mount / unmount storage device what happens to files

I have problems understanding the following. In /etc/fstab I've mounted an external storage volume with: //xyz.backup.com/backup /home/me/external_backup_volume cifs user=xyz,password=xyz,users 0 0 ...
user avatar
  • 101
0 votes
0 answers
184 views

NFS Drives Unmount Seemingly Randomly

I have an ubuntu server for media streaming at home. Everything seems to work ok. I can read and write from my mac laptop and get pretty good speeds. The drives are 2 USB external boxes (4 x 4tb and 2 ...
user avatar
0 votes
1 answer
191 views

Unmounting a external hard drive which has Ubuntu installed on it

I have Ubuntu installed on an external HDD drive. The laptop has Windows installed before. I started the computer, pressed F9, loaded Ubuntu, did a bit of basic programming, and then clicked ...
user avatar
0 votes
2 answers
2k views

Can't eject USB drive without sudo?

I'm trying to eject a USB drive in the command line with eject /dev/sdg1 but I get the following error: eject: unable to open `/dev/sdg' The command unmounts the drive but does not eject it. However,...
user avatar
  • 105
1 vote
4 answers
5k views

umount multiple mounts under same directory

My system has a USB, an sd card and an SSD connected. I mounted all the devices USB(/dev/sdb1), SSD(/dev/sda1) and sd card(/dev/mmcblk1p1) under /mnt. Is there any way to unmount all the devices ...
user avatar
5 votes
1 answer
3k views

What is the correct way to unmount an NTFS external drive under Ubuntu 18?

Yesterday, I had my external USB hard drive (NTFS) connected to a client's laptop running Ubuntu 18 because I wanted to get some data off of it. When I was done, I would normally type umount /media/...
user avatar
0 votes
1 answer
50 views

unable to mount any drive that working fine on windows [duplicate]

Whenever I boot Ubuntu, I get a message that it cannot mount my windows partition, and I can choose to either wait, skip or manually mount. When I try to enter my Windows partition through Nautilus I ...
user avatar
2 votes
3 answers
27k views

How to shrink home partition on a running OS (Ubuntu linux)? [duplicate]

I want to reduce the home size. So I need to unmount it. How can I do it using gparted? 2) what type of file system is better for accessing both windows and linux.
user avatar
1 vote
1 answer
9k views

How do I keep a volume mounted when I boot up in Ubuntu 18.04 [duplicate]

How do I keep a volume mounted when I boot into Ubuntu 18.04 It disappears on every boot. Thank you
user avatar
14 votes
2 answers
8k views

USB pendrive : the copy takes about 3 minutes but the unmount takes a very long time : 10 to 12 minutes

I'm using Ubuntu 17.10. I formatted an USB pen-drive to NTFS to prepare a Windows7 USB Installer. I set the bootable flag on this pen-drive and copied the files into it. EDIT 1: The USB pen-drive ...
user avatar
  • 1,477
0 votes
0 answers
63 views

Started computer, home folder moved to a separate volume, all OS settings gone

Today I started up my computer to find the desktop back to its stock look and my home folder has somehow been plucked and put into a different volume. How can something like this happen? The ...
user avatar
0 votes
0 answers
780 views

Automatically USB mount in /media/usb/LABEL and remove mountpoint after unplug (w/o unmount)

I'm building a little homeserver for a friend and he wants this as simple as it can get - so without the use of command line / ssh. Everything works fine now. I installed Ubuntu Server 17.10, ...
user avatar
7 votes
3 answers
13k views

What's the proper way to disconnect hot-swap SATA hard drive?

I'm using a SATA hot-swap bay and I have in BIOS this particular port configured specifically for "Hot-Swap". This bay has convenient "POWER ON/OFF" button, so no interruptions during plugging-in/out ...
user avatar
  • 1,064
0 votes
0 answers
78 views

External Drive Shows in Files But is Not Connected and Can't Be Removed

In the file browser I see what appears to be a 3.7GB external flash drive/hard-drive connected to my computer. There is no 3.7GB drive attached to this computer. There is the usual unmount icon next ...
user avatar
  • 270
1 vote
1 answer
193 views

Disks are mounted by themselves on Ubuntu Server 16.04

I have a luks encrypted disk that I want to unmount and sleep while it's not used. For that I use umount /mnt/4T, cryptdisks_stop 4t_crypt and finally hdparm -y /dev/disk/by-uuid/dfafea2b-7678-445e-...
user avatar
  • 111
3 votes
2 answers
1k views

How to automatically power off usb devices after unmounting

How to create a setup such that if I unmount an USB disk then it automatically powers off too?
user avatar
  • 141
1 vote
1 answer
327 views

Problems booting ubuntu after unmounting or formating HDD (data disk)?

After I deleted the partition on my internal HDD (only datadisk) and therefore unmounted the HDD I could not access Ubuntu 16.04 (Kernel 4.11) anymore with an error showing up Failed to start LSB: ...
user avatar
  • 113
3 votes
1 answer
4k views

How do I properly run this systemd service on shutdown?

I am mounting my Google Drive on login using google-drive-ocamlfuse. The problem is that shutting down or rebooting now seems to have an added 2 minute pause. Now if when I unmount the Google Drive ...
user avatar
  • 3,514
1 vote
0 answers
224 views

Auto unmount USB drive on logout, scary?

My machine has 2 users. Whichever user logs on first "owns" the backup drive attached by USB more or less permanently. This means that if user logs out/switch user, the second user cannot ...
user avatar