Skip to main content
The 2024 Developer Survey results are live! See the results

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
0 votes
1 answer
23 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
0 answers
18 views

systemd-remount-fs randomly fails with "mount: /: mount point is busy."

I recently switched to a read-only root filesystem using Yocto (Kirkstone version) and use the Yocto volatiles feature to keep some directories writable - for instance the entire /etc, /home, etc... ...
ramacassis's user avatar
0 votes
0 answers
34 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
0 votes
1 answer
62 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
0 votes
1 answer
50 views

Have drwxrwxrwx permissions on folder, but after mounting to it it becomes drwxr-xr-x which disalows members of the group to write. How do I fix it?

I have a folder under /mnt/ with drwxrwxrwx permissions and under root:root I then mount a USB drive (exFAT) to this folder and it becomes drwxr-xr-x The issue is that now I cannot scp to that folder ...
Duxa's user avatar
  • 103
2 votes
1 answer
88 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
  • 73
2 votes
2 answers
120 views

CIFS fs does not wait for network despite _netdev?

I am running a Debian12 with systemd. The server's network is configured through (fixed lease) dhcp. I am trying to mount a CIFS remote filesystem on boot. So I added the follwoing entries in /etc/...
Christian's user avatar
0 votes
1 answer
78 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
15 views

Mount distant volume at startup with $ in the distant volume path

I can mount a distant volume using: sudo mount -t cifs -o username=username,domain=domain '//nasaddress/home$' /mnt/point I would now like to mount the volume at startup so that is shows up in the ...
Liris's user avatar
  • 101
1 vote
1 answer
161 views

fstab and systemd automount overlay

On an embedded device based on Yocto Linux my rootfs is RO, while I have an additional partition for RW data. Now I want to automount at boot an overlay onto /etc stored on a different partition. Here ...
Martin H.'s user avatar
  • 191
0 votes
0 answers
26 views

Umask questions in mount [duplicate]

I have a question regarding 'umask.' I have an extra disk on my Linux system, and I want it to mount during startup with the same permissions as '/home.' For example, my '/home' has these permissions: ...
Josué Suptitz's user avatar
1 vote
0 answers
64 views

Arch Linux RAID working, but won't mount on bootup. Bootup broken now

I have a headless server running Arch and sharing a software RAID. After what looked to be a successful system upgrade, bootup now fails due to a timeout when trying to load the RAID. I get the ...
JT_24's user avatar
  • 11
2 votes
1 answer
130 views

Building redundancy by creating multiple nfs mounts to a single location

I have been managing a small local Linux cluster for my lab, consisting about two dozens of Ubuntu Linux servers - half of those are headless servers (rack/tower), and the other half are used as ...
FangQ's user avatar
  • 123
0 votes
1 answer
155 views

Files created by user in a mounted partition show root as owner

I have a dual boot system (Windows 10/Archlinux) and I have created a NFTS partition which is mounted at startup via /etc/fstab so I can access it from both OS'es. The fstab file shows that the ...
JulioOAO's user avatar
0 votes
1 answer
310 views

Reboot into `initramfs` after altering partition table

Problem Overview I recently upgraded my remote server contract with IONOS, increasing my hard drive space from 8GB to 80GB. I have an Ubuntu OS running bash. I then went about extending my working ...
user10709800's user avatar
0 votes
0 answers
61 views

I have multiple Home folders over several hard drives. I need to understand what I did wrong?

I am running ParrotOS on an old MacPro. I have 3 SSD's and 1 HDD. I was trying to move my Home folder to the HDD. Doesn't that seem like the right thing to do? When I run fdisk -l I only see three of ...
Warloxian's user avatar
0 votes
0 answers
41 views

cifs mount is triggering NAS login/logout every couple minutes

I have Asustor NAS server and proxmox installed on other server. On proxmox I have installed plex and mounted some CIFS resources in fstab for plex. I see that, even if plex is disabled, every (about) ...
skoczo's user avatar
  • 1
0 votes
0 answers
73 views

Ubuntu issue with external HDDs unmounting

I'm running into an issue with my media server running Ubuntu 22.04.2. I'm running Plex in a docker container with a few other containers on the server. I have two HDDs that stay permanently connected ...
H0ckeyfr33k99's user avatar
6 votes
3 answers
589 views

How do I whitelist drives / partitions that can be mounted to only those that have entries in /etc/fstab?

On my Ubuntu system, I noticed that some file managers, when open, they can mount any drive that was connected via one of my USB ports (as non-root). In the attempt of preventing this from happening I ...
John Smith's user avatar
0 votes
0 answers
42 views

Combing OverlayFS with A/B partition scheme

