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
0answers
23 views

Is it possible to add user name in path in fstab?

I would like to allow users to mount a disk registered in fstab in the /media/username/external_directory directory. Is it possible to use the $USER variable or something else to specify this ...
0
votes
1answer
18 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
37 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
21 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
31 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
35 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
29 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
21 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
35 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
18 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
122 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
15 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
5 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
39 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
33 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
22 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
120 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
52 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
59 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
45 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
29 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
32 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
116 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
37 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
93 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
94 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 ...
1
vote
0answers
71 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
124 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
49 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
167 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
17 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
73 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 ...
0
votes
0answers
59 views

mount in fstab with krb5 at login

I have a cifs fileshare that I use. My organisation requires that it uses Kerberos so it's mounted with sec=krb5. This is fine, but I'd like it to mount after login automatically without having to ...
1
vote
1answer
217 views

How can I edit root /etc/fstab after boot failure in CentOS 7?

After an incorrect record was added to /etc/fstab, CentOS is, expectedly, failing to boot. I've been looking around and found a lot of different solutions but I'm unable to resolve my issue. When ...
1
vote
1answer
61 views

Which directories can be on a different partition outside of root?

This question has surely been answered somewhere else but I'm having trouble finding it. I'm in a situation where I'm moving my root file system from a Debian install off of a hardware RAID and onto ...
0
votes
2answers
76 views

Get if drive in /etc/fstab without root

Is there a way too find if a drive is in /etc/fstab, without root? I want to know if I can run just sudo mount /dev/sdx and it will get the mountpoint from /etc/fstab, without running the command and ...
1
vote
2answers
85 views

Can I use a pass value higher than 2 in fstab?

The man page for fstab has this to say about the pass value: Pass (fsck order) Fsck order is to tell fsck what order to check the file systems, if set to "0" file system is ignored. Often a ...
0
votes
1answer
126 views

sshfs in fstab connection reset with ssh tunnel in ~/.ssh/conf when 'manual' command works fine

I'm trying to set up an sshfs mount in fstab for persistent mounting of a network directory that has to be accessed via an ssh tunnel. my .ssh/config looks like this: Host A Hostname outer....
0
votes
2answers
1k views

How to resolve e2fsck Superblock problem?

I have a problem like this question How disk became suddenly write protected in spite configuration is read/write? And I used these commands to resolve that umount /dev/sdb1 e2fsck /dev/sdb1 mount /...
1
vote
0answers
118 views

fstab noauto keeps mounting on boot

I'm trying to have Linux not mount an external hard-drive on boot. Despite having 'noauto' flag, it still mounts on boot. UUID=7e507b2d-474b-47fb-8982-5d9ed6ef5f03 /media/nightmare/750v ext4 ...
0
votes
0answers
222 views

How to resolve “A start job is running for /dev/disk/by-id/…” on boot?

After I cloned my smaller Linux disk onto a larger disk and put it into my computer and booted, I started getting the message A start job is running for /dev/disk/by-id/INTEL-...160{...
1
vote
1answer
534 views

Boot problems with empty fstab in initramfs

I have recently reinstalled my Linux Mint 19.2 from a USB which went fine. Upon starting the system, though, it get's stuck at initramfs. The error messages above state Mount: mounting /dev on /root/...
0
votes
0answers
21 views

Mounted device accessible per command line only after file manager

after hours of testing with /etc/fstab, I can finally reach my NAS shares with nautilus. However, I can't access the shares per command line (I use terminator on debian 10, NAS is configured with ...
1
vote
1answer
61 views

mount /dev/sdc1 /media works but fstab fails to mount

I'm running archlinux and have an ext3 10Tb internal harddrive that is failing to mount on boot through the fstab entry. If I use mount /dev/sdc1 /media, the mount succeeds however attempting to do a ...
0
votes
0answers
89 views

Cleanly unmount a usb drive with systemd

I configured an automount for a USB drive by adding an extra rule to /etc/fstab as belows /dev/sda1 /media vfat noauto,nofail,x-systemd.automount,x-systemd.idle-timeout=2,x-systemd.device-timeout=...
1
vote
0answers
107 views

Automount with fstab and systemd

I added an automount rule to /etc/fstab for a USB drive in my board as follows: /dev/sda1 /media vfat noauto,nofail,x-systemd.automount,x-systemd.idle-timeout=2,x-systemd.device-timeout=2 .. I ...
0
votes
0answers
119 views

Mounting a share read-only from fstab on a Windows Domain with Ubuntu Windows Linux Subsystem?

There are windows machines out on the network and I want to mount for instance \\Some-Box\c$\Program Files (x86)\calc I went into the man page for mount.cifs and found the following: sec= ...
1
vote
1answer
62 views

How could I mount a non-encrypted partition before crypttab starts?

I have an ARM server that I want to have booted with (not booting FROM) a USB flash drive containing a LUKS keyfile, that's needed to decrypt a hard drive I have connected to the drive. So in order to ...
1
vote
0answers
124 views

Connection reset by peer while trying to mount sshfs in fstab

I have the following line in fstab sshfs#dimskraft@MYSERVER:/ /mnt/MYSERVER fuse _netdev,user,idmap=user,transform_symlinks,identityfile=/home/dimskraft/.ssh/id_rsa,allow_other,default_permissions,...

1
2 3 4 5
13