Questions tagged [fstab]

/etc/fstab is the configuration file which contains the information about all available partitions and indicates how and where they are mounted.

Filter by
Sorted by
Tagged with
1
vote
2answers
29 views

How to mount a disk/volume only for specific users?

This is probably a basic question for most of you, but I don't have a good knowledge of this topic (yet). Please forgive my ignorance. use-case: I have a small RaspberryPi that I want to use to ...
0
votes
0answers
18 views

Slow transfer onto USB flash drives

I am running Ubuntu 20.04 on an old Dell Optiplex 760 box and the transfer speeds while copying files to USB flash drives are quite slower than what they should be, furthermore, at the end of the ...
0
votes
0answers
14 views

Using user certificate to authenticate a mounted file system

I'm trying to figure out a way to mount a Windows shared drive to my CentOS machine using my user certificate to authenticate. Using Samba, I've succesfully set up the mount (fstab) using my username ...
0
votes
0answers
17 views

Raspberry Pi Ubuntu 20.10 External Hard Drive detected but not mounted

I want to mount an external hard drive into my raspberry pi, I want to do it in a way that get fixed to the same drive, so it is always in the same path, that's why I am editing /etc/fstab. I though ...
0
votes
2answers
34 views

How useful is it to disable access time logging on SSD and are there disadvantages doing so?

As SSD drives have limited writes, I would like to know whether disabling access time logging still plays a significant role in 2021. Most websites I see on the subject are from 2015 and before, and ...
1
vote
0answers
26 views

Why does /proc/mounts show a line with 7 columns (type overlay)?

I am trying to troubleshoot https://github.com/minio/minio/issues/12047, which seems to happen because one of the lines in the output of cat /proc/mounts inside a Docker container of mine seems to be ...
1
vote
0answers
19 views

hidepid=2 stopped working after an update. Kernel don't suppport “per-mount point”?

I am running arch linux hardened (5.11.13-hardened1-1-hardened) and have been setting hidepid=2 thru the fstab: proc /proc proc nosuid,nodev,noexec,hidepid=2,gid=proc 0 0 and ...
0
votes
2answers
70 views

How can I prevent disk UUID mismatch when cloning a machine?

I have built a Debian linux machine. I have captured an 'image' of the entire hard drive in the form of a compressed tar file. I then unpack this onto another machine, setting up grub so that it can ...
0
votes
1answer
16 views

Multiple Instances of Unit= in Path or Timer Unit?

Can multiple instances of Unit= exist in a systemd.path or systemd.timer unit? Or, must one instead specify multiple instances of the path or timer unit, each with a single instance of Unit=? I ...
0
votes
1answer
31 views

Set systemd service to execute after fstab mount - where and how?

I am trying to correctly identify which systemd configuration file must be updated to ensure the full user environment is mounted/accessible before the GUI/session is initiated. This reference did not ...
0
votes
1answer
18 views

Mounted partition has the wrong owner

