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

248 questions
0
votes
1 answer

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 user=myuser,domain=ad.myad.com…
M. Antony
  • 3
  • 1
0
votes
0 answers

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/fstab file that includes a line mounting a directory…
Borea Deitz
  • 202
  • 1
  • 10
0
votes
1 answer

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 domain credentials to authenticate. I want to…
0
votes
1 answer

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?
cclloyd
  • 593
  • 2
  • 14
  • 29
0
votes
0 answers

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 filesystem. This approach works fine for…
main--
  • 101
0
votes
1 answer

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 16G 0 disk ├─sda1 8:1 0 1M 0…
Syntax Error
  • 155
  • 1
  • 1
  • 11
0
votes
1 answer

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 linked unit files are located must be accessible when…
0
votes
3 answers

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: # # / was on /dev/sda1 during installation UUID=0841ef72-e9d4-45ca-af22-a403783859c6…
0
votes
1 answer

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 target directory. Booth flash drives to server not…
Guntis
  • 683
  • 1
  • 10
  • 22
0
votes
1 answer

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 the correct magic incantation for fstab entries if…
0
votes
1 answer

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="system_u:object_r:samba_share_t:s0" 0 1 -, Which i…
Rahul V Sharma
  • 141
  • 2
  • 8
0
votes
1 answer

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 not. I am unable to change the Dropbox…
Brad
  • 250
  • 1
  • 11
0
votes
0 answers

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 line. sudo mount 192.168.1.222:/DataVolume/MyShare…
WestHamster
  • 101
  • 1
  • 1
0
votes
2 answers

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 is empty: # ls /dev | grep pool1 How to automount…
A_buddy
  • 35
  • 2
  • 11
0
votes
1 answer

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 NFS storage server is mounted in the /etc/fstab…