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

What is /mnt used for, and how does it differ from /media? [duplicate]

Linux newbie here. Was reading about the Linux filesystem and came across the directories /mnt and /media. AFAIK, they're both used for mounting, and I heard /media was the "new" one and it ...
blockchain200's user avatar
0 votes
0 answers
15 views

Declaring a bind mount in systemd-controlled initrd and persisting systemd attributes for the mount into the system

I know my title is a little bit convoluted so let me explain what I'm doing here in more detail. I am using a ephemeral root setup on my machine, essentially meaning that my / mount is a tmpfs and ...
Frontear's user avatar
0 votes
0 answers
9 views

permanent vnconfig OpenBSD?

I can manually mount a dd'ed image file (+fdisk, disklabel, newfs) with: vnconfig vnd0 file.img mount /dev/vnd0c /mnt/ Question: but where should I put the vnconfig command in OpenBSD? I updated ...
robert8819's user avatar
0 votes
0 answers
25 views

Can I mount a specific partition from an image file? [duplicate]

Say I have an .iso file from this dd command: dd if=/dev/sda of=./image.iso In the case where the drive contained multiple partitions, how could I say, only mount the second one?
yoong jin chow's user avatar
0 votes
0 answers
23 views

Difficulty mounting external drive after certain boots

I have a RasPi 4 connected to a 12TB EXT4 hard drive in a Sabrent cage hub which I use for an OpenMediaVault NAS. The drive worked fine for about a month until its file system started to go missing in ...
qu4ntumrush's user avatar
1 vote
1 answer
40 views

how to make drive bootable

I have an old Debian system whose hard drive failed. I connected the drive to a working system and pulled all the data off of the root partition using dd. It looks to me like all the data is fine, so ...
Cornelius's user avatar
1 vote
1 answer
52 views

NFS mount Ubuntu 22.04 - Connection timed out

I have two systems running on Ubuntu 22.04. I want to mount one of the disks of the server (PC1 - auerbach) on the client (PC2 - hubel) using NFS. The /etc/exports file on PC1 looks like the following:...
Raph_nds's user avatar
0 votes
0 answers
15 views

Weird output of mount/findmnt command from inside a chroot jail

On my Linux system I entered a chroot jail using chroot(1) and then mounted a procfs instance on /proc from there. Now if I do cat /etc/mtab from inside the chroot jail, it shows the full list of ...
CarloC's user avatar
  • 65
0 votes
0 answers
18 views

Plugging in an external USB disk gives me one name (sdr), but trying to mount the filesystem on it fails with different name (sdq)

I use a USB external hard drive to back up my home directory. The device is configured as an LVM device with a volume group named homevg and a volume named home that contains an XFS filesystem. When I ...
NickD's user avatar
  • 2,968
1 vote
0 answers
26 views

Error mounting external LUKS HDD after dd from identical drive

I have two identical external drives used for backup (BK1_LUKS, BK2_LUKS). One has been formatted and encrypted, the other has been duplicated from the first one. dd if=/dev/"first device" ...
Claudio's user avatar
  • 11
1 vote
2 answers
60 views

Find out if any part of a disk is mounted or in use?

I need to confirm that no part of a disk is mounted before over-writing the entire disk. The problem here is that it seems that you have to know the names of any filesystems on the disk before ...
QF0's user avatar
  • 351
0 votes
0 answers
40 views

When mounting with X-mount.idmap, what is the format for the user namespace file?

The mount manpage states for the X-mount.idmap option: • A user can specify the ID-mapping directly. [...] • A user can specify a user namespace file. The user namespace will then ...
user149408's user avatar
  • 1,425
0 votes
1 answer
22 views

Dealing with gid collisions when rebuilding a Linux system around an existing disk

I am currently rebuilding a Linux system, migrating to a new distribution (Ubuntu 24.04). I have one disk which holds several terabytes of user data, which I want to keep. The disk holds a btrfs ...
user149408's user avatar
  • 1,425
2 votes
1 answer
117 views

Weird result mounting a tmpfs as root in the directory tree

Using unshare -Umr I created a new user, mount namespaces where the calling process is moved into. Then via mount -t tmpfs tmpfs / I mounted a new tmpfs instance on the root / of the directory tree ...
CarloC's user avatar
  • 65
1 vote
1 answer
48 views

Guix: How to set one (file-system) as a dependency of another? Or mount one device before device mapping?

