Questions tagged [mount]
Attaches a file system to a specified point in an existing filesystem hierarchy
3,183
questions
0
votes
0
answers
17
views
How to remount with exec
I've tried mount -o remount,exec it has no effect.
$ mount | grep home
/dev/nvme0n1p3 on /home type ext4 (rw,noatime,errors=remount-ro)
$ sudo mount -o remount,rw,noatime,exec /home
$ mount | grep ...
-1
votes
0
answers
27
views
Recovering Disk Partitions [duplicate]
Imagine there are 3 partitions usr/local/MAP/image/dev1, /usr/local/MAP/image/dev2, /usr/local/MAP/image/dev3. I have added new disk to server and mounted it to /usr/local/MAP/. When I did that all 3 ...
0
votes
0
answers
15
views
Not able to mount disk partitions simultaniously after cloning by cat/dd command
In my Ubuntu 20.04.4 LTS virtual machine(in azure), I had 2 data disks (/dev/sdc & /dev/sdd) connected.
I attached 2 disks to VM as per:
https://docs.microsoft.com/en-us/azure/virtual-machines/...
0
votes
0
answers
16
views
systemd mounting conditions
I'd like to mount a file system during boot on host A, but only when service X is running on host B.
Is it doable in systemd without creating artificial rc.local like service?
0
votes
0
answers
33
views
How to mount image.ext2 file system that is in iso9660 image (livecd)
I have ISO9660 image. In this image there are isolinux bootloader, small initrd.gz filesystem, Linux kernel and real root.ext2/3/4 file system. After in virtual machine the system was loaded in the ...
0
votes
1
answer
33
views
smbclient works but mount.cifs doesn't (NT_STATUS_MORE_PROCESSING_REQUIRED)
I am attempting to access a file share on an old machine which uses SMBv1. This is a remote machine which I do not have physical access to, but I believe it runs Windows XP.
I can access it fine using ...
0
votes
2
answers
32
views
systemd service to start after mount of ram drive
I have a inotify-based service that backs up my LAN's git directory to the Dropbox. I tried keeping the git directory in the Dropbox but I have multiple git clients so often get error files there.
In ...
0
votes
1
answer
29
views
Mount a network folder on Linux system Permission denied
I just mount a network folder on Linux system , and we are using the folder on the folder by using RStudio . But from RStudio we can see all of the filers (can Read) But we can not Write .
bash-4.2$ ...
0
votes
0
answers
18
views
Start service after mount/luks open
I have a luks encrypted volume.
On this volume are qemu/libvirt disks stored.
Now when the server boots, qemu/libvirt cant start because the volume is not available/mounted.
Is there a way to tell ...
0
votes
0
answers
37
views
What is a move mount and how is it different from a bind mount?
I've been using bind mounts for 20 years, they're pretty simple. Now I see there is also a move mount,
The move operation
Move a mounted tree to another place (atomically). The call is:
mount --move ...
0
votes
1
answer
28
views
/Volumes vs /media/${name}
A fellow Kindle user wrote a simple script to remove adds from the eReader here: https://github.com/mariopepe/KindleAdRemover/blob/master/KindleAdRemover.sh
As you can see it's removing the .assets ...
1
vote
0
answers
34
views
Cant Escape Emergency Mode to Default Mode Pop!_OS After "Windows Volume Repair" and fsck
I am dual booting Pop_OS! 22.04. I booted into Windows, finished what I was doing there then went back to boot into Pop!_OS and discovered it would not boot, it was giving me some sort of diagnostic ...
0
votes
0
answers
53
views
Not able to create Logical Volume [closed]
While creating logical volume on the top of volume group in server getting error as below:
lvol does not exist in the "/etc/lvmtab" file.
lvol does not exist in the "/etc/lvmtab_p" ...
0
votes
1
answer
47
views
Why am I getting mount error Operation not supported?
VM running Ubnutu v18.04:
In /etc/fstab I have the following (pw elided):
//216TN53/UbuntuShare /mnt/data cifs username=kafkaetl,password=*******,uid=nobody,iocharset=utf8,noperm 0 0
mount -av is ...
1
vote
0
answers
28
views
Wine : unable to write a file (MusicBee)
I've been trying to use MusicBee on my arch with wine, and I'm facing a weird problem I didn't expect.
When I try to create a Library (which is basically writing a file and creating folders as far as ...
0
votes
0
answers
34
views
How to reload (kill -HUP) rsyslog.service after a mount point comes up with systemd?
I've set up rsyslog to copy certain logs on a separate volume. I want it to be up as early as possible for obvious reasons, but also I want it to start writing to the volume as soon as it becomes ...
0
votes
0
answers
71
views
Mounting Network Share on Debian for Plex
I'm working through setting up a media server running Debian 1.2.0 on a VM with ESXi. I've installed Debian and also installed Plex. The media is on a Netgear ReadyNAS102 and needs to be accessed ...
0
votes
0
answers
22
views
Linux No Sound on Login, Only After Replugging in Headphones
The Problem
Every time I log into my Computer I have no Sound so I have to unplug, and plugin my Headphones back again.
Specs
Ubuntu 20.04
x86_64
Some normal audio jack In-Ear-Headphones
My Idea
So ...
1
vote
0
answers
14
views
How to mount folders on a per-process basis while keeping all functionalities of regular shell
In order to fake a FHS OS on a non-FHS OS (NixOs) and to increase "purity", I need to mount some folders and overlay other folders in a per-process basis, for instance /lib does not exists ...
0
votes
0
answers
49
views
fsck.ext4 Error : unable to set superblock flags on /dev/sdaX
/dev/sda3 is my main Linux(Ubuntu) system partition.
/dev/sda4 is my sub Linux(Kubuntu) partition.
I installed Kubuntu on my main SSD that already includes Ubuntu. In this progress, I just resized /...
0
votes
0
answers
24
views
VM hangs when mounting a (full) partition
First of all, I should say I'm a beginner regarding these matters, so please bear with me for a moment. Thank you.
My company accidentally fill one RAIDZ partition (named sdb1) up to 100% of its ...
1
vote
2
answers
49
views
User namespaces: how to mount a folder only for a given program
I'd like to fake a FHS system on a non-FHS system (NixOs) without root access. To that end, I need to mount some folders at the root (like mounting /tmp/mylib to /lib) using usernamespaces (I don't ...
6
votes
2
answers
486
views
Find all “real” filesystems mounted in a directory tree
How do I discover, for a given top-level directory, which “real” filesystems are mounted there, and from which devices (may include UUID or LABEL, but must use /dev/something for LVM)?
Background is ...
0
votes
1
answer
37
views
How to Activate a Mount of a Remote Share When Its Machine Connects?
How can one activate a mount of a remote SMB share when the remote machine connects?
This is more about discerning a local event triggered by the connection of a particular remote machine, than it is ...
1
vote
0
answers
97
views
TAB completion not working for mounted partition
I'm used to mount a Windows partition (G) into my Windows Subsystem for Linux (running Ubuntu 20.04) by giving the following commands:
sudo mkdir /mnt/g
sudo mount -t drvfs G: /mnt/g
Unfortunately, ...
1
vote
1
answer
45
views
Finding the 'tools' filesystem mounted on /init in WSL2
I have been using linux for a couple of years now, and thought I'd give WSL2 a try.
Something that surprised me was how I could run Windows PE binaries (*.exe files) 'just so'. A bit of research led ...
0
votes
1
answer
32
views
Add and remove options to a mount point without umount
I have a gluster mount point with some issues, to find a file using its gfid I have to mount (remount) the gluster volume with an additional option.
mount -t glusterfs -o aux-gfid-mount hostname:...
2
votes
1
answer
88
views
Transfer large files with rsync to USB drive
I am currently trying to optimize an transfer process from an internal disk to a USB drive.
The files that I am trying to transfer are in the range of 10-30 GB.
The USB mounted disk is with a USB 3 ...
0
votes
1
answer
40
views
unable to mount network share from fstab or in terminal
My laptop boots normally. But earlier this week, after some updates, it is unable to mount (fstab) network shares from my QNAP.
Other computers with the same fstab connect successfully. I checked the ...
1
vote
1
answer
39
views
RaspberryPI cannot change permission of mounted hdd due to rpi-first-boot-wizard user
I mounted an external hdd into /mnt/edisk on my raspberry pi. If I check ownership, strangely I see this:
drwxr-xr-x 19 rpi-first-boot-wizard rpi-first-boot-wizard 128K May 10 17:44 edisk
I can write ...
0
votes
0
answers
58
views
CIFS - no target servers for DFS failover
I have 2 windows shares i mounted to Ubuntu server
Content of /etc/fstab
//fs.example.local/data$ /data cifs vers=3.0,credentials=/root/.cifsauth,noserverino,rw 0 0
//fs.example.local/data$/mapis/...
0
votes
0
answers
16
views
Linux Centos 7 An error occurred while accessing the system responded: The device is already mounted
I am working with Linux Centos 7. I have 3 hard disks in my computer. Each time, when I click on my 3rd hard disk drive, I am facing this error:An error occurred while accessing the system responded: ...
0
votes
1
answer
89
views
Unable Mount Shared Windows Server Drive in Ubuntu 18.04
I am attempting to mount a shared drive located on a 2019 windows server(192.168.1.180) to my linux machine(Ubuntu 18.04). I've updated my fstab as you can see below and created a new directory for ...
0
votes
0
answers
50
views
Disks no longer mount when starting Ubuntu after installing Blender compilation dependencies
I'm trying to compile Blender on Ubuntu 22.04 and I ran into some problems while installing some dependencies and now Ubuntu wont boot. I was running an automatic dependency installation script for ...
0
votes
1
answer
69
views
Mount root filesystem with user permission using sshfs
I want to use sshfs to mount filesystem folder on my machine (let's say ~/home).
I would like to be able to edit files inside the / folder that got mounted using any editor (for example, edit /etc/...
0
votes
1
answer
55
views
Move /var and /home directory on a separate NVME partition
I am using Debian 11
I would like to move /var and /home directories to a NVME partition nvme1n1p1 I have attached to the server.
EDIT: I am able to move the home folder and bind to the partition. But ...
2
votes
0
answers
38
views
Mount NAS share works by hand but not from boot even after networking
The problem is on a Debian machine, I use a Ubuntu one, and the same share is loaded in a Raspberry.
I put the entry for the mount in /etc/fstab but it works only with sudo mount -a and not on the ...
1
vote
0
answers
43
views
Mounting NFSv4 NAS folders hangs
I have a QNAP NAS sharing folders using NFSv4. Until now I used to mount my folders as follows:
$sudo mount -t nfs -o nfsvers=4 192.168.1.50:/Music ~/Music/
192.168.1.50 is the IP of my NAS and 192....
0
votes
1
answer
18
views
Mount ONLY specific extensions using --bind option? Or alternatives... (Idk if is this possible... )
I have a folder in a partition with lots of files - PDFs, texts, logs, etc.
The folder is /mnt/main_files
I'm wondering if is it possible to map only the PDF files and direct them to /var/www/html/...
0
votes
1
answer
183
views
How should mount bind look like on Ubuntu? mount: bad usage
I am following this guide bookstack install
mount type=bind,source=/home/ubuntu/.env,target=/var/www/bookstack/.env -v /home/ubuntu:/var/www/bookstack/public/uploads -v /home/ubuntu:/var/www/bookstack/...
1
vote
0
answers
14
views
Change underlying device of mount or dm-crypt without unmounting
I have an external, encrypted USB-drive that was mounted through dm-crypt: The device was /dev/sdb, decrypted as /dev/mapper/external (which is a symbolic link to /dev/dm-5) and mounted as /mnt. After ...
0
votes
0
answers
14
views
HFSPlus unable to load nls for utf8
I'm trying to mount a .img file created from dmg2img. I have tried the following:
sudo modprobe hfsplus
sudo mount -o loop -t hfsplus ./path/to/img /mnt/iso
This gives me an error:
mount: /mnt/iso: ...
1
vote
1
answer
21
views
How to determine if mysql is using directory under mounted directory?
I currently have MySQL using /home/foo/data/database as its datadir. With /home/foo/data/database being a mounted raid 1 array. The problem I am having is that every once in awhile on boot MySQL is ...
0
votes
0
answers
17
views
Why removing a flash drive does not unmount it and reinserting the same drive gives it another device name
I am running a terminal only minimal linux. It has systemd and udisks2 as well.
I mount a flash drive (first time it is /dev/sda1) like this from root account but for another user account:
# mkdir -p &...
0
votes
0
answers
49
views
FSTAB on Debian 11 Mounts Drives in Read-Only Mode
I installed MergerFS on a debian machine, and things seem to work. However, the drives end-up in read-only mode. How can I fix this?
/etc/fstab
/dev/disk/by-id/ata-ST1000LM014-1EJ164_W770QH4A-part1 /...
0
votes
0
answers
59
views
How to mount a cifs Partition for docker-compose?
I want docker-compose to mount one of the volumes to a mounted CIFS partition.
I used the seafile docker-compose file and changed the volumes to
...
db:
...
volumes:
- /mnt/nas_share/...
0
votes
1
answer
17
views
Using allow_utime with exfat
Considering the fact that exfat does not store ownership information of files, is it possible to mount an exfat partition in Linux with an allow_utime option that is also available for vfat? If not, ...
0
votes
1
answer
367
views
/proc won't mount in kali linux running under Android
I'm now using kali Linux on termux. I had several problems like /proc is not mounted, /proc permission denied, etc.
ps -auxtells this:
> root@localhost:~# ps -aux
>
> Error: /proc must be ...
0
votes
1
answer
34
views
How mount *.img file in centos 8 in fstab?
Create a virtual disk samba.img and mount it
fallocate -l 2G /root/img/samba.img
mkfs.ext4 /root/img/samba.img
sudo mkdir /srv/smb
sudo mount -t auto -o loop /root/img/samba.img /srv/smb
It works, ...
35
votes
1
answer
4k
views
What happens when Linux goes out of letters for drives?
Let’s say I have 50 USB flash drives.
I assume they get to be /dev/sda to /dev/sdz. What comes after /dev/sdz?