Questions tagged [mount]
Questions about mounting filesystems, such as those on internal drives or on CDs, DVDs, external hard drives or USB flash drives, or about using the `mount` command.
7,250
questions
0
votes
0
answers
12
views
drive access (udisksctl mount) won't work after changing uid and gid
On Ubuntu 22.04.4 LTS, I have one additional disk (ext4.2) one user (user.1) can't access easily anymore (No problems with his /home folder).
I've changed the UID and GID of user.1 to eventually share ...
0
votes
0
answers
16
views
Can't change the owner of a folder Ubuntu [closed]
I want to change the owner of a folder. The path to folder is /mnt/backup_new/barman
drwxrwxrwx 1 root root 4096 Apr 16 09:28 barman
root@pozpismbv1:/mnt/backup_new # chown barman:barman ./barman/
...
0
votes
1
answer
28
views
Mounting a SMB subfolder
I would like to mount my SMB subfolders. These links seem to indicate it is possible on some OSes
https://unix.stackexchange.com/questions/483993/mount-a-subdirectory-without-intermediate-mount
https:...
2
votes
0
answers
52
views
/dev/mapper/ubuntu--vg-ubuntu--lv does not exist. Dropping to shell
I inherited a problem... originally we thought the root partition of the drive was filled and no one could log into the host. The host was rebooted and upon reboot it now drops to initramfs. I ...
-1
votes
0
answers
16
views
Ubuntu 23.10.1 installer and previous LV
At the moment I have a previous version of Ubuntu in a LV as follows:
salon@salon:~$ sudo pvs
PV VG Fmt Attr PSize PFree
/dev/sda5 vgubuntu lvm2 a-- <1,82t 0
salon@salon:~$...
-1
votes
0
answers
19
views
Problem with system
I have a Raspberry Pi 5 with Ubuntu server 23.10 on it. After starting raspberry and waiting a while, I get this message:
[2691.397776] I/0 error. dev mmcblk0. sector 3780496 op 0x1: (WRITE) flags ...
-1
votes
1
answer
84
views
unresponding cp between two remote cifs share, both on the same distant machine
I have 2 cifs remote share in /etc/fstab on xubuntu machine
//192.168.1.2/THOMAS /media/THOMAS cifs credentials=/root/.smbcredentials,_netdev,iocharset=utf8,vers=2.0,nofail,cache=none,uid=1000,...
-1
votes
0
answers
45
views
Root account does not have permission on a file [closed]
I have files which I cannot delete on my hard drive even when I log in as the root account. I have tried to make the owner of the file root using chown, but that does not work either.
I use the mount ...
0
votes
1
answer
31
views
Emergency mode journalctl shows fail mount
I have a pc with 3 disks:
- HDD1: /dev/sdb2 <-> mnt/disk1
- HDD2: /dev/sda2 <-> mnt/disk2
- SSD2: /dev/nvme0n1p2 <-> mnt/ssd2
The ssd is the one containing the homes.
On boot I get ...
2
votes
1
answer
1k
views
CIFS on 22.04 LTS - has something changed between kernel 5.15.0-101-generic and 5.15.0-102-generic?
I have an Ubuntu 22.04 client connected via CIFS to an Ubuntu 22.04 server.
The mounts are done via an fstab entry similar to:
//machine.fqdn/sharename /mnt/some.directory cifs rw,credentials=/root/...
0
votes
0
answers
44
views
Edit /etc/sudoers file to mount cifs without sudo
I have Python scripts on a Linux server that mount cifs. They get executed via crond. I want to execute them via a specific user, but it will only do it with sudo or the root user.
I tried to edit the ...
0
votes
1
answer
41
views
Mount NFS doesnt work anymore after changing ip adres due VLAN
I have put my Synology NAS in a different VLAN then my computer. I changed the IP address in the etc/fstab file for the mounts. My Ubuntu pc is on 192.168.10.50 and my NAS is on 192.168.40.50. I can ...
1
vote
1
answer
44
views
Mount path change automatically in Ubuntu
I have two HDD connected and I am using Ubuntu.
The mount path of them automatically changed
/media/talha/data1 from /media/talha/data
/media/talha/New Volume1 from /media/talha/New\ Volume
I have ...
0
votes
0
answers
50
views
Linux/ubuntu 22.04 block device busy?
For context ... I just built a new qcow image using packer based on Ubuntu 22.04. Most of our custom ansible roles are just reused from Ubuntu 20.04 and we are finding a few discrepancies.
As part of ...
3
votes
2
answers
122
views
Failure to mount external harddisk in Ubuntu 22.04
Recently I have switched from Ubuntu 18.04 to Ubuntu 22.04. One of my external hard disks, a Western Digital Elements 3 TB hard disk, which has always mounted properly in 18.04, did mount and worked ...
0
votes
1
answer
30
views
External Hard drive mount, and Make directory [duplicate]
cloud@cloud-System-Product-Name:~$ cd /media/
cloud@cloud-System-Product-Name:/media$ ls
cloud
cloud@cloud-System-Product-Name:/media$ cd /media/cloud/
cloud@cloud-System-Product-Name:/media/...
2
votes
1
answer
147
views
22.04.4 LTS snap firefox chromium permission problems
I'm running 22.04.4 LTS and Ubuntu Pro support enabled.
"Suddenly" my firefox and chromium stops to start.
If I try to launch them from terminal I get back this errors:
(base) pippo@Ganimede:...
0
votes
0
answers
32
views
Why My WSL virtual disk ext4.vhdx comes into 0 KB? [closed]
My windows crashed. So I want to access my WSL2/Ubuntu 22.04 virtual disk to backup some .rc config files in it.
But I found the ext4.vhdx of it is 0kb.
Try to mount
I tried some commands to mount it ...
0
votes
0
answers
32
views
External drives causing root partition to be reported "full"
I had this recurring problem on my previous PC and thought I was being smart but I wasn't: my 2 external 2 tB HDD backup drives, to which I backup nightly (to protect myself from previous disasters) ...
0
votes
0
answers
100
views
/dev/mapper/ubuntu--vg-ubuntu--lv is full
I'm new to Ubuntu so I apologize in advance. I got my server up and running this week and set up jellyfin, which has been working fine up until now. I dont know if this is the cause but my boot drive ...
0
votes
0
answers
18
views
root and efi mounted as external HDD - Ubuntu 20.04
After inserting a corrupted USB stick trying to format it, sometimes root and /boot/efi partitions were mounted as external HDD, as in this picture
This problem isn't happening at any boot but only ...
0
votes
1
answer
29
views
Cannot open files with Emacs after mounting Google Drive on Ubuntu using ocamlfuse
I have installed a FUSE filesystem for Google Drive so that I can mount my Drive on Ubuntu. It's something I have done before on other machines with no problem.
Everything is installed and mounted ...
0
votes
0
answers
38
views
eMMC replaced with SD, showing incorrect storage size
I'm attempting to get an SD card to mount on boot for permanent storage and I'm pretty sure I screwed it up. This is my first time with Linux and I'm not a programmer. I've never even partitioned ...
0
votes
0
answers
48
views
mount and read-only issue on Ubuntu 22.04
Can anyone please tell me how to resolve this problem? The file system says it is read-only when I try to use chown or chmod.
Apc Extension failed: Error: EROFS: read-only file system, rename '/snap/...
1
vote
0
answers
84
views
linux running a script on a mounted fritz-Box share result in "bad interpreter" in ubuntu 22.04, works on 18.04 (other shares work)
A script like:
#!/usr/bin/env bash
...
or
#!/usr/bin/env python3
...
will result in (german):
-bash: /mnt/Fritz-USB/FritzUSB/t.sh: /usr/bin/env: Defekter Interpreter: Eingabe-/Ausgabefehler
...
0
votes
0
answers
24
views
My external HDD not mounting and not being seen
So a few months back I was using my Toshiba 1Tb external HDD and when I was done I unmounted it before taking 'Safely Remove Drive'. Not thirty minutes later when I went to reconnect it, it wouldn't ...
-1
votes
1
answer
102
views
Most of my hard drive is inaccessible, full storage, cannot install anything. /dev/sda2 825G 7.8G 775G 1% / [duplicate]
when trying to update my machine or install anything, I get an error of no space left.
alex@servercomputer:~$ sudo apt install lvm2
Reading package lists... Error!
E: Write error - write (28: No space ...
-1
votes
0
answers
51
views
Can't access www-data directory as a root user on my nfs share
I have an nfs share mounted on my server, who acts as storage for my Nextcloud instance. As usual the directory is owned by the www-data user. After a restart of my docker containers, there were ...
-1
votes
1
answer
52
views
How to fix fstab entry to mount a partition?
On ubuntu 22.04.4 I am trying to mount a partition as read/write. The following command seems to work:
sudo mount -o rw,user,uid=1000,umask=007,exec /dev/nvme0n1p4 /media/Work/
but I want to add it ...
-1
votes
0
answers
13
views
How to mount/format fat32 partition so that I can WRITE on them? [duplicate]
I am trying to format a partition /dev/nvme0n1p4 as fat32 on ~/Work so that I can WRITE on it. But when I try to write e.g.
touch Work/test.tst
I get an error
touch: cannot touch 'Work/test.tst': ...
0
votes
1
answer
79
views
Show Disks in Nautilus sidebar
On a fresh installation of Ubuntu 23.10, my other drives do not appear in "Files" sidebar. I would like my mounted drive to appear their like in Dolphin.
I made some research, but nothing ...
0
votes
1
answer
87
views
I couldn't mount my external ssd (ntfs) to my ubuntu 22.04.4 LTS
I tried something, but it's not working. For me, the sudo fdisk -l command gives me this output:
... loop devices removed from output ...
Disk /dev/nvme0n1: 238.47 GiB, 256060514304 bytes, 500118192 ...
0
votes
0
answers
64
views
Auto Mount virtiofs
So I have a KVM of Ubuntu 22.04.4 LTS running on my Server. The base operating system is Open Media Vault 6 (Debian-based). I have 2 file systems I am passing through to the KVM, I can mount them ...
0
votes
0
answers
43
views
Unresponsive storage ssd
I have a ssd with very important data in my workstation.
It has a ext4 and a ntfs partition.
This morning, the ext4 partition (sda1) didn't mount, and the filesystem was listed as "unknown" ...
-1
votes
0
answers
35
views
gio mount password with special characters
I want mount using well-known way
gio mount smb://<user>:<password>@<server>/<share>/
In my case
gio mount "smb://WORKGROUP;myuser:+B@e}F)q8tra@@192.168.1.199/"
I ...
1
vote
0
answers
32
views
How to recover a deleted LUKS partition
I have created a LUKS encrypted pen drive with the gnome-disks tool, but a time ago I have accidentally formatted the disk, losing the partition.
I tried to recuperate the partition stored on sda1 ...
1
vote
1
answer
114
views
the folder content could not be displayed input/output error
I'm new to Linux and I have Ubuntu Budgie (Ubuntu 22.04.4 LTS) (Budgie version: 10.6.1) (OS Type: 64-bit)
I have this ntfs type HDD:
I checked its file system:
I saw that it's not damaged:
but when ...
0
votes
1
answer
81
views
Ubuntu 22.04 on Raspberry Pi: /var/cache/fontconfig Gets Created Before /var Is Mounted
I'm running Ubuntu 22.04 (Jammy Jellyfish, ARM64) on a Raspberry Pi. After imaging the Pi's SSD, I re-partitioned the drive and mirrored the contents of /var onto the new partition (verified), renamed ...
3
votes
1
answer
153
views
sudo apt-get upgrade errors
I get the following errors when running the apt-get upgrade:
dpkg: error processing package nfs-common (--remove)
cannot remove /sbin/umount.nfs4: Bad message
E: Sub-process /usr/bin/dpkg returned an ...
-1
votes
0
answers
50
views
Disconnected Network Drive while connecting to windows using samba [closed]
We are facing an issue when we are trying to auto-mount a Samba share drive on a Windows EC2 instance. However, when we manually mount it or run the PowerShell script manually, it connects ...
0
votes
0
answers
73
views
Mount file system which is a SQL Server filestream
We've got a web app (.NET 8.0) which uses the File API to save and load files from a SQL Server's FileTable. In practice, this means that the web app can rely on a "virtual" share to load ...
0
votes
1
answer
41
views
Docker Relocate to external USB SSD Problem
Ubuntu 20.04.5 LTS
Docker version 24.0.2
I am trying to relocate the /var/lib/docker directory to my USB SSD flash drive to save memory on the internal storage, however, I am having difficulty doing ...
0
votes
1
answer
53
views
Setting timeshift backup to harddrive, getting "Device not found" error
I'm trying to set the backup location for timeshift to a new external hard drive I just bought.
I formatted the drive w/ an ext4 filesystem w/ the command:
sudo mkfs.ext4 /dev/sde
I then ran the ...
1
vote
1
answer
100
views
Can't see files/dirs within a USB drive, within WSL?
I have a redirected USB drive from a Windows 11 PC into an RDP Windows 10 guest (mounted as drive J:) running WSL; when I view drive J: in Windows Explorer in that guest I see all of it's files; ...
0
votes
0
answers
25
views
Flash drive Partitions not showing in Amd64 Ubuntu 20.4 -but displays in Arm64 Ubuntu
I’m having difficulty accessing a USB flash drive on my Ubuntu 20.4 virtual machine.
I can access it on my Arm64 Ubuntu 18.4 Embedded computer. The blkid command reports /dev/sda2, along with the ...
0
votes
0
answers
33
views
Protect system disk from attaching to another machine
I have a device (Raspberry PI 3, Orange PI 5) with SSD as main disk, running under Ubuntu 22.04.
This device should be autonome, i.e. autimatically reboot and autorun some services.
There is some ...
0
votes
1
answer
25
views
Long (40s+) kernel boot time (probably swap mount issue?)
I have messed with swap and now i think i have a mount timeout during boot, but I can't find the reason. What I did was to switch to a swapfile, but i decided to move back to separate partition for ...
0
votes
0
answers
63
views
Unmounting partiton on shutdown shows failure
I have the following in /etc/fstab:
LABEL=cloudimg-rootfs / ext4 discard,errors=remount-ro 0 1
UUID=8ff508b8-3975-4ef9-acc1-8ea7aeec56dc /home ext4 defaults ...
1
vote
1
answer
62
views
Mounting Drives
The last time I touched Unix of any flavor it was Solaris, so please forgive me. I'm am so very rusty.
I decided to build a home lab and get back into things. I've built, destroyed, and rebuilt my ...
0
votes
1
answer
65
views
Fresh installation of 20.04 makes three partitions - right?
Now to get to the bottom of my problems mentioned in another thread, I decided to install 20.04 anew. In order to not produce problems from the start on, I let the installation program do as it wished ...