Skip to main content

Questions tagged [mount]

Mount is the process of making available to the computer a new file system device, like a disk drive or a network share.

0 votes
0 answers
2k views

Using iptables inside an unprivileged (rootless/fakeroot) network namespace results in permission error with `/run/xtables.lock`

I'm using unshare to create an unprivileged network namespace: unshare -Unr This gives us a network namespace that should be capable of using iptables. However upon running it: iptables -L We get: ...
CMCDragonkai's user avatar
6 votes
1 answer
4k views

How do I restrict drive access from Windows Subsystem for Linux WSL with Ubuntu

I would like to set up WSL (Ubuntu) in such a way that the root user in WSL doesn't have access to all the drives in windows. Ideally they're able to do everything within the linux world, but aren't ...
ste_kwr's user avatar
  • 161
1 vote
0 answers
191 views

NTFS with UserMapping under Debian (LMDE 5)

I've a dual boot system with Windows 10 and LMDE 5. I'd like to setup file permissions correctly when mounting windows NTFS partitions. The .NTFS-3G/UserMapping was created correctly. When using sudo ...
Nabor's user avatar
  • 121
1 vote
0 answers
359 views

cyclic dependencies with mount points, NFS shares and symlinks

As storage capacity is almost reached, I need to move the contents of the DOCUMENT_ROOT directory to a new disk. As it is quite difficult to change the directory, I just would like to use the /var/www ...
TomS's user avatar
  • 461
1 vote
1 answer
9k views

Linux mounts ext4 external drive read only

My laptop has two operating systems, Windows 11 and Arch Linux. I have a external 4TB HDD formatted to ext4. When I go into Windows, I normally disconnect the external drive, but not always because I ...
nonick66's user avatar
1 vote
1 answer
4k views

Linux in QEMU / UTM VM: davfs2 mount works but has root access only

Using a Macbook M1 running Ubuntu 20.04 (arm64) under UTM virtualizer (is QEMU based) works fine, but I cannot access the host file system. I shared a host folder using the UTM interface and that ...
user513667's user avatar
11 votes
2 answers
15k views

How do you configure Windows Subsystem for Linux 2 (WSL2) to use fstab to automatically mount a Windows Network File Share?

I'm trying to mount a windows share (SMB/CIFS) using a Debian 10 linux distribution running on Windows 10's Subsystem for Linux using fstab to automount on startup. My software specs are OS: Windows ...
Sherlock Bytes's user avatar
0 votes
1 answer
2k views

What if I mount two drives in the same dir

What happens if I accidentally mount two storage devices in the same dir? Sometimes when I work with multiple drives and constantly mount and unmount them I can by accident rerun same mount command, ...
Demiler's user avatar
  • 115
1 vote
1 answer
667 views

Use Windows share with "remote-to-remote" links in Linux

I mount a Windows share on recent Linux with default options that work. But on the Windows share a new symbolic link with the name "archive" has been created that point to another Windows ...
tardis's user avatar
  • 194
2 votes
0 answers
1k views

CIFS share can no longer mount

I used to have a CIFS share pointing to a Windows machine's C drive, however it broke some time ago (I assume following an update, but I don't use the share all that often, so I don't know exactly how ...
TheMohawkNinja's user avatar
1 vote
0 answers
2k views

How to mount Android 10 vendor image file / how to mount ext4 .img in write mode?

I'm getting the exact same error as How to mount Android 10 vendor image file, that is, when I decompressed system.new.dat.br from an Android ROM to a system.img and when I try to mount with: sudo ...
Guerlando OCs's user avatar
5 votes
1 answer
24k views

wsl does not have --mount option. So how do I mount a drive using wsl?

I am following the tutorial here: https://docs.microsoft.com/en-us/windows/wsl/wsl2-mount-disk I can get the listing of my drives by running: GET-CimInstance -query "SELECT * from Win32_DiskDrive&...
Dick's user avatar
  • 53
