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

what are the folders in fstab without the device name or label or UUID

This is my /etc/fstab file on my CentOS6.6 : /dev/mapper/VolGroup-lv_root / ext4 usrjquota=quota.user,jqfmt=vfsv0,noatime,nodiratime,commit=120 1 1 UUID=5fde0497-7901-4de8-9516-f645e4fc9029 /boot ext4 defaults…
Armin
  • 25
  • 2
  • 7
0
votes
1 answer

Debian 8 Systemd fstab can't mount file system

Just upgraded to Debian 8. And system can't be booted because of this two lines in /etc/fstab: /dev/data/server/ /data ext4 defaults 0 2 /data/vmail /var/vmail none bind Don't know why systemd can't automatically…
kesrut
  • 121
  • 1
  • 9
0
votes
1 answer

Trouble with SWAP on AWS

I created an AWS m3.large instance. It comes with a single 32GB SSD. During the creation process, I added a second drive for the system. I picked the second drive for the system: xvda1 and the original 30GB drive, I loaded as xvdb. When the instance…
EastsideDev
  • 333
  • 3
  • 13
0
votes
0 answers

Preventing a read-write first automount after adding a VHDX onto a CentOS7 HyperV VM

I have a VHDX file (representing a non-boot ext4 fs) that I need to run some forensics on. I have a working CentOS7 HyperV VM on a Win2012R2 host. I want to attach the VHDX to the CentOS7 VM, which I know how to do. What I don't know how to do…
Kev
  • 984
  • 4
  • 23
  • 46
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
  • 285
  • 3
  • 13
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,670
  • 5
  • 34
  • 59
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,579
  • 8
  • 49
  • 66
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
  • 737
  • 2
  • 14
  • 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