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
1answer
30 views

mount same tmpfs on two mountpoints

I have this in my /etc/fstab: tmpfs /home/user1/tmp tmpfs rw,nodev,nosuid,noexec,size=16G 0 0 user1 has tmpfs mounted as /home/user1/tmp. I would like to mount same tmpfs for user2 as well, ...
1
vote
1answer
10 views

Does “PARTLABEL” affects fstab behavior in Ubuntu16.04?

One of my attached disks had xfs filesystem. I formatted the disk to ext4 using: sudo mkfs.ext4 /dev/sdc1 Now when I run sudo -i blkid, I get this output: /dev/sdc1: UUID="df722345-7e80-4a08-8da1-...
-4
votes
1answer
27 views

I think there's something wrong with my fstab file (?) Help [closed]

So I was doing this guide for optimizing my SSD... I'm kinda new to Linux and I just installed Linux Mint 19.3 So now I'm opening this certain file and I think there's something wrong with it??? ...
1
vote
1answer
38 views

Debian 10 fstab - Is there an option to prevent boot sequence hanging when device does not exist?

I have a Debian 10 machine which has a nfs mountpoint specified in fstab. This is the line 10.0.0.2:/mnt/md0 /mnt/md0 nfs4 _netdev,auto,nofail 0 0 I thought nofail would prevent my ...
0
votes
1answer
67 views

Why can't I mount my optical drive in Linux Mint 19.3

I'm having trouble mounting my optical drive in Linux Mint 19.3. I figured this constituted a new question because of how outdated other posts have been on the topic. My system: ~$ uname -a Linux ...
0
votes
0answers
29 views

Auto-mount disk at start-up on Fedora 32 Linux

I can't get a disk to auto-mount at start-up since I upgraded to Fedora 32 (from Fedora 31, with clean install). Although if I issue a sudo mount -a after boot, the disk mounts immediately. I didn't ...
1
vote
1answer
19 views

Mounting as <user>, a loop still assigns root ownership

I am trying to set up a virtual drive from a file. This file will then be written to a flash device (not relevant). Because creating and manipulating the virtual drive will be in a script, I need to ...
1
vote
0answers
33 views

mount an external usb hdd and share through samba

I have an external usb hdd. I would like to do this: automount it from boot and share it through samba. 1) I put it in the fstab and it automounts correctly on boot, no problem: UUID=XXX /usb-hdd ...
0
votes
1answer
25 views

Pop_OS! 19.10 to 20.03 Upgrade Fail?

Clicking Download shows these error image. Tried sudo findmnt --verify, it shows findmnt: /etc/fstab: parse error at line 12 -- ignored 1 parse error, 0 errors, 0 warnings this is my fstab file ...
0
votes
1answer
16 views

Linking samba shared folders onto FSTAB linux

As per the title, I would like to mount automatically the OMV5 samba shared folders onto FSTAB, however I failed multiple times. The shared folder is called Rsync_Dell and it is on a static IP.
0
votes
1answer
21 views

Are there alternate disk mounters running in Raspbian?

When I boot my Raspberry Pi it can't mount the Samba shares and it halts the booting process. Which is curios since those shares have the nofail option in the fstab file. But to get over this I've ...
0
votes
0answers
14 views

Unable to use mktoolnix on a file in a NAS

Cannot for the life of me understand how to use fstab so I can change title info on video files stored on a NAS. The only way I can do it at the moment is move all the files off the NAS onto my ...
0
votes
1answer
30 views

gpt ext4 /etc/fstab doesn't work [closed]

I have tried using 3 different identifiers to mount my partition at /dev/sdb1 to /mnt/drive2, but every time I boot it doesn't seem to work and I have to mount it manually. I am connected remotely so ...
1
vote
2answers
64 views

“Permission denied” with ffmpeg (via snap) on external drive

I got a new drive and I can copy files fine with simple cp on the drive. However for some weird reason I get Permission denied with ffmpeg. Permissions seem fine unless I'm missing something > ll ...
0
votes
1answer
15 views

Remove start job for disc not in use

I am very new to Linux and it seems that i have created an bad issue. I wanted to install another OS on a disc already in use by my Linux Manjaro. I did format the disc and installed the os. I forgot ...
0
votes
1answer
34 views

Making /tmp and /home be on the same partition

An application running under RHEL 7.x wasn't able to execute atomic file movement from /tmp to /home. It turned out they are located on different partitions # df -h /tmp/ /dev/mapper/rhel-tmp 3,9G ...
0
votes
2answers
30 views

Replace HHD home partiton with new SSD home partition