1 vote
1 answer
2k views

How to remove a volume that is linked to a disconnected network drive

I have a disconnected network drive that is linked to a volume (N:). It used to be linked to an NFS share on 127.0.0.1\data (using WinNFSd), but I didn't need it anymore. I am trying to remove it, ...
coolcat007's user avatar
1 vote
0 answers
2k views

USB disk always mounted as offline. Anything that I can do about this?

My 2 TB 2.5" USB 3.0 external disk is never found by my TV. When I plug it to my Windows 10 Pro, it is mounted properly (Disk Management can see it), but "offline" (i.e. without any ...
trejder's user avatar
  • 11.4k
1 vote
1 answer
37 views

Difference between Openrack vs Openrack v2

The Open compute project has different types of projects for open rack. The following is the types (family) of OpenRack mentioned in open compute contributions. OpenRack v2 OpenRack OpenRack v1 ...
Anonymous Creator's user avatar
1 vote
1 answer
3k views

Permission denied issue with fuse mount: "setting times of <FILE NAME>: Permission denied"

I have a Google cloud bucket being mounted on a RHEL8/FIPs GCP VM (gov't contract :(). It is a permanent mount point with this configuration in /etc/fstab: <BUCKET_NAME> /usr/local/folder ...
Robert Campbell's user avatar
2 votes
0 answers
249 views

MacOs - Keep SMB server mounts alive on temporary VPN connection drops/reconnects

I am using SSTP VPN Connections (via SSTPc) on my MacBook and am mounting manually SMB Drives from the VPN Network. Hwr, anytime my VPN Connection drops, my Mounts are unmounted and not there in ...
haemse's user avatar
  • 192
1 vote
1 answer
4k views

Mount NFSv3 From Windows Server 2019

I have enabled NFS sharing on windows server 2019 using NFS version 3. I have disabled both NFS ver 2 and NFS ver 4 via powershell: Set-NfsServerConfiguration -EnableNfsv2 $False -EnableNfsv4 $False -...
Alvin Lim's user avatar
0 votes
0 answers
988 views

mount operation not permitted in ChromeOS developer mode

I want to install texlive on my Chromebook by enabling the builtin developer mode of ChromeOS, which runs debian on a virtual machine. So, I downloaded the ISO file of texlive from here. The problem ...
Aman Sharma's user avatar
1 vote
0 answers
294 views

Veracrypt exFat inside Kubernetes pod

I have a working solution to run this veracrypt command inside a pod: veracrypt --text --quick --non-interactive --create /media/vera --volume-type normal --size 200M --password 123456 --hash SHA-512 -...
Adam's user avatar
  • 11
1 vote
1 answer
1k views

Mount SMB / New-PSDrive (PowerShell on macOS)

Our computing environment is primarily windows, but I work mostly from macOS. Typically, I enter-pssession to a windows server/workstation using -SSHTransport and am able to make use of any fileshares ...
Politinerd's user avatar
1 vote
0 answers
432 views

Wrong User OWNER on folder or file: docker run -v <host_path_dir_file>:<docker_some_path_dir_file>/ -- Not working for user defined in Dockerfile

Host OS: Red Hat Enterprise Linux Server release 7.9 (Maipo) Guest OS i.e. a Docker container running: OpenSuse 15.2 Docker Version (on Host): Docker version 19.03.5, build 633a0ea On host, when I git ...
AKS's user avatar
  • 121
1 vote
1 answer
4k views

sshfs permanent mounting without password prompt

I have two Linux machines Linux 1 Linux 2 I mount a directory on Linux2 to Linux one as below: sudo sshfs -o allow_other [email protected]:/usr/XXXXX/bin /opt/Project/MountHere/ This works, but ...
user3122648's user avatar
2 votes
3 answers
4k views

How to do "cryptsetup luksOpen" and "mount" in a single command?

I currently have the following script. I run this manually when I need to mount the disk described. I don't need/want this disk auto-mounted on boot: disk1="/dev/disk/by-uuid/84ea2a10-abcd-abcd-...
Ana's user avatar
  • 1,671
0 votes
1 answer
535 views

Copying between 2 network mounted folders very slow

I have a NAS which has 4 volumes with shared folders. I have a Raspberry Pi 4 (running RPI OS Bullseye) which uses docker and various containers for various purposes. I have mounted essential network ...
CaptainHero'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
1 vote
1 answer
46 views

DIfference between `less mount` and `mount | less`

I was trying to look at the output of the mount command. less mount gave the following error: (base) jafar_isbarov@jafar-IdeaPad-3-15ADA05:~$ less mount mount: No such file or directory When I ran ...
Jafar Isbarov's user avatar
0 votes
1 answer
277 views

Make write to sshfs atomic

I'm using sshfs to run some process on one mashine and store the result on another one. The command I'm using to mount is sshfs user@host:/rempte/path /local/path. The scrip I'm running creates a file ...
Falk's user avatar
  • 343
0 votes
1 answer
2k views

Detect in Linux Bash if USB drive is unmounted and mount it automatically

My USB drive is plugged in to a server with Ubuntu system and constantly unmounts itself for no known reason. I want to write a script in Bash which will be run frequently by cron. My question is how ...
anuritbiz's user avatar
2 votes
1 answer
15k views

How to debug nfs client connection timeout?

I have 1 nfs-server(10.192.244.109) & 2 nfs-client there. On one client, both ok to mount the nfs-server directory with v3 & v4, while on another client, it's only ok to mount the nfs-server ...
atline's user avatar
  • 123
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
5k views

how to force ubuntu disk image mounter to mount image files as writable?

i have an image and want to edit it a little for some configurations so that they will be available from first boot. but how? i opened the file but the mounted volumes are read-only. when i try sudo ...
user135142's user avatar
1 vote
1 answer
2k views

Can’t use sudo after umount —all

I tried to unmount all of my fstab mounts by using: sudo umount --all Right after that i tried to remount everything by using: sudo mount -a But got this error: sudo: effective uid is not 0, is /...
Michael yarshansky's user avatar
0 votes
1 answer
660 views

Ubuntu / systemd fails to mount bindfs mount on boot

On my Ubuntu 20.04.3 LTS server running as KVM VM, I have defined 4 custom mount points in order to access the host's filesystem. Two of them are 9p mounts and two of them are bindfs mounts that are ...
giannoug's user avatar
  • 101
3 votes
1 answer
17k views

How to write and save changes to “/etc/fstab” after effectively breaking the “/etc/fstab” on my system. Can only boot to basic terminal

To make a long story short, and to focus the question, I basically need to get root access to my own laptop running Linux Mint to be able to save my changes to the /etc/fstab file. More details: I'm ...
puppydrum64's user avatar
1 vote
1 answer
1k views

Why am I able to mount arbitrary TMPFS as an unprivileged user with unshare?

While messing around with unshare, I stumbled on the following behavior in an unprivileged shell: foo@pc $ id foo uid=1000(foo) gid=1000(foo) groups=1000(foo),27(video),97(input) foo@pc $ unshare -r -...
Afalide's user avatar
  • 13
0 votes
1 answer
495 views

Cannot properly mount music CDs under Xubuntu Linux

I have three systems running Xubuntu: Dell E5440 running 18.04 ThinkPad T420 running 20.04 Dell PowerEdge T110 (headless server) running 20.04 I am trying to mount the optical drive and I cannot do ...
Brian's user avatar
  • 183
3 votes
1 answer
12k views

/dev/sdb read-only filesystem

I think I have pre-maturely ejected USB during a write operation. Currently I'm trying to use this USB image to write another USB image to it, so whether all the data gets erased from it does not ...
bumbread's user avatar
  • 131
0 votes
1 answer
610 views

Mount a Raspberry Pi OS disk image with PowerShell Mount-DiskImage

I'd like to mount the first FAT partition of a standard Raspberry Pi OS disk image (the Lite version) to make some modifications and copy additional files into it for the first start of the Pi. After ...
ygoe's user avatar
  • 2,338
2 votes
1 answer
2k views

How to chroot into a WSL installation form another WSL installation?

I want to chroot into my Kali Linux WSL from my Ubuntu WSL. I'm running WSL2. In Windows, I mapped my Kali Linux WSL installation (\\wsl$\kali-linux) to the drive K:. In Ubuntu WSL, I mounted the K: ...
Adel M.'s user avatar
  • 143
1 vote
1 answer
242 views

Why does my external hard drive mount as /media/TB1 instead of /media/TB?

I just added a new external USB hard drive and it's showing up in the system as TB1 when it is labeled both in the partition and in the /etc/fstab as TB. Why is this happening? I suspect it may be ...
confused's user avatar
  • 171
0 votes
0 answers
637 views

Fix For Blanked Out UUID On Luks Encrypted Drive?

Problem: When I mount a Luks Encrypted drive, the drive mounts, but I can't access the files. The drive is the root drive. It has ElementaryOS installed on it. It booted fine, until after doing some ...
Emily's user avatar
  • 161
0 votes
1 answer
440 views

How to mount disc images privately in OS X

If I understand it correctly, the devices mounted in Mac OS under /Volumes are available to all users of the system. This includes not only the internal hard drive, but also all external media, AFP ...
Tim Kober's user avatar
0 votes
2 answers
954 views

Mounting 2 external drives always in the same way in Debian

I would mount on Debian (on raspberrypi with nextcloudpi) two external USB drives always in the same sequence (sda, sdb etc..) Now i've attached one USB External Drive and Debian automap as /media/...
Franco's user avatar
  • 1
0 votes
2 answers
1k views

I have 2 network interfaces in an Ubuntu 20.04 build, how can I force SMB/CIFS connections over the secondary network interface?

As the title says, I have 2 network interfaces in an Ubuntu 20.04 build - 1 1GbE link for internet etc. and a secondary 10GbE link that is directly connected to a file server. The 10GbE link has been ...
smank_dude's user avatar
1 vote
0 answers
250 views

Linux Kernel 5.15.1, fstab umask=0022, mount command shows fmask=37777600022,dmask=37777600022

I downloaded and compiled the linux-cacule (5.15 for native ntfs3 support) kernel from the AUR repo. Following the documentation here on the new ntfs3 mount option: https://www.kernel.org/doc/html/...
shayaknyc's user avatar
2 votes
1 answer
2k views

linux df -h not showing some info

I have Ubuntu 20.04 linux and I create a second disk, and second filesystem. Right now when I want to see info my second filesystem df is not showing. I use default mount specification. df -ah ...
thargalin's user avatar
1 vote
1 answer
504 views

Mount of device not owned by requested user

Using Ubuntu 18.04. When logging into a tty terminal of a PC, the dmesg lines [ 83.966238] Mount of device (uid: 0) not owned by requested user (uid: 1000) [ 83.966795] Reading sb failed; rc = [-1]...
XavierStuvw's user avatar
0 votes
1 answer
228 views

Ubuntu: Automount /etc/fstab with mount -a, does it disrupt already mounted devices?

Say I have /dev/sdb and /dev/sdc already mounted and I am currently copying files from one to the other. Can I safely edit /etc/fstab to also include yet unmounted /dev/sdd and do mount -a to mount it?...
Julian Habekost's user avatar
11 votes
3 answers
61k views

How to map user IDs on an NFS share?

I have succesfully mounted an NFS share from my remote machine to my local. However, the files I want to edit on the remote machine are all owned by root. How can I mount my NFS drive so that my local ...
Bart Friederichs's user avatar

15 30 50 per page
1
4 5
6
7 8
50