Questions tagged [fstab]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
42 views

How can mount a disk in OpenVZ container?

I have a OpenVZ container. And I mount a disk from a host node to the container: /sbin/vzctl set 111 --devnodes sda:rw --save When the container starts the disk can't mount because systemd doesn't ...
0
votes
1answer
31 views

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 ...
0
votes
2answers
39 views

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 ...
0
votes
2answers
61 views

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 ...
0
votes
1answer
104 views

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/...
0
votes
0answers
11 views

Possible to auto mount drive in fstab only when another fails?

Weird question but does anyone know if it’s possible to use fstab to auto mount a drive only if another fails to mount? I have an external USB drive that is backed up via clone. If the drive fails I ...
0
votes
1answer
47 views

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 ...
0
votes
0answers
89 views

mount mdadm / bcache device at boot failing

I am setting up an mdadm raid1 array with an nvme ssd as a cache drive. I followed this instruction https://www.kernel.org/doc/html/latest/admin-guide/bcache.html to set it up everything works fine, ...
0
votes
0answers
82 views

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. ...
0
votes
1answer
125 views

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 ...
1
vote
0answers
396 views

NFS4 and bind mount issues

Ok guys I have a weird issue. After recently adding a bind mount 2 folders deep inside an existing NFS4 export, when I mount that NFS export on my client, it leads directly to the bind mount. No ...
0
votes
1answer
491 views

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, ...
2
votes
0answers
338 views

How to run kinit as root before automounting mutiuser cifs mounts?

Goal I'm setting up multi-user CIFS mounts in an Active Directory environment under CentOS 8.2. The storage server supports SMB3.1.1 protocol. Prerequisites I could easily integrate the system to the ...
0
votes
1answer
33 views

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 ...
0
votes
1answer
296 views

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 ...
0
votes
1answer
575 views

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,...
-1
votes
1answer
870 views

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. ...
1
vote
1answer
558 views

How to STOP nfs from trying (and retrying) to mount an offline server

I have a home server running ubuntu which exports a nfs volume which I'm mounting on my laptop like this -> % cat /etc/fstab ... media:/mnt/data /home/alf/media nfs _netdev 0 0 All is ...
0
votes
0answers
46 views

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-...
1
vote
2answers
722 views

NFS Stale File Handle After NFS Server Reboots: Why Does This Happen and How Does Industry Handle This?

This problem has been driving me crazy. I have an NFS server with NFS shares mounted on various clients. However, whenever I have to reboot the NFS server, I invariably end up with a bunch of "Stale ...
0
votes
1answer
57 views

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)...
0
votes
1answer
162 views

Why /tmp is bound in /tmp ? How can I remove this bound

In Scientific Linux 6, a clone of RHEL6, I have the following mtab file: /dev/sda2 / ext4 rw 0 0 proc /proc proc rw 0 0 sysfs /sys sysfs rw 0 0 devpts /dev/pts devpts rw,gid=5,mode=620 0 0 tmpfs /dev/...
0
votes
1answer
191 views

How to map a UUID directly to both a device name (e.g. /dev/sda1) AND a mount point (e.g. /mnt/home2)?

I know how to map /etc/fstab to the mount point with the device name: /dev/sdb1 /mnt/home2 ext4 usrjquota=quota.user,jqfmt=vfsv0 0 0 This practice is however highly ...
1
vote
2answers
86 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
230 views

How to move /var back to Root from a different filesystem

I need to move my /var (dev/sdc1) back to the / (dev/sda2) from a different file system. I've resized the / partition and want to move /var back to / partition and resize /dev/sdc1 filesystem to mount ...
0
votes
1answer
595 views

FSTAB CIFS kerberos

How can I force fstab to mount CIFS with machine account kerberos? From logs it shows that cifs.upcall goes to: cifs.upcall: get_cachename_from_process_env: cachename = FILE:/tmp/krb5cc and not on /...
3
votes
1answer
4k views

Unable to mount cifs share in fstab with spaces in share name

I'm running a Debian Squeeze system and trying to mount a windows share in /etc/fstab. I've got an existing cifs mount working, but it's a simple //xx.xx.xx.xx/sharename situation. This second one isn'...
2
votes
1answer
539 views

Run ZFS as non-root

I'm running Debian 10 in a VM (using KVM) and I want to use ZFS as a non-root user. Here is what I did. I added this line to my sources.list file deb http://deb.debian.org/debian buster-backports ...
1
vote
2answers
473 views

ssh connection refused after editing fstab in Google cloud vm

I'm getting ssh: connect to host xx.xx.xx.xx port 22: Connection refused after updating fstab for mounting Google bucket. fstab entry that I have added is as follows, bucket mount_point fuse rw,...
2
votes
0answers
75 views

Raid filesystem check or mount failed (after probable physical shock)

I was redirected here from askubuntu. I work on a server where the operating system is installed on an SSD but data storage is on internal harddrives set up in a RAID system. Recently I have been ...
2
votes
0answers
794 views

Previously mountable GlusterFS volume now fails to mount with several errors

I've previously set up a couple of GlusterFS volumes (called cyclorana0 and cyclorana1) across two nodes (with IPs 10.0.2.4 (hostname alboguttata) and 10.0.2.5 (hostname verrucosa)) on my LAN. The ...
4
votes
2answers
548 views

