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

Faulty /etc/fstab preventing Proxmox boot

I've added a single entry to a /etc/fstab: mount //sambashare /media/sambashare Running mount -a worked just fine, I could access all the files. However, after a reboot, I'm faced with this error: etho0 is in forwarding mode Waiting for vmbr1 to…
doque
  • 207
  • 3
  • 7
0
votes
1 answer

Mounting fails with fstab

I am trying to create a mount point that remains persistent on reboot by adding the following line into /etc/fstab /ownCloud/admin/files/Website\ Backups/ /home/example/Backups none bind 0 0 This is the command I run to mount it manually mount…
0
votes
0 answers

Mounting a webdav share to its original Linux server

Ok, so normally, a server provides a webdav share, and that can be accessed by mounting it on some other computer. What I want to do is to mount it (permanently) not elsewhere, but on the actual Ubuntu server that is providing it. My questions: Is…
Ben Opp
  • 247
  • 4
  • 12
0
votes
0 answers

Ordering mount --bind and OpenVZ start on boot

I am using mount --bind to share some directories/files between containers. My issue is that on root server boot, the containers are started, but these mounts are not yet mounted. Some of the services can't start and I have to manually restart all…
Vojtěch
  • 275
  • 3
  • 11
0
votes
2 answers

cloud-init on AWS: mounts disappear after imaging and rebuilding

I'm using cloud-init to automatically prepare an AWS image (AMI) for use in a production environment - that way I can have the environment setup process tracked in a source control system, but I can skip that lengthy process when I need a new…
Guss
  • 2,520
  • 5
  • 32
  • 55
0
votes
2 answers

partition turned read only after mysql crash

I am not able to write on a particular partition. The mysql data directory is hosted on that partition and it suddenly became read-only when mysql crashed on a query. [root@ESERVER new_dir]# > /data/test.txt -bash: /data/test.txt: Read-only file…
shantanuo
  • 3,459
  • 8
  • 47
  • 64
0
votes
1 answer

CIFS volume not mounting automatically

My CIFS volume is not mounting automatically while boot (like other partitions). This is relevant part of my /etc/fstab: //leonidas/files /media/photos cifs …
amorfis
  • 687
  • 2
  • 13
  • 31
0
votes
0 answers

cifs mount not working using fstab on RHEL6

I had a line in my fstab file that until this morning allowed me to read and write to a windows share (dummy IP address is shown below) //111.111.1.111/ecc /mnt/nas2 cifs…
0
votes
1 answer

Replacing a static mount with AutoFS

My /etc/fstab looks something like this: files:/var/files/emails /var/www/emails nfs rw 0 0 files:/var/files/images /var/www/images nfs rw 0 0 My /etc/auto.master looks like this: /net /etc/auto.net I am kinda lost after this. What do I need to…
Jason Christa
  • 622
  • 4
  • 11
  • 21
0
votes
1 answer

Network filesystem won't mount at boot

We are running a lab network with a centralized file server. I recently installed Linux Mint on a new client computer and set up LDAP for user management and network folders through the fstab. When booting, the login screen appears and accepts users…
Markus
  • 200
  • 1
  • 2
  • 13
0
votes
2 answers

how to mount additional space to existing partition?

This is the original output of fdisk -l: Disk /dev/sda: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1…
User
  • 277
  • 1
  • 3
  • 9
0
votes
1 answer

Mounting device in fstab using labels

I'm trying to mount a device using a label in my fstab but it never actually mounts on boot. # LABEL=/ / ext4 defaults,noatime 1 1 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts …
VinnyD
  • 157
  • 5
0
votes
3 answers

How to disable barriers?

It seems impossible to disable barriers. I have tried loading the kernel with "mount -o barrier=off", "mount -o barrier=0", "barrier=off" and "barrier=0". The kernel is Atomic Secure Linux 2.6.32 with CentOS 6.2 (now 6.3). Anywhere from 20 min to 4…
Gaia
  • 1,777
  • 4
  • 32
  • 58
0
votes
1 answer

tmpfs changes size on restart

I have a tmpfs mount defined in my /etc/fstab with a size of 1024m, but when I restart the server it sizes itself to 5.9G. If I run mount -o remount /dev/shm, the size will correct itself to 1G. But it'll revert the next time the server is…
ben
  • 189
  • 1
  • 1
  • 8
0
votes
1 answer

Read-only filesystem after adding userquota,groupquota to fstab

When I add option userquota,groupquota to the main (/) partition of my Debian 6 DirectAdmin server, it mounts that partition in read-only mode. Wat I did: nano /etc/fstab add userquota,groupquota after errors=continue in the 'options' column to…
George Boot
  • 153
  • 1
  • 1
  • 5