Skip to main content

Questions tagged [mount]

Attaches a file system to a specified point in an existing filesystem hierarchy

Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

script in systemd service behaves different than running manually

I have a systemd service which runs a loop to check if a smb share is available and mounts it once it is. This works fine for one share, but not fine for another. After waiting for the share to be ...
HangryChicken1245234's user avatar
0 votes
0 answers
24 views

Does systemd always clone the parent process's mount namespace?

The description of the PrivateMounts setting of the systemd execution environment configuration documentation says File system namespaces are set up individually for each process forked off by the ...
user2582713's user avatar
1 vote
0 answers
39 views

How to set permission so that `du` can be run as some user on external drive directories that are owned by multiple other users?

I am trying to use the du command as one user from inside a docker container (Telegraf) to get the disk usage of various directories on an NFS-mounted external drive. My set up looks like this: Both ...
teeeeee's user avatar
  • 187
0 votes
0 answers
34 views

Linux filesystem remapping

I have an ssd drive and a internal HD one. I want OS pointing to the home located in internal HD and working files Downloads, Music, Videos, Templates, Documentos etc., locatein the HD. My /etc/fstab ...
hjmnzs's user avatar
  • 1
0 votes
1 answer
36 views

Fstab does not mount on boot btrfs with subvolumes but "mount -a" does it

It's my first time playing with btrfs so I just followed few tutorials. Drive mount on boot without problem when I don't want to mount subvolumes but it stopped mounting when I added mountpoints for ...
Cronos's user avatar
  • 11
0 votes
0 answers
37 views

(re)mount network drive after password change

We have several Linux servers mounting a network drive with a line in /etc/fstab like this one: //10.10.1.10/net_folder/local_folder cifs _netdev,credentials=/etc/security/user_credentials The drive ...
Alessandro Fantuzzi's user avatar
-2 votes
1 answer
54 views

Trying to mount a drive, but Mint can't find it?

I'm trying to mount the NTFS partition as described here https://linuxconfig.org/how-to-mount-partition-with-ntfs-file-system-and-read-write-access The system is installed on sda5 and mounting sda1 is ...
user211556's user avatar
0 votes
0 answers
22 views

Docker Compose not synchronising file changes in volume

Reposting from here as I don't quite understand how the "solution" works. Symptom: As reported here: I mount my local files into the container for development. My docker-compose.yml file is ...
xpt's user avatar
  • 1,682
0 votes
0 answers
21 views

Switch mount's backing device

I'm looking into removing lvm from a root filesystem without reboot or umount. I was planning on mimicking the lvm device with dmsetup, changing the mount to the new device, then removing lvm. However,...
Kyle Sebion's user avatar
0 votes
3 answers
76 views

My shell script exits if I try to mount from within the script an already mounted drive How can I make my shell script resume?

This is what happens. I manually and successfully mount my USB drive using mount /media/usb from outside a shell script which I wrote. Therefore, the drive is working and mounted normally. The very ...
superlinux's user avatar
0 votes
1 answer
207 views

Unable to Access Location - Error Mounting /dev/sda1 (wrong fs type, bad option, bad superblock, etc.)

I'm encountering an issue when trying to mount a partition in Ubuntu. When I attempt to access the partition, I receive the following error message: Error mounting /dev/sda1 at /media/moe404/[...
Mohamed Eid 's user avatar
0 votes
1 answer
21 views

Changing Filemodes of Mounts in Linux

I was trying to use an USB-stick in Linux and it didn't go as expected: I had already created a mountpoint (/mnt), found the device of the newly inserted USB-stick (/dev/sdb1) and mounted it: # ls -l /...
bakunin's user avatar
  • 533
1 vote
1 answer
31 views

How to check for changes on mounted nas if entr and inotify fail?

How can I detect changes on a mounted NAS? It is mounted via fstab: //fritz.box/FRITZ.NAS /media/fritz cifs username=foo,password=bar,vers=1.0 0 0 Since I tried entr and inotify to no avail, I'm ...
jjk's user avatar
  • 423
