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
21 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-...
0
votes
1answer
27 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
21 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
45 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
47 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
40 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
78 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
130 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 /...
0
votes
0answers
88 views

Glusterfs: local .automount in fstab not working at restart

I'm using glusterfs Version 7 /debian 10 and i will try to automount my gluster volume at startup / rebooting. Ive just tried to add this in my /etc/fstab: 127.0.0.1:/www /var/www glusterfs ...
0
votes
1answer
225 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'...
0
votes
0answers
70 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 ...
0
votes
2answers
177 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
42 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
361 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 ...
2
votes
2answers
216 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 ...
0
votes
0answers
170 views

Howto mount curlftps in fstab with custom netrc-file

The problem is, I have to mount two folders from one ftp(s) server with different user names (and passwords, of course). I found the option netrc-file, but don't know how to use it in fstab, I tried: ...
2
votes
2answers
2k 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
43 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
64 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
128 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-...
1
vote
1answer
404 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
29 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
664 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
103 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
101 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
2k 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
115 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
963 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
1k 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
87 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
1k 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
664 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 ...
0
votes
1answer
508 views

fstab configuration for esxi datastore-based hard drive

I've got the following drives on my server NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 86.6M 1 loop /snap/core/4571 loop1 7:1 0 86.6M 1 loop /snap/core/4486 sda 8:0 ...
0
votes
1answer
379 views

How to make initrd of Ubuntu 16.04 mount /home automatically in addition to /?

This is a follow-up to a former question about systemd, BTRFS, /home being an individual subvolume and the following restriction of systemd I would like to work around: The file system where the ...
0
votes
3answers
165 views

Why can't systemd find service files within a BTRFS subvolume within a BTRFS root file system?

I've installed Ubuntu 16.04 LTS Server using BTRFS and got the following setup according /etc/fstab: # <file system> <mount point> <type> <options> <dump> <pass&...
3
votes
2answers
1k views

What is the failed dependency during cryptography setup of systemd?

I'm using Ubuntu 16.04 LTS Server in a VM with one unencrypted hard disk for / and an additional LUKS-encrypted one for some arbitrary data. The encrypted disk is opened and mounted with a password ...
0
votes
1answer
1k views

Debian 9 fstab two mount points (uuid) same destination

I have encrypted luks partition. Key file is located on USB flash drive. I also created copy of that flash drive to another flash. How I can add two mount points in /etc/fstab that points to same ...
-1
votes
1answer
762 views

/etc/fstab doesn't show temp but temp is mounted. CentOS 7 on linode

In CentOS 7, I have been told to secure the /tmp folder with with noexec,nosuid in /etc/fstab When I view the /etc/fstab, I can only see few lines without /tmp mounting option. I have created a tmp ...
3
votes
1answer
147 views

in which cases it will be problematic to configure UUID in fstab

We are thinking about to change all Linux fstab configuration to work with UUID instead the current configuration Some of the disks are with non RAID and some of the disks are with RAID10 I searched ...
2
votes
1answer
102 views

broken boot order zfs boot drive after a zfs disk replace

My system was nice and configured then I had a failed zfs (raidz2) drive. I swapped that drive but then it wouldn't enroll. So when I rebooted the system wont boot until one of the unbeknownst array ...
0
votes
1answer
226 views

External HD, fstab

Okay, so I have this external (USB) HD that is sometimes (read: almost always) connected to my server. I want to mount the partitions on this HD to my own configured mount points, via fstab. What is ...
3
votes
1answer
2k views

samba share in /etc/fstab is ignored during mount -a but manual mount works

It's one of these problems I'm running into every time that I set up a server :-( I have an Ubuntu server 16.04 and would like to auto-mount a samba share. In my /etc/fstab I have the entry: //10....
1
vote
0answers
457 views

nfs mount failing to reconnect after reboot

Ok, this one is odd. I just rebooted my entire home network for the first time. Took a bit but got everything to come back up. I have a media vault nas, sharing a handful of drives on NFS/SMB, and ...
0
votes
1answer
1k views

Directory listing symbolic link in apace

Platform : Centos 7 Scenario : I have a drive "/mnt/ELEMENTERY-1TB" mounted with fstab UUID=a6339f33-1c61-4c2c-a490-04c83ccfb4d6 /mnt/ELEMENTERY-1TB/ ext4 defaults,errors=remount-ro,context="...
3
votes
0answers
978 views

`ls` command hangs indefinitely in some directory in an azure File Storage share

I have an azure File Storage share mounted in a Ubuntu 16.04 VM following this how-to. Everything seems to work fine. So I run some process that produces a lot of data, e.g. 10k files for each run, ...
0
votes
3answers
2k views

Two external hard drive on same mounting point in fstab, but only one should be mounted

I have two external hard drives in the fstab file. They are pointing to the same mounting point. During the startup only one of this two drives should be mounted at the mounting point and only one of ...
1
vote
1answer
754 views

Cannot mount a drive as read-write Fedora 26

I just switched from a fedora 25 machine to a fedora 26, and for some reason, I cannot mount the same drives as read/write. This "d_drive" is a physical SSD connected via SATA. I'm able to mount USB ...
0
votes
1answer
310 views

NFSv4 client unable to mount export containing brackets or spaces but works on NFSv3

There is an issue with NFSv4 when you try to mount a path containing a space and or a bracket character. NFSv3 works fine using the path that uses a symbolic link to the actual folder and NFSv4 does ...

1
2 3 4 5