I have a 2 TB HDD which only contains my /home ext4 partion. Now I want to replace the 2 TB HDD by a new 1 TB SSD with a btfs filesystem. So I created the btrfs filesystem using GParted on the SDD and ...
1
vote
1answer
16 views

resources mounted via sshfs and fstab on a nginx-server give 404 errors - gone on refresh

Here is a scetch of the situation: I'm running a nginx server (machine 2) which provides the work of our students. The student work itself lies on another machine (machine 1): our gitolite server. ...
0
votes
1answer
62 views

Remount all filesystems in fstab with new options

The mount -a command disregards mount options, which makes it useless when that's what you changed. How to re-evaluate all the mount options in fstab as if rebooting?
2
votes
0answers
147 views

How can I make my ExFAT partition unmount cleanly?

I've got Raspbian running on a Raspberry Pi 4 B. I have a USB hard disk that I'm using with it. The hard disk is a 1TB drive formatted with a single partition using ExFAT. I've got exfat-fuse and ...
0
votes
1answer
25 views

Can we set the size in tmpfs syntax as percentage instead of static size

Can we set the size in the following syntax as percentage instead of static size? example from /etc/fstab tmpfs /var/work tmpfs size=100g 0 0 lets say we have ram memory with 120g , we can ...
0
votes
0answers
34 views

differences between tmpfs in fstab

we want to use tmpfs on /var/work folder what is the differences between the following tmpfs in fstab tmpfs /var/work tmpfs size=4g 0 0 to this tmpfs in fstab tmpfs /var/work tmpfs ...
0
votes
2answers
47 views

repair file system by edit the fstab file

is it possible to run xfs repair by re-edit the fstab file? /dev/mapper/vg-linux_root / xfs defaults 0 0 UUID=7de1dc5c-b605-4a6f-bdf1-f1e869f6ffb9 /boot xfs ...
0
votes
1answer
65 views

Debian Buster fsck failed with exit status 4

I posted this already somewhere else but didn't get any response. I have updated my raspberry pi from Jessie to Buster now since then I finally was able to get domoticz working again, but another ...
0
votes
0answers
25 views

systemd and fstab mount order

I have an embedded system that uses systemd. The rootfs is read-only. There is a file in /etc/systemd/network/20-wired.network which is a symlink, which points to a file on a different partition, ...
0
votes
2answers
41 views

fstab prevents successful reboot, how to automate mounting external HD?

I’m a semi-experienced Linux admin who’s trying to figure out how to automount an external hard drive to my Linux box. (ver 2.6.16.13-4-smp) (Its an older box, I know.) I can manually mount the ...
0
votes
1answer
26 views

Failed to start systemd service during boot

I'm trying to start the systemd service during boot once fstab entries mounted. I have followed Set systemd service to execute after fstab mount and added below details # cat /etc/fstab /dev/...
0
votes
1answer
138 views

mount error(2): No such file or directory