0 votes
1 answer
28 views

fstab not mounting but manual mount works

How can I mount via fstab? # /etc/fstab //fritz.box/FRITZ.NAS /media/fritz cifs username=foo,password=bar,vers=1.0 0 0 followed by sudo mount -a; ls /media/fritz/ leads to nothing While this one ...
jjk's user avatar
  • 423
0 votes
1 answer
28 views

Can not change ISCSI disk mount point to other directory

Problem: I can not change ISCSI disk mount point to other directory. Currently I have ISCSI disk mounted to /iscsi2 I would like to change it to /iscsi I changed /iscsi2 to /iscsi in /etc/fstab, but ...
klor's user avatar
  • 426
0 votes
0 answers
36 views

How to remove unwanted options ( nodev, nosuid, nobrowse ) on mount on recent macOS

On macOS Big Sur, how to get rid of unwanted mount options which are automagicaly added by the diskutil command: nodev, nosuid, nobrowse? On macOS Big Sur, I noticed that most of the mounted file ...
athena's user avatar
  • 1,000
0 votes
1 answer
66 views

mount: can't read superblock

Problem Mount directory. sudo mkdir /mnt sudo chmod -R 777 /mnt sudo mount /dev/sdm1 /mnt, will work Do some work.. sudo umount /dev/sdm1, will work sudo mount /dev/sdm1 /mnt, will not work Partial/...
user1150896's user avatar
0 votes
0 answers
77 views

gio mount: volume doesn't implement mount

Like many other posts, gio mount for me results in volume doesn't implement mount. I've followed just about every SE post for instantiating a dbus session prior to mounting but end up with the same ...
Sterling Butters's user avatar
0 votes
0 answers
29 views

Why does smbclient not require security mode? (But mount.cifs does)