I'm wondering if it's possible to combine OverlayFS with A/B upgrade scheme and do so in a completely RO only way. This combines a few pieces of technology, so I'm not sure if its possible or the ...
bearrito's user avatar
0 votes
1 answer
25 views

systemctl not using full share path on boot

I have a samba server that is running on my home router that I am attempting to connect to on system startup. Importantly the router will automatically setup the share names for me and they are in the ...
Andy McCall's user avatar
0 votes
3 answers
444 views

Disks mount points inconsistent after each reboot. Using UUID in fstab

I am having an issue where I can mount my disks manually using the mount command. I than add the disks to fstab. Once I restart: sda1 points at the correct mount point (/mnt/da), but the rest do not. ...
lessharm's user avatar
1 vote
2 answers
484 views

SSD initially mounts correctly, but disappears from lsblk after a few days

I am a Linux beginner, and am having a problem with a drive which disappears from lsblk periodically, and am stuck with how to proceed. The drive is an 240GB external USB SSD. Mounting the Drive Works ...
teeeeee's user avatar
  • 157
0 votes
1 answer
54 views

swapping /boot partiton

About 6 months ago I installed a newly acquired laptop with kubuntu . I opted for a separate /boot (and accepted the default) now, during the upgrade to the next kubuntu version it runs out of space ...
GraemeV's user avatar
  • 178
1 vote
1 answer
319 views

Why does "x-systemd.growfs" in fstab not work for the rootfs?

I'm running Linux with systemd 249. The /etc/fstab entries are: # cat /etc/fstab /dev/root / auto defaults,x-systemd.growfs 1 1 proc /proc ...
Mario's user avatar
  • 111
2 votes
4 answers
351 views

linux + delete by bash script the unused/incorrect UUID number/s from fstab file

our goal is to create bash script that delete the unused / unnecessary UUID number/s from /etc/fstab file , brief background - in our labs , we have more then 500 RHEL servers , and we want to fix the ...
yael's user avatar
  • 13.4k
1 vote
2 answers
215 views

Permissions and groups in fstab ignored

I need to read and write to an usb ntfs pendrive through www-data group (that has uid 33) so I have added UUID=34A0456D004536A0 /home/mypath ntfs-3g rw,defaults,uid=1000,gid=33,dmode=770,fmode=660,...
AndreaF's user avatar
  • 145
0 votes
1 answer
110 views

fstab mount doesn't find device

I have a problem with mounting a simple ext4 USB device with sync option and defaults. This is my fstab entry: UUID=233b8055-d596-48a7-a666-1e10b8860d9c /USBSSD sync 0 0 when I use mount -a, it says: ...
Ben's user avatar
  • 299
1 vote
1 answer
272 views

What is parsing/applying /etc/fstab entries

