Questions tagged [fstab]

The configuration file /etc/fstab contains the necessary information to automate the process of mounting partitions.

The configuration file /etc/fstab contains the necessary information to automate the process of mounting partitions. In a nutshell, mounting is the process where a raw (physical) partition is prepared for access and assigned a location on the file system tree (or mount point).

* In general fstab is used for internal devices, CD/DVD devices, and network shares (samba/nfs/sshfs). Removable devices such as flash drives *can* be added to fstab, but are typically mounted by gnome-volume-manager and are beyond the scope of this document.
* Options for mount and fstab are similar.
* Partitions listed in fstab can be configured to automatically mount during the boot process.
* If a device/partition is not listed in fstab ONLY ROOT may mount the device/partition.
* Users may mount a device/partition if the device is in fstab with the proper option

SOURCE: https://help.ubuntu.com/community/Fstab

241 questions
0
votes
1 answer

How to mount glusterfs at boot in centOS 7 lxc container?

Need to get a glusterfs volume mounted in a centos 7 lxc container. found this and can do it manually ok... But it seems that adding it in the fstab doesnt work because it gets executed before gluster client is functional? fstab: host:/gv0/Data…
jstnewb
  • 31
  • 4
0
votes
1 answer

Same NFS share on different clients with different local users

I have a NFS share on Netapp that is mounted on a RHEL client and I've set its owner and group owner from this client with chown command. User and group are local on this server. I mount the same share on another RHEL client but the user and group…
intore
  • 111
  • 3
0
votes
2 answers

What's the most failsafe way to mount remote filesystems at boot?

I am tasked with managing a complex structure of Linux (CentOS 8) VMs and hardware, hosting among other things various SMB and NFS exports. Most of them are simultaneously servers and clients, of one protocol or both. Ideally of course I'd want all…
0
votes
2 answers

What is the proper way to configure /etc/fstab on an ec2 instance?

I'm new to ec2 and don't know much about /etc/fstab. In addition to the root volume on my ec2 instances, I have a volume mounted to /data and a third volume for swap. I'm having trouble figuring out the correct entries for my fstab file and I'm…
StevieD
  • 474
  • 5
  • 17
0
votes
1 answer

Parse error for /etc/fstab trying to mount smb share

I am using FileMaker Server 19 in CentOS 7.8 and trying to mount a smb share for the backup of databases. I have entered into fstab: "//172.30.x.x/CentOS /opt/FileMaker/FileMaker\040Server/Data/Backups cifs username=mylogin,password=mypassword,…
mr buffy
  • 13
  • 3
0
votes
1 answer

Apache to share a /mount where the web page is stored using the networked connection. This worked using xampp ugh. Now using ubuntu

So this page Where to put the web pages in /var/www/ or /var/www/html/ in apache? is similar to what I am asking. The rules wont allow me to ask joining questions to expand on that discussion. There are several others about /mount and fstab that…
0
votes
0 answers

LVM Logical Volumes will not activate on Cloudlinux 7.8

Recently, after a reboot, the system landed in Emergency Mode. The cause appears to be that the system is failing to mount a few of the disks as defined in /etc/fstab. These disks are Logical Volumes. Of the 6 Logical Volumes on the server, 3 are…
0
votes
1 answer

SSHFS mount from fstab fails to authenticate

I created SSH key and transferred it to my target device using ssh-copy-id and now I can ssh targetUsername@targetHost -p 8798 without providing RSA key nor password for targetUsername@targetHost however when I try to mount SSHFS share in fstab…
Etua
  • 15
  • 4
0
votes
1 answer

How to move a subvolume to a new drive in btrfs?

I am trying to move my /srv, /var/lib/mysql and /home directory to another drive ( a bigger one with RAID1). I did some research on how to go about doing this and I kind of did most of it. However, after all the content is copied over, I am unable…
FlowRaja
  • 101
  • 2
0
votes
1 answer

Can all docker volumes be into a partition and would it be good for backup -cloning- purposes? (ex:/var/lib/docker/volumes/ in /dev/sdb1 @fstab)

I'm thinking of migrating all our documents and spreadsheets infrastrucure from and old standalone samba server to one of those popular self-hosted solutions and I'm trying to do the best long-lasting error prone easy (re)install. I've made it easy…
0
votes
1 answer

Cloud Linux 7 mount /tmp with exec in fstab

I have the following fstab UUID=3d301281-7be7-4a53-8f19-42f8c7d061d2 / xfs defaults,uquota 0 0 #/usr/swpDSK swap swap defaults 0 0 #/usr/tmpDSK /tmp ext3 defaults,noauto 0 0 /usr/tmpDSK /tmp …
Chris Muench
  • 417
  • 3
  • 9
  • 29
0
votes
1 answer

log in fails when mount point changes

I am mounting a windows 10 share on a Centos 7 machine via /etc/fstab like so: //10.11.11.7/shared_folder /path/to/mount_point cifs user,rw,suid,uid=0,gid=1111,username=win_user,password=win_user,file_mode=0755,dir_mode=0777,vers=3.0 0 0 When…
Frank Rueter
  • 101
  • 2
0
votes
1 answer

gcsfuse automount on a non root user

Currently I have a VM that runs CentOS 7 and would like to auto mount a bucket using a non root user. I have installed NextCloud and would like to point local data folder to Google Cloud Storage. Tried various examples but none of them seemed to…
el.severo
  • 87
  • 1
  • 10
0
votes
0 answers

GCSFuse keeps generating dummy files on mounted bucket that can't be deleted due to retention policy

I'm currently setting up a GCP storage bucket on my instance which will be used for backups. I have currently configured fstab to mount the bucket on startup using the following config. cpanel1-vm-backups /mount/backups gcsfuse rw,user The problem…
0
votes
1 answer

Unable to mount via /etc/fstab

all: Bringing up a new server, I have the following situation. I can mount the device at /dev/sda1 manually via this command: mount /dev/sda1 /owncloud But when I use the recommended approach (UUID) in /etc/fstab, I receive an error that the device…
Dennis
  • 167
  • 11