I am on Linux Mint 20, and I used the Disks GUI in order to mount my 4 NTFS partitions to their mount points. They are mounted indeed, and I can create or delete (no rubbish bin though, complete ...
0
votes
0answers
35 views

samba network share fails to mount at boot time

On a box with Ubuntu 20.04, I struggle to mount a network share at boot time. Manually mounting the same share with sudo mount /media/SHARE works without any issues, and the same /etc/fstab entries ...
1
vote
2answers
72 views

How to config systemd to force ALL local drive mounts (no network devices) before GDM/GUI?

I am trying to identify the unit precedence/pre-requisite sequencing related to disk mounting and Graphical Display Manager for the UbuntuMATE 20.04 environment. Trying to resolve issue of non-access ...
1
vote
1answer
38 views

No root partition in the Debian example partition scheme

I am trying to follow the example partition scheme in https://www.debian.org/doc/manuals/securing-debian-manual/ch04s10.en.html Somehow, the fstab file doesn't specify a root partition. Why?
0
votes
1answer
25 views

chrootable root fs dirs, one mounted at / during boot

Let's say I have a HDD with one partition at /dev/sdb1 with the following contents: % sudo mount /dev/sdb1 /mnt % cd /mnt % ls osA/ osB/ % ls * osA: bin boot/ dev/ etc/ home/ lib lib64 lost+...
0
votes
1answer
28 views

Do contradicting BTRFS subvolid's not cause trouble?

I've been following a set of steps very similar to the ones mentioned on the ArchWiki installation guide. I've recently started playing around with BTRFS snapshots, particularly of the / subvolume. ...
1
vote
1answer
24 views

Automatic mount of encrypted external harddrives

I have encrypted my external harddrives using cryptsetup and a key file. My goal is now to automatically decrypt and mount them upon plugin. I used to do so using this blog post (unfortunately in ...
1
vote
1answer
137 views

How to disable a swap file configured by systemd, via Ansible?

What's the best way to disable swap entirely on a fleet of GNU/Linux hosts, using systemd and Ansible? For whatever reason some of my virtual machines have a swap file configured in their /etc/fstab, ...
1
vote
1answer
48 views

reorganizing my filesystem

I want to reorganize my file system. I have swap allocated that I don't use. My / partition is overflowing all the time, and because of that I've kept moving big directories to a separate partition /...
0
votes
0answers
42 views

Should editing fstab change systemd mountpoint service file?

I edited my /etc/fstab to mount with x-systemd.device-timeout=15: UUID=a115a456-1fb7-4ae1-9bfd-504d47d1f780 /mnt/hdd ext4 rw,auto,defaults,nofail,x-systemd.device-timeout=15 0 2 I was wondering if ...
0
votes
0answers
48 views

Unclear problem mounting external drive (ext4) with fstab

I'm on Manjaro Linux. My laptop has 2 drives, one of which (/dev/sda) I want to use to store my VMs. I want the drive to me mounted upon boot for my user (the only user). My /etc/fstab is set as ...
0
votes
1answer
78 views

Use systemd to run script when usb drive is unmounted

I have a systemd service that calls a script when a USB drive is mounted. signal.service: [Unit] Description= Updater trigger Requires=usb-drive.mount After=usb-drive.mount [Service] ExecStart=/usr/...
1
vote
1answer
30 views

mount those which have nofail set in fstab

I want a command to mount all devices with the nofail option set in my /etc/fstab. I thought: sudo mount -a -O nofail --verbose With an fstab like: UUID=7C86176286171C68 /media/yes ntfs defaults,...
0
votes
1answer
29 views

Read-only rootfs on boot

I tried to install Void-Linux as secondary Linux on my laptop. I created a new partition for it on LVM, installed base system using XBPS method copied kernel and initramfs to my /boot partition and ...
0
votes
1answer
62 views

Oracle Linux 7.8 - NFS Permission Denied

I mounted an NFS to my new server (ZFS to NFS). But I'm getting permission denied when I try to go directory. All platforms are Oracle Linux 7.8 /etc/fstab: IP_OF_ZFS:/ZFS_PATH/ZFS_PATH /...
1
vote
1answer
16 views

Safe-way to remount partitions

I currently have mounts that look like this: Filesystem Size Used Avail Use% Mounted on /dev/sda1 16G 7.7G 7.3G 52% / /dev/sdb2 237G 20G 207G 9% /var/www /dev/sdb1 ...
0
votes
1answer
118 views

How do I use cgroups in fstab instead of default /sys/fs/cgroup from systemd?

I want to mount my cgroups from fstab instead of allowing systemd to mount them at /sys/fs/cgroup. I have my fstab written with targets such as /cgroup/cpu, /cgroup/blkio.. etc. When I boot up, the ...
1
vote
0answers
172 views

Use fstab to mount luks encrypted drive to subfolder within home

Fresh install of Lubuntu 20.04 on system with Windows 10 and Lubuntu installed on 256GB NVME drive to dual boot. Boot drive is /dev/nvme0n1p2 Home folder is therefore /dev/nvme0n1p2/home/username I ...
0
votes
1answer
33 views

Root file system reported as being 100% without adding any file

I have a 35G mount as my root file system, and until now, it was reporting 1% usage. I was using an SD card for my storage and today I got a new one. I'm mounting my /swap partition on that, so I ...
0
votes
0answers
109 views

Automatic Rsync on samba share server

Problem: I just cannot make it work. I have set up my samba share server on fstab with the following command: //192.168.178.145/Rsync_Dell /mnt/Rsync_Dell cifs credentials=/home/Alessio/....
0
votes
1answer
80 views

What specifies the version of cgroups (cgroups or cgroups2) used by the distro?

I'm running on Debian. When I run mount | grep -i cgroup, I see, tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,size=4096k,nr_inodes=1024,mode=755) cgroup2 on /sys/fs/cgroup/unified type ...
0
votes
1answer
44 views

How to have hdd's auto-mounted and usable by all users?

My computer has 3 disk drives: 256GB ssd (root and swap partitions) 60GB ssd (ext4) 2TB hdd (ext4) I want to automatically mount the two extra drives at boot and I want all users to be able to read/...
2
votes
0answers
35 views

Why does GIT require sudo on my ntfs-3g partition?

When I try to init a new git repository on a ntfs-3g partition I get this error % git init . error: chmod on /mnt/abc/.git/config.lock failed: Operation not permitted fatal: could not set 'core....
0
votes
0answers
111 views

Linux takes long time to boot after resizing and moving partitions

A while ago i installed a new NVME drive in my computer and installed Windows on it. I removed the old Windows installation from my old SSD so that my Linux installation could use all of it. I then ...
0
votes
0answers
55 views

How to set the default group, file permissions, and folder permissions, for an ext4 mount point?

I have an ext4 disk/partition on my machine and I want to make it so, by default: All files/folders have the group set to groupA All files have: user permissions rw group permissions rw so folks in ...
0
votes
1answer
31 views

bind mount: reproduce, fstab-style

How can I generate a bind-mount entry for fstab, given an existing (mounted) mountpoint? Neither findmnt nor mount produce a fstab-style entry. I suppose one can parse findmnt and figure out SOME of ...
2
votes
1answer
54 views

/etc/fstab contents seem to be wrong but they aren't

I manually created the partitions, copied a rootfs inside an appropriate one, chrooted into the rootfs, installed a kernel and Grub, just like I did million times before. I exactly use the same disk ...
1
vote
0answers
21 views

Cannot mount via mount + fstab but can do via Other locations addition

I have a question regarding to some strange behavior I find in mounting a shared windows drive. Just to start, here I mounted the shared drive via manual addition (other locations): As you can see, I ...
0
votes
2answers
79 views

Mounting an external SSD with user privileges using fstab

I have entered the following command: sudo mount UUID=17F30CD71ED138A1 -o gid=1000,uid=1000 ~/sandisk_external_drive It worked great, but now I'd like to mount it on boot, therefore I have added an ...
1
vote
0answers
244 views

“Timed out waiting for device…” after disk clone with correct UUIDs

I've just cloned an SSD to a larger SSD but I'm unable to run any of my 2 linux instalations (Windows is fine). When booting, I get this errors: [ TIME ] Timed out waiting for device /dev/disk/by-uuid/...
0
votes
1answer
47 views

System booting all right despite wrong root entry in /etc/fstab

I have following disk structure: sda1 : Windows sda2 : an old Linux distribution sda3 : a new Linux distribution sda4 : data partition I have grub installed and I choose the system at boot time. I ...
0
votes
0answers
23 views

vFAT flash drives insist on only being writable by root

All the usual advice on editing /etc/fstab doesn't work. My current fstab looks something like the following: /dev/disk/by-uuid/2D06-9C4C /media/pi/TWILIGHT vfat user,auto,uid=pi,gid=pi,umask=...
1
vote
1answer
21 views

Mounting USB on boot causes error on boot on Pi4

I am attempting to mount a usb drive to a specific directory at boot time so that it's mapped to the same directory each time. I read this article, https://raspberrypi.stackexchange.com/questions/...
0
votes
1answer
183 views

Is it necessary to mount devtmpfs with /etc/fstab?

I'm working on a Linux-like operating system for aarch64, based on a 5.6.4-v8+ kernel for Raspberry Pi 3 (Model B+). The Kernel configuration options include: CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y ...
0
votes
1answer
341 views

“Hibernation device not found”, although I have updated /etc/fstab

I originally had a Linux swap partition on my computer, which I have removed. When I then tried to boot, I would get the error ERROR: resmue: hibernation device 'UUID=f5eea.....andsoon' not found ...
0
votes
0answers
51 views

Full system partition, moving system folders and editing fstab

I have two partition one with system and other partition with home and data. I found this question that have solution to my problem, but I'm not sure how exactly to apply it to my system, what I'm ...
1
vote
0answers
114 views

Root volume fs (ext4) is kernel-remounted at every boot

[Arch system on UEFI / GPT boot] Every time I boot, my box' root volume (located in its own ext4 partition) is re-mounted, something that (I think) never occurred before my last update (kernel 5.8.5 -&...
1
vote
1answer
191 views

x-gvfs-show: Cannot display second hard drive left side of nautilus

I am trying to get fstab option x-gvfs-show to work as expected on my default installation of Debian/buster/amd64. I did stumble upon: What is the difference between mounting in fstab and by mounting ...
0
votes
2answers
2k views

mount + mount: special device /dev/sdX does not exist

we have rhel server version 7.5 and from lsblk we can see only the following disks , and all disks are with ext4 filesystem lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda ...
0
votes
0answers
38 views

Transmission service loads before fstab

I have transmission installed on a Raspberry pi and download paths are on a NAS. I mount the NAS folders from the /etc/fstab in the raspberry propertly. The problem is that on reboot, transmission ...

1
2 3 4 5
14