How to preserve drive device paths for AWS EC2 instance between reboots

I rebooted a m5d.xlarge EC2 instance running Ubuntu 16.04.5 LTS (xenial) using shutdown -r. Upon reboot, various drive mounts defined in /etc/fstab did not line up with the device assignments given ...
3
votes
2answers
5k views

XFS with No Barrier Mount option deprecated

I tried to perform SQL Server database restore with xfs filesystem and barrier=0 in Azure cloud environment. It performs restore of some 15GB data in around 8 minutes. I heard this option is getting ...
1
vote
0answers
46 views

After a Debian 9.9 upgrade my server doesn't boot because of the disks in fstab

After a Debian 9.9 upgrade I restarted the server to load the new kernel image, Debian 4.9.168-1+deb9u5 (2019-08-11) x86_64 GNU/Linux, and it didn't boot anymore. The server has 4 ssd disks, the main ...
0
votes
1answer
89 views

mount command fstab in linux

i have a command to manually mount windows shares into my linux system. Unfortunately the paths are not mounted when the system reboots. How can I add the path to the fstab table ? mount -t cifs -o ...
1
vote
1answer
201 views

Mount merged partition at boot, fuse module missing

I have a merged partition from 3 different hard drives with mergerfs. I set it up following this tutorial. To automate the mounting I added instructions in the fstab : UUID=b3c8301c-5d12-4ab1-ab8c-...
2
votes
1answer
1k views

Swapfile mount (/etc/fstab): “swap swap” or “none swap”

There seems to be conflicting information on how to mount a swapfile. swap swap: none swap: both: Both ways work. What is the official recommendation and how does each way affect swapping?
1
vote
0answers
46 views

Cryptodevice on top of DRBD with CentOS7

I have created a replicated drbd device. On top, I have create an encrypted volume with cryptsetup and finally formatted with ext4. Additionally, I am using a keyfile to be able to automount the ...
2
votes
1answer
1k views

Continue boot with offline fstab disk (linux/systemd)

During boot, with pre-systemd versions of Ubuntu server (eg. 14.04), if a non-critical fstab disk was offline, the system would wait to mount the disk (30s iirc), timeout and continue booting. Since ...
3
votes
1answer
121 views

mounted windows disk: incomplete directory listing

I have a series of Windows shared disks mounted on my Linux machine. I have lines like this in /etc/fstab: //10.5.0.136/i /media/i cifs credentials=/home/trosendal/.smbcredentials,vers=2.0,iocharset=...
0
votes
0answers
131 views

Ubuntu won't mount through fstab after upgrade to Systemd

I have a data server and two VMs. The first VM, clone14, runs Ubuntu 14.04. The second VM, clone16, was cloned from clone14 and then upgraded to Ubuntu 16.04. Both VMs have the exact same /etc/...
3
votes
1answer
3k views

Automatically mounting S3 bucket using s3fs on Amazon CentOS

I have tried all the answers provided in similar questions but none is helpful. I installed S3 Fuse so that I can mount S3 bucket. After the installation, I performed the following the steps: I ...
-3
votes
1answer
150 views

Edit fstab on unmounted device

I tried to add swapfile to the root file system on AWS EC2 instance. Did I made a mistake during the edit of fstab? sudo dd if=/dev/zero of=/swapfile bs=1G count=4 chmod 600 /swapfile mkswap /...
0
votes
1answer
1k views

Ubuntu map CIFS / SMB share using active domain credentials without password file

Is there a way in Ubuntu 18.04 to map an SMB share when the users login without using a password file? The boxes I have are members of a Windows Active Directory domain and the users will use their ...
1
vote
1answer
2k views

Mounting a cifs share dir_mode and file_mode are being ignored

I have an Ubuntu Server that is trying to mount a Windows Server shared folder. Firstly, what I'm trying to do here is mount the share as the person in the credentials file and all actions take place ...
2
votes
2answers
2k views

Centos 7 - fstab does not mount some partitions, but mount /dev/sd* does

i have a Virtual Machine with Centos 7, on which i want to mount some ext4 partitions. Physical disks are actually hard disks provided by vSphere. All disks are located on the same NAS - so the three ...
1
vote
1answer
438 views

Mounts happening on boot, but not defined in /etc/fstab

On every boot, my machine (CentOS 7) mounts all these: # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 30G 2.6G 28G 9% / devtmpfs 287M 0 287M 0% /dev ...
0
votes
1answer
2k views

Retry mount NFS share if failed

I have a NFS share that mounts from /etc/fstab, so that it mounts on boot. But if the NFS share isn't available on boot, how can I make it so that it retries until it can mount it?
0
votes
0answers
24 views

Read hostname from a secondary filesystem

I'm trying to customize a preinstalled Ubuntu image for VM instances. My idea was to add a secondary filesystem to /etc/fstab (let's call it /config) and then symlink all relevant config files to that ...
1
vote
1answer
850 views

cygwin: chroot jail - cannot run any command

I have installed Cygwin with Apache, PHP, Mercurial, MYSQL, OpenSSH, PYTHON I have updated sshd_config to chroot jail to access user-defined folders example: Match group sftp_users ChrootDirectory /...

1
2 3 4 5