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
1
vote
1 answer

Why /dev/disk/by-id/ change after a suddenly server power-off?

I'm management a server that in /etc/fstab have references to some partitions using /dev/disk/by-id/DISK_ID-partN. The server suddenly power-off and DISK_ID part of /dev/disk/by-id/DISK_ID-partN changed. I always refer partition in /etc/fstab using…
user120858
1
vote
1 answer

How can I mount a subdirectory from a hard drive to a separate directory

I have this line in fstab /dev/sda1 /Tera ntfs-3g uid=www-data,gid=www-data,umask=007 0 0 because /Tera/OC has to have permissions 770 but since the drive is NTFS, I can't set it explicitly. Is there a way for me to mount the folder OC on its own…
1
vote
3 answers

How to mount ceph-fuse automatically with fstab?

# ceph -v ceph version 0.56.3 (6eb7e15a4783b122e9b0c85ea9ba064145958aa5) # repoquery -i ceph Name : ceph Version : 0.56.3 Release : 1.el6 Architecture: x86_64 Size : 26734691 Packager : Fedora Project Group : System…
quanta
  • 50,327
  • 19
  • 152
  • 213
1
vote
1 answer

ec2 instance cant mount glusterfs server

My EC2 instance tries to mount glusterfs volume whic located on another EC2 instance . client instance's /etc/fstab file contains: glusterserver1:/export/brick1 /mnt/glusterfs glusterfs defaults 0 0 when I try to mount it mnt -a But it gives…
zontragon
  • 275
  • 1
  • 4
  • 14
1
vote
0 answers

Dedicated TMP and AMAVIS

I perfectly configured my server and now I made 2 stupid mistakes, I updated perl along with it's dependencies and I made a dedicated TMP dir and included it in fstab to prevent code execution with a permission of 1777, now amavis shut down and it's…
Danzka
  • 29
  • 2
1
vote
1 answer

Compiling passenger-install-nginx-module; "C compiler gcc is not found"

I am in the middle of a process of installing Redmine served with passenger and nginx with this tutorial. With the passenger-install-nginx-module, it works fine and during compiling it outputs an error with this, Compiling and installing Nginx... #…
MacMac
  • 1,931
  • 8
  • 30
  • 38
1
vote
2 answers

Mount a volume within a mounted volume

I am setting up a new Linux Ubuntu server on Amazon EC2 and wanted to create a few extra volumes, to be mounted without execute permissions. /tmp for temporary files /var so that log files and mysql DBs have their own disk /var/www for…
stivlo
  • 739
  • 3
  • 10
  • 24
1
vote
1 answer

NFS4 (TCP) over openvpn (UDP) - mount can be browsed, but D/L kills it

Setup works (client can browse nfs over openvpn and do some work and file transfers), but something is wrong because the NFS/OpenVPN mount will fail/freeze mid-transfer and (among other things) prevent the client from restarting. issuing #mount -l…
jojo
  • 23
  • 7
1
vote
2 answers

What's wrong with my mount? I am trying to mount and allow read-write

/etc/fstab /srv/www/test.com /home/user/test.com auto nouser,auto,rw,sync 0 0 I am getting the following error: mount: you must specify the filesystem type. Could someone please give me some insight? I am trying to mount a directoryA into…
Strawberry
  • 1,112
  • 4
  • 15
  • 27
1
vote
1 answer

Ubuntu, error 'cound't resolve host' when from curlftpfs fstab

I have problem with curlftpfs. When i mount it manualy everything works, but when I try to autmount via /etc/fstab, after reboot system stops on error 'Couldn't resolve host [my host name]. Line I added to fstab: curlftpfs#[username with @ escaped…
Luigi
  • 173
  • 5
1
vote
2 answers

Mount an NFS share as non-root in fstab

A tomcat server that is run as root (i.e. web app using port 80) needs access to an NFS share to store uploaded files, which the root account does not have access to. Unsurprisingly, when the web application attempts to store a file, a permission…
brass-kazoo
  • 178
  • 6
1
vote
2 answers

error when mounting nfs network-share in linux

I'm trying to mount a nfs network share in various OSs (ubuntu 10.10/10.10 server/11.10) but continually get the same error: mount.nfs: access denied by server while mounting 128.251.xxx.xxx:/Systems I have verified that I have nfs-common installed…
sadmicrowave
  • 143
  • 1
  • 9
1
vote
1 answer

Mounting an NFS Volume at Startup

What's the best way to mount an NFS share during boot?
Trent Scott
  • 949
  • 1
  • 11
  • 28
1
vote
1 answer

Fstab mounting fails at boot, but succeeds when invoked manually

Background On our development/backup server at my company we have 4 drives which are setup using software Raid 1, like this: Raid 1 (system disk): 2 x 320 GB Raid 1 (store/backup disk): 2 x 2 TB Forming 2 "virtual" disks. Now some people at the…
rzetterberg
  • 137
  • 3
  • 11
1
vote
1 answer

getting mounted drive accesable by user

so I have 2 external drives on a ubuntu computer, and the mount point in fstab is in my home directory. however, I seems to only be writable by root. heres the relevent fstab lines: /dev/sdb1 /home/henry/usb3hdd0 ext4 …
hintss
  • 123
  • 7