Say I have a LUKS partition which encrypts the root file system and whose key resides in another file system. (mapped-devices (list (mapped-device (type (luks-device-mapping-with-options #:...
Daniel's user avatar
  • 711
1 vote
0 answers
39 views

Right way to recursively share a path (like a symlink) and proper way to unmount/remount without messing with other mount points

Bind mounts seem to be hard. I am looking for the right way to use a bind mount to mount a given directory to another one pretty much like a symlink (but I can't use a symlink because my application ...
divB's user avatar
  • 218
1 vote
1 answer
33 views

Failed to umount directory from my RAID1 device (device busy)

I have a system that has 1x SSD and 2x 4TB HDD working under software RAID1. (I'm currently upgrading from Linux Mint 20 to 22, another topic regarding that issue) On my RAID1 I have LUKS encrypted ...
Rattletrap K's user avatar
0 votes
0 answers
30 views

shared vs private mountpoints in parent/child mount namespaces

As per explicit request, I opened this question to ask the following: on Ubuntu linux systems initial (aka root or default) mount namespace has options for mounted filesystems that are different from ...
CarloC's user avatar
  • 65
0 votes
1 answer
35 views

Order of mounting of entries in a mount namespace

I'm aware of unshare -m creates a new mount namespace moving the process executing it into the new mount namespace being created. The latter gets a copy of parent's mount namespace. Indeed look at the ...
CarloC's user avatar
  • 65
2 votes
2 answers
52 views

mount options of udisks2 (dmask, fmask) are not applied when mounted with udisksctl (exfat fs)

I have a removable SD Card formatted with exfat which I would like to mount with udisksctlvia the udisks2 mechanism. What I want to do is to replicate a noexec option by using dmask=0002 and fmask=...
emk2203's user avatar
  • 828
0 votes
0 answers
32 views

is there any way I can save a mnt namespace?

like "ip netns add", it mount file "/proc/*/ns/net" somewhere else, when need use the net namespace you can use the mounted file, but when mount --bind a mnt namespace file it ...
zhouhj's user avatar
  • 1
0 votes
0 answers
19 views

When Debian auto-mounts my phone, is it possible to access it via the command line?

I think I would perhaps have my problem solved if this answer was still current. ...It's got to be a udev problem - or solution anyway! In short, I need to run rsync to synchronize - a GUI interface ...
Richard T's user avatar
  • 258
0 votes
1 answer
47 views

Getting /home/ubuntu/NAS: unknown filesystem type 'LVM2_member' - Accessing files on a synology NAS drive

I'm trying to follow this https://kb.synology.com/en-uk/DSM/tutorial/How_can_I_recover_data_from_my_DiskStation_using_a_PC#x_anchor_encryptedvolume sudo -i apt-get update apt-get install -y mdadm lvm2 ...
user1981600's user avatar
0 votes
1 answer
36 views

How to use `findmnt --poll` in a script

Raspberry Pi generally mounts two partitions at boot time; here's /etc/fstab: proc /proc proc defaults 0 0 PARTUUID=8a6020b5-01 /boot/firmware vfat defaults ...
Seamus's user avatar
  • 3,387
0 votes
0 answers
25 views

modifying systemd tmp.mount parameters [duplicate]

In RHEL 7 and later as well as other Linux distributions, systemctl enable tmp.mount makes the /tmp folder a tmpfs (a temporary file system). In RHEL 8.10 for example, by default those parameters are ...
ron's user avatar
  • 7,762
1 vote
0 answers
56 views

How to remount drive after power loss?

OS is Debian. I have an external hard drive connected to my computer. The computer is on a UPS but I don't have the power supply for the hard drive connected to the UPS. (I want to maximize the run ...
cat pants's user avatar
  • 195
0 votes
0 answers
26 views

Different filesystem for the same mount point /tmp , when accessed via ssh , on wsl

I have a Debian system running on wsl > wsl --version WSL version: 2.2.4.0 Kernel version: 5.15.153.1-2 WSLg version: 1.0.61 MSRDC version: 1.2.5326 Direct3D version: 1.611.1-81528511 DXCore ...
freddie_ventura's user avatar
6 votes
1 answer
710 views

Disk-sound after mounting

I bought a new USB3 16TB harddisk - not an SSD but the old-style spinning disks. Seagate Expansion 16TB HDD I created a full-disk-partition formatted with ext4 - 14TB after formatting. Now when I ...
chris01's user avatar
  • 771
1 vote
0 answers
68 views

why won't luks partition mount from fstab and crypttab entries?

I installed fedora 40 on a computer that was running parrot os. During install, I deleted all partitions except a 9TB luks data partition. Fedora installed fine, but when I add entries in /etc/fstab: ...
naphelge's user avatar
1 vote
1 answer
115 views

Mount disk with an unknown filesystem

I am attempting to mount a disk via a USB docking station. I have been informed that the disk was apart of a RAID1 system, however I see no sign of this so far. Using fdisk -l I can see the disk: $ ...
dwright's user avatar
  • 111
0 votes
1 answer
89 views

Is it possible to auto-mount Synology NAS with fstab (NFSv4.1)?

I am trying to mount my new Synology DS923+ connected to my LAN switch with static DHCP reservation. OS: Linux Mint 22 Cinnamon based on Ubuntu 24.04. I already installed nfs-common package: $ apt-...
Vlastimil Burián's user avatar
2 votes
0 answers
67 views

Data Recovery from RAID 1 - Impossible to mount disk

I have an Nvidia DGXA100 station that I use for my research. It has started to shut down brutally (just a couple minutes after startup), probably a watercooling pump breaking down (that would be the ...
Frost's user avatar
  • 21
0 votes
1 answer
186 views

mount.cifs error(78): Remote address changed

Setup: Windows fileserver (cluster with 2 nodes actually) & a RHEL 8 host residing in the same Active Directory domain, multiple locations on the fileserver mounted using mount.cifs. Our problem ...
Attila Csipak's user avatar
0 votes
1 answer
41 views

Startup/Mounting fails because "No free loop devices"

When I switched on my laptop, I suddenly could not log in anymore. Everything was working fine until then, I was not messing with any settings. When I enter my password on the (gnome) login screen, ...
ga325's user avatar
  • 31
1 vote
1 answer
36 views

No ability to delete files on sftp mounted by sshfs

I mounted sftp dir via sshfs like: cat <sensitive_data> | sshfs -o password_stdin,allow_other,default_permissions,uid=0,gid=0 $USER@$HOSTNAME: $MOUNT_DIR -oauto_cache,reconnect And the problem ...
fueggit's user avatar
  • 111
0 votes
1 answer
29 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
30 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
48 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
  • 229
0 votes
0 answers
46 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
61 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
114 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
100 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
132 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,736
0 votes
0 answers
24 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
97 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
852 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
30 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
  • 585
1 vote
1 answer
79 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
  • 433
0 votes
1 answer
38 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
  • 433
0 votes
1 answer
49 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

1
2 3 4 5
71