Skip to main content

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
2 votes
1 answer
63 views

Remove /dev mount point without unmount in Host

Here is the unmount method for unmounting all previously mounted folders: https://unix.stackexchange.com/questions/61885/how-to-unmount-a-formerly-chrootd-filesystem I use the following command to ...
stackbiz's user avatar
  • 415
0 votes
0 answers
310 views

How to unmount read-only file system and resize it. Ubuntu 22.04

I need to resize /dev/nvme0n1p1 partition because it takes almost all memory from my SSD. And also I couldn't make dual boot for Windows as second OS, so I need help. I've tried this commands to ...
David Gyulinyan's user avatar
-1 votes
1 answer
54 views

USB umounting on ubuntu

When writing 6GB the unmount takes forever. Currently I watch the Writebacks with this command watch grep -e Dirty: -e Writeback: /proc/meminfo What would be the ideal way to avoid having to do this. ...
bibble235's user avatar
  • 397
2 votes
0 answers
485 views

Failed to unmount /var and /var/lib when shutting down or rebooting ubuntu

I am having issues with an error message when shutting down or rebooting my Ubuntu 22.04.3 server. On screen I can see that during shutdown /var and /var/lib which are on seperate partitions cannot be ...
Niklas's user avatar
  • 21
0 votes
0 answers
389 views

Removable (USB) disk eject occasionally gets stuck at "writing data"

Ubuntu (Studio) 22.04. This happens infrequently, but when it happens, it's disruptive because incomplete writes can cause data loss. For example: Today I copied a 7 MB (mega, not giga) file to a USB ...
jamshark70's user avatar
0 votes
0 answers
71 views

just Failed unmounting /crdom

I tried to install ubuntu 22.04.3 in window 11 through VMware, I configure the virtual machine as usual but when it said restart for start using ubuntu, failed unmounting/crdom appear
Momoka's user avatar
  • 1
0 votes
1 answer
596 views

Auto unmount after Every boot

I deleted Windows and installed Ubuntu perfectly in my pc. (128gb SSD for os+ 1TB). But after some days I mistakenly deleted my 1TB partitions and I had to manually parition Using Gparted. But after ...
Koustabh Ghosh's user avatar
0 votes
0 answers
2k views

Unmount not working

I have a mounted partition that can't be unmounted : > sudo umount /dev/sdc1 umount: /home/me/mounts/sdc1: not mounted. > sudo mount | grep sdc1 /dev/sdc1 on /home/me/mounts/sdc1 type ext4 (rw,...
jonnep's user avatar
  • 1
0 votes
1 answer
329 views

Permanently disable internal disk on Ubuntu

I am running Ubuntu 22.04 LTS on an old MacBook. This MacBook has both an internal SSD and an internal HDD. Ubuntu is running from the SSD and the HDD is not required in Ubuntu. However, it is ...
moinsen's user avatar
1 vote
0 answers
319 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....
Hilderic Browne's user avatar
0 votes
1 answer
254 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 /...
Annie's user avatar
  • 13
3 votes
1 answer
3k 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 /...
Mario Palumbo's user avatar
0 votes
1 answer
904 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
Muhammad Hamdy's user avatar
0 votes
0 answers
66 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 ...
Bubbles's user avatar
  • 61
1 vote
0 answers
371 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**** /...
Oceanstorm's user avatar
0 votes
0 answers
80 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 ...
Milad's user avatar
  • 173
1 vote
1 answer
1k 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....
Pithit's user avatar
  • 113
6 votes
1 answer
402 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, ...
Chaos's user avatar
  • 163
2 votes
0 answers
4k 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 ...
Parag Katoch's user avatar
  • 1,233
0 votes
1 answer
4k 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, ...
Eshita Shukla's user avatar
0 votes
1 answer
559 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 ...
tripleman's user avatar
4 votes
2 answers
2k 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 ...
G.W.'s user avatar
  • 683
0 votes
0 answers
319 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 ...
Istvan Nagy's user avatar
0 votes
1 answer
53 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-...
G.W.'s user avatar
  • 683
2 votes
0 answers
350 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 ...
DanKearney's user avatar
0 votes
2 answers
749 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 ...
Mysterious K's user avatar
0 votes
0 answers
286 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, ...
BrodyStone21's user avatar
0 votes
1 answer
102 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
Muhammad Naufil's user avatar
0 votes
1 answer
271 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 &...
Regin Poulsen's user avatar
1 vote
0 answers
484 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 ...
nutty about natty's user avatar
2 votes
1 answer
4k 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 ...
O Gopal's user avatar
  • 51
0 votes
1 answer
1k 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. ...
ElegantMess's user avatar
0 votes
2 answers
774 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, ...
user2904033's user avatar
1 vote
0 answers
488 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. ...
Jaime Escobar's user avatar
2 votes
1 answer
14k 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 ...
Basuru Jayasanka's user avatar
3 votes
2 answers
603 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 ...
GAP's user avatar
  • 81
0 votes
3 answers
7k 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 ...
Malcolm Brown's user avatar
0 votes
1 answer
2k 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 ...
Anatol's user avatar
  • 101
0 votes
0 answers
414 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 ...
GnomGnom's user avatar
0 votes
1 answer
287 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 ...
user278039's user avatar
0 votes
2 answers
3k 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,...
A Tyshka's user avatar
  • 105
3 votes
5 answers
14k 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 ...
Rushikesh Gaidhani's user avatar
6 votes
1 answer
5k 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/...
Dave Tweed's user avatar
0 votes
1 answer
60 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 ...
Navas Valapra's user avatar
3 votes
3 answers
38k views

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

I want to reduce the size of the /home partition, so I need to unmount it. How can I do it using GParted? What type of file system is better for accessing both Windows and Linux?
Md. Mony's 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
greatfiction's user avatar
15 votes
3 answers
12k 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 ...
SebMa's user avatar
  • 2,431
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 ...
Marko Bilal's user avatar
0 votes
0 answers
1k 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, ...
Jannomag's user avatar
9 votes
3 answers
17k 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 ...
GreggD's user avatar
  • 1,154