I have Mint 19.3 Gnome/Xfce installed on an old Dv7 HP laptop and a WDTVLive Hub on the network with 2tb internal and 2 external HDD connected acting as a NAS. I want to automount the shares(internal,...
1
vote
0answers
16 views

Mount order problem with systemd

Running Raspbian Buster. I have a loopback mount defined in fstab (bind option) where directory A is looped in as B. I have another service started later (with systemd After=local-fs.target) that ...
0
votes
0answers
6 views

Linux mint mount my system drive to read only by default, causing booted into terminal instead of GUI

As the title says, it booted into terminal and I get GUI now typing : sudo mount -o remount,rw / After login in the terminal BUT I will need to login again in GUI. So is there any way to make it ...
1
vote
0answers
54 views

Mounting NTFS USB drive on Debian with ntfs-3g

I formatted a USB drive with NTFS on Win and I'd like to use it on Debian. When I try to mount it by clicking the icon in Thunar, I get Error mounting: mount exited with exit code 1: helper failed ...
1
vote
1answer
37 views

Files Written to External USB Disk are taking up Internal Storage Space

Forgive me if I'm in the wrong Stack, this seemed like a more general Linux thing, so I posted here. Np if I need to take it elsewhere. Also I'm pretty new to Linux so please be patient. Hardware= ...
0
votes
0answers
32 views

How to mount a virtio device that is only a partition

There's a bit of backstory of limitations of the virtio-blk spec, but the result is that I have a partition that has been passed to a guest by virtio-blk. That is, there is no /dev/vda1, /dev/vda ...
0
votes
0answers
19 views

Strange behavior seen in network-mounted shared folder (nano swp files not being deleted, ls not showing files)

This is on a raspberry pi 4. I have this line in fstab: //192.168.2.133/scratch/pi-logs /etc/pi-logs cifs credentials=/home/pi/.servercreds,vers=1.0 The machine at that IP is NT4 server. The ...
0
votes
0answers
188 views

Fstab modifications causes boot into emergency mode

The Problem: The changes I made in Fstab (three lines) cause the computer to boot into a command line in emergency mode. What I have done so far: I have studied the changes that I made following ...
0
votes
0answers
66 views

Trying to automatically mount a backup device on plugin and run a script

I am currently trying to automate backups for my laptop and while doing so fell down some rabbit holes by using old and no longer working solutions. Now I'd like to ask for some advice to improve upon ...
1
vote
1answer
90 views

wrong partition UUID in fstab and partition showing as W95

I have Win10 / Ubuntu 18.04 dual boot, and something messed up my partitions. I did try to resize the Win10 partition in order to enlarge my Ubuntu partition, but that didn't work so I resized back ...
0
votes
1answer
76 views

Can't get cifs to mount network drive during boot using fstab

I'm trying to get a network share to mount on startup using cifs. I can get the share to mount after linux boots, but for some reason I can't get it to work when editing the /etc/fstab file. Here's ...
0
votes
1answer
30 views

Mounting a flash drive damaged home partition

I tried to mount flash drive file system in /home/user/. The flash has bad partitions and file system isn't correct. So i begin to iterate all fs-types. When it was PARTUUID=23f59d6e-01 /home/user ...
0
votes
0answers
41 views

How to fix error Read-only file system after using quota

I am making linux exercises, but something went wrong. In /etc/fstab I add some to this line: UUID=20c2ec5-dasdas-dasdas-dsd-sad / ext4 errors=remount-ro,usr-quota,grp-quota 0 1 (added: usr-quota,...
0
votes
1answer
217 views

Long boot time, stuck on starting a disk which does not appear in fstab

I recently got a problem from my Fedora 31 x64. While starting up, the OS stuck on A start job is running for /dev/disk/by-uuid/ccd365d0-0305-4b27-b0be-f434bd32b999 Then after 1min 30s, it got ...
0
votes
1answer
42 views

Append the text using sed

I'm working on a script used for post installation of Centos/Redhat. To make filesystem more secure i want to add few parameters like nosuid,noexec for tmpfs. In Redhat 6 this line is at line number ...
-2
votes
1answer
123 views

Mount options for increased security

I am aiming to increasing security of our Linux server with nodev, nosuid and noexec mount options. Please find the attached image about showing my fstab file. My question is about /boot written in ...
0
votes
0answers
184 views

Share folder on external Drive over Network with SAMBA

My external drive is either not mounted at boot or not accessible (samba) on the network. Solving either one problem would suffice to achieve what I want. I have an external Drive connected to my ...
2
votes
0answers
103 views

Inotifywait not working on folders mounted via fstab

I'm trying to watch a folder via inotifywait which is mounted via fstab and originally located on an extern NAS. Inotifywait is reacting on any change done by SFTP-Connection or directly via terminal, ...
3
votes
2answers
208 views

Mount a tmpfs folder on startup (volatile) with a created subfolder

Currently using Debian 9.5 with this fstab file: # /etc/fstab: static file system information. # /dev/mmcblk1p1 / ext4 noatime,errors=remount-ro 0 1 tmpfs /var/...
0
votes
0answers
91 views

Why is nofail ignored for bind mounts in /etc/fstab?

I have added the following line to /etc/fstab (don't ask for a reason, it is a completely separate discussion that does not affect this question): /nonexistent /bin none ro,bind,nofail 0 0 On boot I ...
2
votes
1answer
227 views

Mount specific folder in bucket using s3fs in /etc/fstab

Using S3FS, a specific folder in a bucket can be mounted using s3fs bucket:/path/to/folder <mountpoint>. This works fine for me. I'd like to mount in the same way using an entry in /etc/fstab, ...
0
votes
0answers
18 views

Is it possible for a filesystem/directory to be mounted as temporarily writable so that all changes made are discarded on unmounting?

Specifically my use case is that I am using ostree to deploy specific folders of the filesystem to some systems I manage. Because overwriting the original directories of the system is risky in case of ...
1
vote
1answer
80 views

Mount points in /etc/fstab on Debian system for an encrypted partition

I recently installed Debian 10 on my laptop and for the first time I decided to give file encryption a go. But I've found something interesting in the /etc/fstab file, and it's that it doesn't use ...

1
2 3 4 5
13