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

How to securely store password for use by mount

I would like non-root users to be able to mount certain drives on the local network (or have them be mounted automatically on log-in). To mount network drives (via cifs) a password is passed on over ...
1
vote
1answer
20 views

Shutting off power with a non-system r/w ext4 volume mounted

I'm running Raspbian off a read-only ext4 volume. I also have a read/write usb flash volume (ext4, sync) mounted via fstab that runs a simple application that is expected to write occasionally. While ...
-1
votes
2answers
26 views

Fstab Configuration Help

Okay so I was messing around in the fstab file under /etc/ and I made a new partition which I could play around with, this partitions name is /dev/sda2. So when I was messing around I did this ...
1
vote
2answers
64 views

mount -a works, but fails at boot with “can't find UUID”

I just upgraded my server to Debian Buster (Raspbian). However, when I now boot, my USB hard drives aren't mounting. I see something like the following on my splash screen: mount: /media/PiHDD: can't ...
0
votes
1answer
59 views

Linux permission denied

Every single command I run gives me permission denied as root, this happened shortly after I changed /etc/fstab and remounted ext4. The only commands I appear to be able to run is echo and cd, not ...
0
votes
0answers
18 views

Set group as owner of cifs mount in fstab

Is it possible to mount a cifs share in fstab with setting the group as owner? So anyone in the group can chmod without sudo? These are the options I've tried: rw,mand,vers=3.0,gid=,file_mode=0664,...
0
votes
0answers
16 views

/dev/disk/cloud/azure_resource-part1 in /etc/fstab override after stop and start vm in azure portal

i want to make /mnt as my extrnal disk directory , i folwed this tutorial : https://docs.microsoft.com/en-us/azure/virtual-machines/linux/attach-disk-portal and my data disk was /mnt , after some ...
0
votes
2answers
29 views

Enabling tmpfs on an already installed system

Right now a system uses LVM on LUKS, with only 2 lvm partitions / and /home. If I now want to make use of tmpfs for /tmp and /var/tmp, can I just add the necessary changes to /etc/fstab and it will ...
0
votes
1answer
35 views

/etc/fstab - using bash command output to get UUID?