I have a windows share that I am able to access with smbclient no problem (where I confirmed the share is using SMB3.11). As I understand, there are security mode implications based on SMB version (...
Sterling Butters's user avatar
2 votes
2 answers
76 views

How can I mount this special disk? (.vmdk format, bootable but cound not mount...)

I got a virtual disk from a CyberSecurity vendor, I want to check the files on it. When I set my virtual machine boot from this disk, it can normally boot. I want to check the files on it, so I attach ...
Tsy Senyon's user avatar
0 votes
1 answer
128 views

WSL: Processing fstab with mount -a failed

When entering in my archlinux WSL with the command wsl -d Arch after a fresh install, (I completed a base install of arch linux in virtualbox. By exporting it as a compressed tar file, transferred it ...
Debajyati Dey's user avatar
0 votes
1 answer
49 views

Why SSD accessing internal HD finds home folder empty?

I have two hard drives sda2, sdb2, and one SSD on system. sdb2 runs windows and the remaining use opensuse which ssd has the latest version. When I use Dolphin on SSD to mount hard drives (HD), I ...
user429323's user avatar
0 votes
1 answer
140 views

Unable to mount encrypted ZFS filesystem after reboot

Key load error: Failed to open key material file: Input/Output Error. Command: `mount -o zfsutil -t zfs rpool/ROOT/ubuntu_uy913 /root/`. Message: `zfs_mount_at() failed: encryption key not loaded`. `...
MoonMiddays's user avatar
0 votes
0 answers
144 views

Disk mounts but when using fstab gives: mount: wrong fs type, bad option, bad superblock

Background This might not be pertinent: I installed a newly downloaded iso of fedora server 40 on an ssd and began to configure. So far so good. One of the things we've found about ssds is they live a ...
Richard T's user avatar
  • 224
1 vote
0 answers
85 views

NFS mixup with mounted ISO images

I have made an offline Debian software repository with currently 49 DVD images on my NAS. I created a single directory '/mnt/ISO-images' which contains the 49 mountpoints. I export this single ...
Steijn van Essen's user avatar
3 votes
2 answers
1k views

How shall I find the device of a phone's storage so that I can mount it in Linux?

I plugged an Android (HarmonyOS 2.0.0) phone into a Linux laptop using USB connection. I want to mount the storage of the phone in Linux, so that I can transfer files between the phone and the laptop. ...
Tim's user avatar
  • 104k
0 votes
2 answers
37 views

Rename mounted home directory

I have the following situation, where I have a folder /new_home, and a mount in etc/fstab: /new_home /home none bind 0 0 So that means that /home does exist, and is a mount point, and /new_home is a ...
Thomas Hirsch's user avatar
0 votes
0 answers
108 views

Trouble setting up Linux on Nintendo Switch

I'm a complete noob to Ubuntu and I've been trying to set it up on my Nintendo Switch, but I keep getting the same error that says "Failed to mount rootfs" on boot. I've tried doing the ...
André Guerra Silveira's user avatar
0 votes
0 answers
64 views

Mount BTRFS drive with equivalent to 022 umask?

I feel like I really ought to be able to figure this out, and it's a bit embarrassing to admit that I can't, but... I have a Mint 21 server running Plex Media Server, and my media drive is a 12TB ...
Linx's user avatar
  • 1
1 vote
0 answers
32 views

Create two separate mount points with different subfolders for the same /dev/sda1 device

I created three mount points for the /dev/sda1 device : admin_pri@mypc:/opt$ findmnt | grep sda1 ├─/opt/pacbio_data /dev/sda1 ext4 ...
pedro's user avatar
  • 111
1 vote
1 answer
121 views

Move /home partition from separate drive to same drive as root

My Linux Mint install currently has my /home directory set up as a separate partition on a second drive mounted at /home. I see a lot of tutorials for switching /home to another drive, but I'd like ...
Jez's user avatar
  • 1,006
1 vote
1 answer
441 views

What is the purpose of tmpfs mounts under /run/credentials?

I haven't seen these tmpfs /run/credentials ... listed mounts in my df output before. What's it about :> df -h Filesystem Size Used Avail Use% Mounted on tmpfs 1.0M 0 1....
Stephen Boston's user avatar
0 votes
0 answers
29 views

AutoFS isn't mounting, but can manually mount

I can'tfigure out why autoFS mount isn't working. I can manually mount it, but can't get it to work with autofs. edgar@Docker:~$ sudo mount 10.100.0.88:/export/Photos /mnt/nfs/Photos [sudo] ...
Krazy's user avatar
  • 1
0 votes
0 answers
26 views

Nas storage temporary file errors

We have a NAS storage used for file sharing linux+windows. This is old server, but it supports Samba dialect of 3.0 and we use it. This is the relevant line in /etc/fstsb: //nas1/Work /nas1/Work cifs ...
Alon Lanyado's user avatar
0 votes
0 answers
13 views

Autofs expiring browseable offset mounts, resulting in the inability to mount

Summary: We define a /mount/path/pathcontd/mountpoint tree in autofs, have historically --ghosted the paths, but have recently attempted to set the offset mounts as browse-able. Our configuration ...
user613003's user avatar
0 votes
1 answer
213 views

How to mount sftp server with sshfs

It is simple enough to connect sftp server with lftp command without any key or password : lftp 192.168.31.130:3721 lftp 192.168.31.130:~> ls drwxr-xr-x 1 nobody nobody 3488 Dec 22 20:17 ...
showkey's user avatar
  • 461
0 votes
0 answers
600 views

Autofs - setautomntent: lookup(sss): setautomountent: entry for map auto_master not found

I am trying to set up my NFS system between my server node and my client node running on rhel9. They are both on different physical servers on the same network. The nfs-server daemon is properly ...
paul runner's user avatar
0 votes
1 answer
88 views

Duplicate entry in /etc/fstab

what should I do with the fstab, when I use a bind on a mounted device? /etc/fstab: UUID=1b8076d1-fe24-4027-b182-2a888bb367a7 /opt/wazuh-Logs ext4 defaults 0 0 /var/ossec/logs /opt/wazuh-Logs none ...
Steffen's user avatar
1 vote
1 answer
65 views

Using cryptsetup and mount without sudo

I'm trying to build a CLI to easily manage the backups I have on my hard drives. Currently I use LUKS to encrypt the drives and duplicity to manage the backup process, and I have a simple bash script ...
Nabiu's user avatar
  • 11
0 votes
1 answer
133 views

Cannot mount WD Elements external drive, unsure if corrupted or fixable

I finished doing regular backup of data via borg into my WD Elements external hard drive, and left it plugged in. The spinning sound persisted for a while, then suddenly stopped. Tried to access drive,...
nonreligious's user avatar
0 votes
1 answer
26 views

How to Avoid Copying Large Folders When Creating a chroot Sandbox Using Symlinks, Hard Links, or Bind Mount?

I am working on creating a chroot sandbox and want to avoid the time-consuming and storage-intensive process of copying large directories such as bin, lib, and others. Is it possible to use symbolic ...
Foad's user avatar
  • 379
3 votes
0 answers
76 views

Why can't root bypass permissions in an ID-mapped mount?

Why does global root (root in the initial user namespace) not have the ability to read all files regardless of permission when ID-mapped mounts (see "ID-mapped mounts" under man 2 ...
Joseph Sible-Reinstate Monica's user avatar
0 votes
2 answers
126 views

How can I find UUID for RAID array after reconnecting disks?

I set up a RAID-5 array with my disks plugged into a hub. Then I removed the hub from the setup and plugged my disks directly into the computer. Having done so, I still see my raid device md0 appear ...
Jellicle's user avatar
  • 410
0 votes
0 answers
46 views

New to Python, can't get a Github project working. can anyone help?

Trying to build the lyrics browser found here. Although I have little to no experience with Python I've managed to get the software running on a Raspberry PI 2 to a point where the main program is ...
Christof's user avatar
2 votes
0 answers
138 views

Mounting overlayfs in a user namespace with child mounts

I am trying to mount an overlayfs on /tmp from within a separate user & mount namespace. This works well unless /tmp already has a child mount in the original namespace, in which case this ...
Fabian Meumertzheim's user avatar
2 votes
1 answer
95 views

fstab, mountpoint - what did I miss?

I can't figure out what I'm missing or done wrong. lsblk dose not show the mount points(?) NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 1.8T 0 disk └─sda1 8:1 ...
Arelius's user avatar
  • 83
0 votes
1 answer
58 views

sudo, timeout, mount.cifs and systemd-ask-pass

I have a CIFS mount command I want to let users run with sudo that requires them to enter their password. I made a script with line like this: /usr/sbin/mount.cifs -o user=$SUDO_USER,domain=WORKGROUP ...
raines's user avatar
  • 314
0 votes
1 answer
167 views

How to mount AARUF CD image?

I have a CD image file which has AARUF as its filename extension and I want to access its files. Using file, I don't get any further information about the format: $ file image.aaruf image.aaruf: data $...
finefoot's user avatar
  • 3,172
0 votes
1 answer
100 views

Force reboot if `fstab` mount fails instead of going to emergency mode

I have a fstab with read-only root-fs and also a rw /var mounted on a USB reader with a µSD in it. Sometimes at boot time system fails to mount /var.  It looks like the system cannot find the ...
kaptan's user avatar
  • 307
0 votes
0 answers
89 views

Proper command for mounting Synology NAS on Ubuntu Linux via terminal

I have a Synology NAS DS223j that I need to access via an Ubuntu PC. Is this the correct way to mount a Synology NAS in Ubuntu Linux in the terminal? sudo mount -v -t cifs //192.168.0.96/$MOUNTFOLDER /...
Entropy1024's user avatar

1
2 3 4 5
70