Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [fstab]

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

3
votes
1answer
75 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
20 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/...
2
votes
1answer
134 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
59 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
268 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
487 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
436 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
43 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
331 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
20 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
260 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
170 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
169 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
109 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&...
1
vote
1answer
436 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
0answers
812 views

fstab “x-systemd.requires” option with no effect

Debian 8 Jessie: I need my my /data-partion to be mounted AFTER the /tmp-partion is mounted. So I've organised my fstab as follows: none /tmp tmpfs defaults 0 0 /dev/sda1 /data ...
0
votes
1answer
585 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 ...
0
votes
1answer
406 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
103 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
80 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
215 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
957 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....
0
votes
0answers
335 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
887 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="...
2
votes
0answers
477 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
1k 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
601 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
0answers
167 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 ...
0
votes
0answers
651 views

fstab entry to mount NFS from NAS, do I need a password?

[CentOS7, Western Digital myBook NAS] I need to mount a NFS from an NAS. I am able to do this manually from the console with this command that doesn't require me to add a password on the command ...
0
votes
2answers
760 views

SDFS filesystem automount on start-up

Just started to test http://opendedup.org/ So I did this: # mkfs.sdfs /dev/vdb --volume-name=pool1 --volume-capacity=100GB # mkdir /mnt/pool1 # mount.sdfs pool1 /mnt/pool1/ The result of this line ...
0
votes
1answer
43 views

NFS transfer delay

I adopt a bunch of webserver with a NFS storage behind the setup from an administrator who left our company. The setup consists of eight webservers and one NFS storage server which work together. The ...
0
votes
1answer
726 views

usb external hard drive will not mount on boot

Server OS: Debian Stretch fdisk -l http://paste.debian.net/932334 fstab http://paste.debian.net/932336 journalctl -xb paste.debian.net / 932337 zoneminder: wiki. zoneminder. com / ...
0
votes
1answer
170 views

Where is the filesystem marked as “erroneous” with /etc/fstab errors=continue setting?

From man mount errors=continue in /etc/fstab means: ignore errors and just mark the file system erroneous and continue Where is the filesystem marked erroneous? I would like to set up an alert ...
0
votes
2answers
335 views

Troubles with swap on dm-crypt/LUKS partition

I have created two dm-crypt partitions during Debian install: sda2 sda2_crypt swap sda3 sda3_crypt / I used 7.8.1 netinstall ISO. Later I have added additional dm-crypted drive sdb: # ...
0
votes
1answer
762 views

'Could not find filesystem /dev/root' after Clonezilla clone of redhat install to newer hardware'

I am cloning what appears to be a redhat 4 (possibly 5?)server to fairly newer hardware, as the original has a failing board. DBA would rather not reconfigure a new installation so they want me to ...
0
votes
1answer
3k views

Automatically mount bucket with s3fs on boot

I use an Amazon S3 bucket to deliver some of my server's content. I was able to mount it successfully, and grant Apache rights over it, but can't get it mounted properly at reboot. I updated my /etc/...
1
vote
0answers
244 views

Filesystem doesn't reliably mount upon EC2 boot

I've got a mail server (Ubuntu 16.04) running on AWS. Sometimes, when rebooting, the EBS volume that contains all the mail doesn't always mount. This just happened, and I ran df -H, noticing the ...
0
votes
0answers
509 views

Mount LVM device

I am using Arch Linux and want to mount my two disks, /dev/nbd1 and /dev/nbd2, at the same mount point. I created the mount at /share/data and added the following to /etc/fstab: /dev/vg_data/volume /...
-2
votes
1answer
549 views

Rescue fstab, invalid argument mounting my disk ext4

I have a problem, I think I wrong to edit /etc/fstab on centos7 and I cannot reboot my remote server. I'm in rescue mode with freebsd. I cannot mount my ada0s3 (on centos was sda3) to fix my fstab. ...
5
votes
1answer
556 views

Why very slow / no directory caching with SSHFS?

I have the below in /etc/fstab and when I cd ~/dat0 and then do anything in there e.g. tab complete, it takes 10 seconds every time. I.e. it doesn't cache anything. Is there something that can be ...
1
vote
0answers
924 views

Optimize Disk Mount Parameters for EXT4

I am looking to optimize the mount options when mounting a disk to write large files to under linux (Ubuntu 16). Specifically, mounting an external EXT4 USB 3 drive to backup VM files (~10G) and also ...
0
votes
1answer
288 views

Linux: “fstab” with additional mount options?

I'm using "GlusterFS" Client, to mount the GlusterFS Volume on my Web Server. Below is the MOUNT command when i manually mount from commandline: # mount -t glusterfs -o aux-gfid-mount gluster1:/gv0 /...
0
votes
1answer
325 views

partitioning “/mnt” into two equal partitions in linux

I have a script which partition the directory into two equal partition. I am partitioning /mnt directory into two equal partitions /data01 and /data02. david@machine:~$ df -h Filesystem Size ...
0
votes
2answers
1k views

RHEL - Force mount order in fstab

I have one network share that I mount in fstab. This is working fine. Then, I have a second mount which binds on the folder from the first mount. Something like this: //my-cifs-share/foo /mnt/foo-...
9
votes
2answers
2k views

How to add new persistent disk without rebooting the server?

I've got a running instance on GCP and would like to add another persistent disk into it. But it will not show up. It's an n1-standard-1 instance with a 10 GB storage (named s03). I created another ...
12
votes
1answer
217 views

Update crypttab asks for Passphrase for fstrim

This is kind of a continuation of - How to get free space from mounted drive Redhat 7 The problem I am facing is when i run: [root@x011dc01-rhtest /]# fstrim -v / I get the following error: fstrim:...
0
votes
1answer
354 views

How to gracefully handle a Samba share going offline?

I have an Ubuntu 16.04 LTS web server that mounts a Windows file server via Samba. The web server need to be able to occasionally perform tasks that interact with the files on that server. However, we ...
0
votes
0answers
71 views

/etc/hosts is not processed during boot

I have NFS mounts set up in /etc/hstab as HOSTXYZ:/share/dir /mnt/nfs/local-dir nfs4 _netdev 0 0 It mounts fine when I run mount -a however it hangs during boot. I discovered that if I use ...
1
vote
1answer
1k views

How to prevent tmpfs /tmp causing machine to run out of memory?

I have a virtual server (Debian 8.5, OpenVZ) that seems to run out of memory* when tmpfs-based /tmp is about 60% full. (* while the system reports 2GB of memory still free, processes start to behave ...
3
votes
1answer
528 views

Ubuntu 14.04 with Azure File Storage FSTAB mount drops after some time

I have an Ubuntu 14.04 server that has an Azure File Storage mount that auto mounts on boot via an FSTAb. To create this config, I followed the instructions in this article, and it works fine. The ...