According to manual I thought that systemd-remount-fs.service is responsible for parsing and applying /etc/fstab entries. So I tried to test it: I removed ExecStart part (ExecStart=/lib/systemd/...
SAMPro's user avatar
  • 227
0 votes
0 answers
31 views

Did my array go away or is the partion not mounting correctly after reboot

I had created a raid-1 array for two drives (sde and sdf) using the normal mdadm process and had created it under md1 and mounted it to /mnt/storage. After a reboot md1 no longer exists. My /mnt/...
Adam's user avatar
  • 1
1 vote
1 answer
725 views

Mounting OverlayFS in fstab at startup

Is It possible to Mount OverlayFS from external partition in fstab and benefit from systemd services extensions at startup ? Thus overlay directory tree will add new systemd services configuration ...
K. PANIK's user avatar
0 votes
1 answer
82 views

crypttab seems to not been active

After I upgraded from Linux Mint 21.1 to 21.2 the newest initrd stopped working. The older one works fine. Regenerating the initrd doesn't help. On startup with the newest initrd the error tells that ...
opensource25's user avatar
0 votes
0 answers
33 views

Accessing a NAS from a Raspberry Pi - working but looking for additional information

So after quite some time messing around I have managed to access my assorted NASes on boot, but there are a zillion contradictory answers out there (I couldn't find one that actually worked as I ...
Dr_Jon's user avatar
  • 1
-1 votes
1 answer
66 views

Why do my files only appear when the drive is unmounted?

Background I'd like to store music on /dev/sda1, which is a physically separate drive. The /etc/fstab contains: # grep "music" /etc/fstab UUID=10...92 /mnt/music ext4 defaults,user,rw 0 2 ...
Dave Jarvis's user avatar
0 votes
1 answer
70 views

Chagnes done to the rootfs do not redirect to the overlay set in fstab

The fstab is a link to the next fstab file: # <file system> <mount pt> <type> <options> <dump> <pass> /dev/root / ext2 ro,noauto 0 1 proc ...
קובי עיני's user avatar
0 votes
1 answer
395 views

Permission Denied CIFS. Tried everything I can think of

//192.168.1.64/d /media/d cifs credentials=/home/nick/.smbcredentials,uid=nick,gid=media,file_mode=0777,dir_mode=0777,nofail,user 0 0 Here's my ls- l of the share once mounted: drwxrwxrwx 2 nick ...
Nick's user avatar
  • 3
1 vote
1 answer
2k views

Mounting options with Systemd Mount Units

I used to use the fstab file for mounting drives. This time i wanted to use Units instead and created a .mount file. However i wonder how i would set a file system check option and umask settings ...
Noobman's user avatar
  • 63
2 votes
0 answers
96 views

Using 'pass' passwordmanager within fstab

I have a NAS I want to mount on access. I can do this by adding //xxx.xxx.xxx.xxx/directory /mountpoint smb3 x-systemd.automount,credentials=home/user/.smbcredentials 0 0 to my fstab. I also want to ...
grbll's user avatar
  • 35
0 votes
0 answers
17 views

Imaging Centos system but avoid emergency mode after restore

I'm using terabyte Imaging program to clone my drive but when I try restoring to another drive for another system it goes into emergency mode when booting up. If I comment out the /dev/mapper lines it ...
Fumio's user avatar
  • 1
0 votes
1 answer
58 views

Newly created home in a secondary hard drive keeps unmounting after restart, fstab does not work [closed]

I have bought a new hard drive and moved my home there. I have followed this link: https://www.howtogeek.com/442101/how-to-move-your-linux-home-directory-to-another-hard-drive/. But the new hard drive ...
Eftal Gezer's user avatar
0 votes
1 answer
627 views

RHEL 8 hangs on boot missing disk in fstab

my /etc/fstab UUID=12345abcdef /data xfs defaults 0 0 I thought the 0 0 part, one of those, meant skip disk checking so during boot if the disk wasn't there the OS would be ok with it and ...
ron's user avatar
  • 7,274
0 votes
1 answer
409 views

/dev/disk/by-uuid/... does not exists - Fedora Server 38

I'm trying to get my Fedora Server from VirtualBox to USB drive. I've used "VBoxManage clonehd blablabla --format raw" and then dd to copy the whole disk to USB drive. I did the same trick ...
user1748526's user avatar
0 votes
1 answer
277 views

Fstab adding data=journal crashed my Linux' ext4 upon boot, how to fix?

I changed my /etc/fstab from: UUID=f1fc7345-be7a-4c6b-9559-fc6e2d445bfa / ext4 errors=remount-ro 0 1 UUID=4966-E925 /boot/efi vfat umask=0077 ...
Vlastimil Burián's user avatar
0 votes
1 answer
475 views

Which comes first, fstab or /var/log?

When Linux boots, does it first read fstab and mount everything from it, or does it start systemd before that? I expect that fstab comes first, but I didn't know how to confirm it. So, even if you ...
donaastor's user avatar
  • 214
1 vote
0 answers
78 views

Changing storage bus type

I created a VM on Fusion for OpenStack — it's a whole thing, not fun at all — which failed to boot once on OpenStack. OpenStack seems like a pretty rudimentary hypervisor/platform — I think — and I ...
Vita's user avatar
  • 311
0 votes
1 answer
137 views

Can't mount `proc` to `schroot` environment using `setup.fstab`

I'm writing a bash command to deploy gluster inside a chroot called glusterchroot. I'm having issues mounting files from the host to the chroot. Schroot's man page recommends the following: $ man ...
mikeLundquist's user avatar
0 votes
1 answer
503 views

Can I mount `/var/log/journal` as `tmpfs`?

I have read this question, but it discusses syslog and my question is about journald. Can I mount /var/log/journal as tmpfs using fstab, or will journald be run (and therefore maybe write to the ...
donaastor's user avatar
  • 214
-2 votes
1 answer
828 views

Check & Modify /etc/fstab

at every boot of my system I should check the file "/etc/fstab": # UNCONFIGURED FSTAB FOR BASE SYSTEM #/dev/disk/by-partlabel/userdata /userdata ext4 defaults 0 2 #/dev/disk/...
Federico's user avatar
  • 129
0 votes
1 answer
765 views

Broken shortlink after Ubuntu was restarted. Too many levels of symbolic links

My shortlink which used to work suddenly is shown as broken after I restarted the PC having Ubuntu 22.04.2 LTS. I moved the "Documents" directory to another disk which is HDD and made a ...
ravi's user avatar
  • 143
1 vote
1 answer
3k views

Disk mount failed with result 'dependency'

I mount drive using command mount and modify fstab file (so disk should be visible after restart). Unfortunately, after system reboot, mount isn't visible in the system lsblk -a says, disk is ...
Mateusz Przybylek's user avatar

1
2 3 4 5
17