I placed an entry in my fstab file to add a swap partition. I used output of a bash command to get the UUID of vdb1 partition(I can't copy paste). Like this: UUID=$(blkid -o value -s UUID /dev/vdb1)...
1
vote
2answers
58 views

sshfs in fstab: addressing same server through different networks

Host and Client Ubuntu 19.04. OpenSSH I have a SSH server in my home LAN that I mount to my laptop using the LAN network address. When I'm at my weekend hideaway, I have to change my fstab to mount ...
0
votes
0answers
11 views

Edit /etc/fstab in boot mode [duplicate]

I have added the last line of /etc/fstab/ file for automounting my drive E like this: # UNCONFIGURED FSTAB FOR BASE SYSTEM proc /proc proc defaults 0 0 # /dev/sda3 UUID=0fc4d3c1-...
0
votes
0answers
38 views

Auto mount partition at startup (Linux)

I'm new to Linux, so bear with me. I'm running Kali on a raspberry pi and I can't seem to get the second partition on my SD card to auto mount at startup. The first partition mounts just fine. I can ...
0
votes
0answers
20 views

Fuse filesystem hangs

I have CentOS 6.10. My fstab file contains this mount point: curlftpfs#ftp://free:free@ftp.zakupki.gov.ru/ /mnt/eis_ftp_44fz fuse ro,noauto,intr,nosuid,nodev,direct_io,no_remote_lock,connect_timeout=...
4
votes
2answers
456 views

Why swap space doesn't get filesystem check at boot time?

As I was checking the /etc/fstab I noticed that the swap space has attr pass=0, which means its filesystem is not checked at boot time. Can anyone please tell me why is this behavior for?
7
votes
3answers
506 views

How does the Linux command “mount -a” work?

After adding a new mount point in /etc/fstab, we usually execute mount -a to reflect the change (if we want to bypass reboot), and df -kh output shows the new mount point. How does mount -a work/...
1
vote
2answers
15 views

Removing mount default execute permission of text files

I want to mount all text files without execute permission to eliminate the (Run in Terminal - Display - Run) message, which appears every time I open a text file in Linux Mint. I have the following ...
0
votes
1answer
36 views

/etc/fstab is mounted too late, causing some daemon fail

I wrote some entries in /etc/fstab, for example mounting on /tmp. It seems systemd mounts /etc/fstab entries too late, after some daemon already started, for example Xorg. Xorg creates .X11-unix in ...
0
votes
0answers
19 views

Creating bind mounts at Linux installation time

Generally, when we install a Linux distro (I'll use Ubuntu-like distro as an example, but can be any distro), we define partitions and mount points that will be applied to a disk, after we click on "...
0
votes
2answers
42 views

how do I mount the hard disk with Windows on it? [duplicate]

I am a user of Fedora 30. I installed Fedora on a USB memory stick and use it with Windows 10 on the same computer. How do I set the options in fstab to make it read-write to an NTFS-formatted Windows ...
0
votes
1answer
26 views

Fstab intermittently mounting drives while using nofail

We have 4 backup disks that we rotate in one removable caddy slot. The fstab script intermittently works....it appears the fstab script is not getting to later lines. Ubuntu 16.04.6 LTS (GNU/Linux 4....
1
vote
0answers
69 views

input/output error when copy or link a file containing escape characters from home directory to a nfs system

Suppose that I have a home directory /home/mydir,which has a file containing time format (YYYY-MM-DD_HH:MM:SS) in its filename. When I try to copy or link these files to a nfs directory, it will ...
0
votes
1answer
33 views

Adding entries to fstab results in emergency mode

This is my local system configuration. NAME="elementary OS" VERSION="5.0 Juno" I am mounting my remote server's file system on a subdirectory by this command, which is working fine. sudo sshfs -o ...
0
votes
2answers
94 views

Filesystem show up in `/etc/fstab`, but not using `df -a`?

I don't understand why the following filesystem shows up in /etc/fstab, but not using df -a: /dev/sdb1 /var/log/apache_logs reiserfs user,noauto,rw,exec,suid,user_xattr 0 2 ...
0
votes
0answers
79 views

Is this the proper way to use _netdev in FSTAB?

OS is Kubuntu 18.04 from fstab 192.168.88.101:/export/storage /mnt/omv nfs _netdev that nfs share is not mounted on boot but will mount if I run mount -a
0
votes
1answer
41 views

I would like to resize my /tmp partition but gparted doesn't want to change anything, nowhere

I use my computer with Debian 9 for Java Spark development. Spark is a Big Data API and these kind of works use more temporary space than the 2G that by default the Debian installation sat. marc@...
1
vote
2answers
172 views

How to make an fstab entry for sshfs on non-standard SSH port and using ssh key

The server is listening on port '8765' and requires a SSH key for authentication. I can mount the remote directory using this command: sshfs -o idmap=user,port=8765 stephen@server:/export/usb2T /mnt/...
0
votes
1answer
41 views

Mounting Windows shared folder with fstab

I am trying to convert this command line: sudo mount -t cifs //192.168.20.202/torrents /media/NAS -o username=x,password=y,dir_mode=0777,file_mode=0777 Into /etc/fstab entry, but it keeps mounting ...
-1
votes
1answer
37 views

Prevent post-install scripts from modifying /etc/fstab

OS: Ubuntu 18.04 Today I noticed that some script has modified my /etc/fstab and commented out the efivars partition: # /boot/efi was on /dev/nvme0n1p1 during installation # UUID=1562-9EFD /boot/...
0
votes
2answers
56 views

Can fstab dynamically mount a partition by reading from a file or filename?

I have a partition structure as follows: /dev/sdc1 => Partition 1 ( My OS. [ Linux flavour ] ) /dev/sdc2 => Partition 2 ( This contents some data. ) /dev/sdc3 => Partition 3 ( This also ...
0
votes
2answers
68 views

is it possible mount automatically if from some reason mount folder isn't mounted

we create the following mount point and nfsshare folder as share folder on all our linux client machines ( total 1872 machines - redhat 7.2 ) master1:/nfs 41932800 6563840 35368960 16% /...
0
votes
0answers
49 views

Samba credentials changing when attempting to mount

I'm trying to mount Samba shares automatically using fstab. Right now my fstab entry for the network share is //bistack/matt /mnt/Network_Shares/Matt cifs user=matt,pass=*****,auto,nouser,exec,...
0
votes
1answer
35 views

Mount internal drive to all users

I have an internal 8tb harddrive which I want it to be mounted to all users on my machine some of the users are local and some are ldap users. I've created a folder called 8tb in /media/8tb Then I ...
30
votes
2answers
3k views

What is /etc/mtab in Linux?

What is /etc/mtab in Linux? Why is it needed and advantages of having it?
1
vote
1answer
43 views

mounting loop not working with UUID

I have created a loop device and added it to /etc/fstab I got its UUID from the output of the blkid command (it does print a UUID for the particular device after running mkfs.ext4 /path/to/loop) ...
0
votes
1answer
47 views

Issue with correct syntax of /etc/fstab

The next command works: sudo mount -t nfs4 10.10.1.10:/Data /mnt/data How do I reformat this to /etc/fstab to add in? I can't get it mounting on boot.
0
votes
0answers
33 views

Bash - Remove line from /etc/fstab - advice [duplicate]

First post - go easy on me:) Was rewriting bash script to delete lines in /etc/fstab. I can get it to work with the "echo". Question: Why cant it do with with awk? echo "Code:" if [ "$quit" ==...
1
vote
1answer
315 views

What is the correct permission in /etc/fstab to mount NTFS?

I have Windows and Arch Linux in dual with UEFI. I want to mount my another NTFS partition in Arch. I mounted the partition with mount /dev/sda5 /mnt/Apps command. Then added the output of genfstab -...
0
votes
0answers
18 views

How to mount network with connected user, with credential file in connected user's home?

So right now, my /etc/fstab folder looks like that. //192.168.x.y/Share_1 /media/shared/share_1 cifs _netdev,user,credentials=/home/pierre-antoine/.password_windows,uid=1000,gid=1000 0 ...
1
vote
1answer
37 views

Add (already created) partition for /home after OS installation

I made a separate partition for /home, but during installation process I forgot to mount it and hence no entry was made in fstab. I had everything in partition under the root ( well not the swap and ...
1
vote
1answer
40 views

short way to perform efsck when we have huge number of disks

we need to do e2fsck on all our disks ( redhat linux - 7.2 ). Since on each machines we have 22 disks ( ext4 file-system ) it will take time to do it on each disk as all know when doing e2fsck need ...
0
votes
1answer
57 views

How to set fstab to be able to umount my external HDDs under normal user account?

System: Linux Mint 19.1 Cinnamon. Disks in this question are considered external HDDs either ext4 or ntfs formatted. I am interested in how do I manage to set my fstab or whatever else to be able to ...
0
votes
0answers
728 views

systemd - mount mount process exited, code=exited status=32

First Boot always fails. Is it possible to make it work ? Working on modified OS image. Where it uses kernel of version 3.10 (Centos 7.6) but grub is still old version 0.97. When deployment of OS ...
0
votes
2answers
137 views

Set hidepid=1 persistently at boot

I'd like my system's /proc directory to be mounted with the hidepid=1 option. I know that once the system is already up, I can do that with sudo mount /proc -o remount,hidepid=1. How can I make /proc ...
0
votes
1answer
32 views

Does the Modifications Made In GNU Parted Affect the File System Table File?

My Nexus 7 (2013 WiFi) tablet PC has a corrupted partition table. I would now like to troubleshoot into Linux. After loading GNU Parted on the tablet and making a new GPT table with 30 partitions ...
0
votes
2answers
471 views

How can I get my drive mounting via fstab again?

I had a nice Ubuntu 18.04 system up and running with many different internal SATA drives and rock solid for several months, and all were happy in the land. Then one day, there was a simple power ...
0
votes
2answers
48 views

Why do we need both mkswap and /etc/fstab to set up swap?

Given $ cat /etc/fstab ... /dev/mapper/lubuntu--vg-swap none swap sw 0 0 why do we still need: $ sudo swapoff /dev/mapper/lubuntu--vg-swap $ sudo mkswap /dev/...
1
vote
0answers
32 views

fstab bound folders show as disks in GUI

I'm trying to mount different folders on sda7 in the folders in the /home folder. like documents, pictures, and music. I always did that like this: /media/betty/Tuinhuisje/Betty/Documents /home/...
0
votes
1answer
190 views

Mounting using alternate fstab file

I need to use an alternative fstab file for mounting a folder in another folder, like the command mount --bind /folder1 /folder2 I tried the command mount --fstab /pathToFile.fstab as stated in ...
0
votes
1answer
170 views

fstab keeps asking for password, while trying to mount shared cifs

I have the following entry in my fstab file: //10.30.1.235/Restrito/BackupVms /backups/servidor01 cifs vers=2.0,credentials=/spassword,iocharset=utf8,gid=0,uid=0,file_mode=0777,dir_mode=$ 0 0 ...
2
votes
1answer
137 views

Systemd generated mount file is not deleted when the mount point entry in fstab is deleted or modified

I recently started using systemd in linux. On systemd mount, I have some observations: mount unit file is generated with mount point name when there is an entry in /etc/fstab. I also observed the ...