/etc/fstab is the configuration file which contains the information about all available partitions and indicates how and where they are mounted.

learn more… | top users | synonyms

0
votes
1answer
854 views

Remove noexec from Home folder

I trying to deploy an rails application into /home/app/myapp, but when application tries to connect to Mysql, I get this error: ** [out :: 192.168.110.50] ...
3
votes
1answer
426 views

Does the (source) device in a tmpfs type mount mean anything?

I just went into /etc/fstab (Linux) and changed my line for /tmp (on which a specific ext4 partition was previously mounted) to tmpfs. This was clearly a bit silly, but I wasn't thinking. Anyway, I ...
2
votes
1answer
533 views

Error mounting drive with fstab

I have an small server in my house with an external usb 2TB hard drive: /dev/sdb1: LABEL="Data" UUID="eedc3098-221d-4800-b8b4-efa4fef23f5f" TYPE="ext4" I have the next line in /etc/fstab: ...
1
vote
3answers
390 views

Reset partitions numbers

I just decided to delete my Windows partition and only use Linux. My old partition table was: sda1: W7 boot partition sda2: W7 partition sda3: Linux sda4: start of logic partitions sda5: swap. I ...
7
votes
1answer
7k views

What is the difference between 'nobootwait' and 'nofail' in fstab?

In this question I asked what how to not make a media failure halt the system boot process. However, I got two suggestions for fstab options nobootwait nofail What is the difference between the ...
5
votes
1answer
2k views

Do not halt the boot if an fstab mounting fails

I have this line in my fstab: sshfs#ecarroll@o99:/opt/dealermade/ftp/inc /opt/dealermade/ftp/inc fuse defaults,idmap=user,users 0 0 For whatever reason it didn't work -- that's fine. How do I make ...
3
votes
1answer
385 views

Mounting USB camera on Ubuntu

I am quite new at Linux and I have to install this SwissRanger camera on Ubuntu. I am trying to follow their USB mounting instructions and I got stuck. From the instructions: Modify the usbdevfs ...
6
votes
1answer
500 views

HDD allocation fstab

In my PC running Ubuntu 12.04 LTS I have installed three SATA hard drives. Two of them are installed near a cooler. I want to physically switch two drives (one that is not near the fan should be moved ...
2
votes
1answer
9k views

Mount USB drive (FAT32) so all users can write to it

I have a USB FAT32 drive that is on /dev/sda2. I've mounted it as /media/bigdrive however, I get permission denied whenever I try to touch a file there as a non root user. When I run mount I can see ...
4
votes
1answer
1k views

Umount device after bind mounting directories: is it safe?

I have a home partition which is shared by mulitple distros on the same box. I'm using bind mounts from fstab. Each Linux install has something like this: UUID=[...] /mnt/data ext4 ...
1
vote
1answer
3k views

Should I run fsck on boot for an amazon ec2 image?

I have an Ubuntu micro instance running on amazon EC2. Recently after logging in I was alerted: *** /dev/xvda1 will be checked for errors at next reboot *** I've rebooted a couple times using init ...
4
votes
0answers
367 views

No access to symlink folder on NTFS partition

I am using an NTFS parition for storing data I like to access both from Ubuntu and Windows 7. On my Ubuntu HOME partition, I like to link the folder Assets in order to access it from an application ...
1
vote
1answer
331 views

Do I need ephemeral storage?

I was running a small instance on Amazon EC2. I'm trying to migrate it to a micro as it requires very minimal processing power. One thing I just learned though, is that micro instances do not come ...
3
votes
2answers
3k views

Mount a folder on a drive in fstab. Move?

I'd like to make a temporary change to my fstab file so that my /home is on another drive. However, I don't want the whole partition to be mounted, but just a folder ("home") on that partition. I'm OK ...
3
votes
2answers
7k views

How to fix boot failure due to incorrect fstab?

It seems that I have added incorrect record to /etc/fstab: //servername/share /mnt/share cifs defaults,username=myuser 0 0 When I did mount -a, it asked user password to mount network ...
4
votes
1answer
2k views

Why rootfs is mounted multiple times?

Here you can see two devices are mounted as root: $ df Filesystem 1K-blocks Used Available Use% Mounted on rootfs ...
5
votes
1answer
852 views

Partition not mounting from fstab

I have mounted a partition and add it to fstab file and then rebooted but I see that the partition is not mounted although it was added to fstab. What is wrong, and how can I solve it? fstab line: ...
5
votes
2answers
823 views

Why was fsck priority introduced in /etc/fstab?

Inside the /etc/fstab file, in the sixth column, there is a number that corresponds to whether a filesystem should be scanned for errors. Possible values are: 0 - skip 1 - high priority 2 - low ...
2
votes
5answers
1k views

sda and sdb block specials point to same device and get mixed up (hardware RAID doesn't work after new installation of 12.04)

I just installed the latest Ubuntu 12.04 and obviously it screws something up. I'm not sure if this has anything to do with the fact that I have a Raid 1 but at the moment, I have sda and sdb which ...
1
vote
2answers
4k views

Linux, fat32 and etc/fstab

I mounted a FAT32 drive onto my Linux computer using the following terminal command: > sudo mount /dev/sdb1 /media/exampleFolderName -o dmask=000, fmask=111 I did this so I could share / edit ...
1
vote
4answers
2k views

When to mount /tmp (and other temporary directories)

When is the right time to mount /tmp (on Debian)? For /home I would not feel bad just to echo "/dev/foo /home type defaults 0 0" >>/etc/fstab - but can I be sure that /tmp is not used by any ...
0
votes
4answers
893 views

UDF and fstab (no UUID)

In my search for the ideal filesystem to share files between a lot of computer with a lot of different OS'es I accepted this answer and installed a UDF filesystem on my USB stick. First I blanked the ...
0
votes
2answers
724 views

creating custom mount point in / for a file system

If I want to mount a file system at /myname is it possible by just editing fstab file? Or should I do more to be safer? Is any other way to do it, or its not a good idea to do?
4
votes
1answer
3k views

What is the difference between a symlink and binding with fstab?

In Eric Hammond's article Running MySQL on Amazon EC2 with EBS he shows how to add a second drive (/vol/) and then progresses to move mysql's config and data there. /sdh gets mounted as /vol by ...
0
votes
1answer
2k views

What is in fsck section in fstab?

I have a basic understanding of fsck utility but what does "fsck" section in /etc/fstab denote? It has values 0, 1, 2 what are these values? Googling says 0- it wont be checked 1- will ...
1
vote
2answers
3k views

How to make an ext4 file writable on mounting by a user (not root)

I have been trying to write onto a newly created partition My partition block is /dev/sda6 I am unable to write anything onto that partition. My Corresponding fstab file is this ...
4
votes
4answers
2k views

fstab not mounting a disk on boot

I'm running Arch Linux on a Macbook. I want to automatically mount my Macintosh partition when booting Arch, so I added the following to /etc/fstab: /dev/sda2 /media/Machintosh hfsplus defaults 1 2 ...
42
votes
5answers
21k views

Can I configure my Linux system for more aggressive file system caching?

I am neither concerned about RAM usage (as I've got enough) nor about losing data in case of an accidental shut-down (as my power is backed, the system is reliable and the data are not critical). But ...
4
votes
4answers
8k views

sshfs always asking for password in fstab?

I'm trying to enter an sshfs mount in /etc/fstab with the following line: sshfs#oli@192.168.0.2:/media/usb0 /media/ExtHD fuse defaults,nonempty,allow_other 0 0 So that this volume is mounted at ...
1
vote
0answers
1k views

/etc/fstab is mounting rw filesystem as read-only

A partition of my internal hard drive (not the root partition) I want to mount automatically on boot. I've been using /etc/fstab to mount my external backup drive automatically read-only, so this is ...
1
vote
1answer
492 views

config fstab file for a diefferent partition root directories

I have copied my /var /opt /usr directories to a newpartititon and now I need to configure the fstab file. That is the new partition content: drwxr-xr-x 6 root root 4096 Dec 20 12:16 opt ...
0
votes
1answer
414 views

LinuxMint, unable to set swap partitions to equal priority

I only recently realised that you can specify multiple swap partition, spreading them across drives. Well that's great for me as my desktop system often uses swap space and I have three different ...
3
votes
2answers
1k views

Linux Mint: drives' map changing at reboot brings fstab error

I've set up fstab to auto mount media drives on a Linux Mint machine. The OS is installed on a IDE/ATA Disk while 3 SATA disks hold data to share. The BIOS has the ATA disk as first boot device. All ...
2
votes
1answer
358 views

pmount - omit rules in fstab

How use pmount that it omit fstab rules? For example # fstab: /dev/sr0 /media/cdrom ... (etc.) # in terminal pmount /dev/sr0 /media/xxx # it will omit /media/xxx mount point and it will mount in ...
4
votes
4answers
2k views

mount ramfs as user

My fstab entry: none /home/jreinhart/ramdisk ramfs defaults,user 0 0 The directory before mounting: drwxrwxr-x 2 jreinhart jreinhart 4096 Oct 17 11:31 ramdisk The directory after ...
2
votes
1answer
572 views

Mounting Windows share on startup without storing password in plain text

I have the following in my /etc/fstab on a Red Hat 5 system: //share/folder /mnt/folder cifs username=<my username>,password=<my password>,ro,soft,nounix Can I replace this with ...
2
votes
1answer
535 views

How are NTFS drives handled by Linux? Nothing is in fstab yet it's automounted. Nothing in mtab yet it's currently mounted

I'm running Fedora 14 with the 2.6.35.13-92.fc14.i686 kernel and Gnome 2.32.0. I have a few NTFS drives that are mounted when I start up. However, there is no entry for them in fstab and nothing in ...
3
votes
3answers
938 views

Recommended fstab settings

I made a new partition for my home drive by following this guide I have no idea what the fstab setting it suggests mean: UUID=???????? /home ext3 nodev,nosuid 0 2 I ...
1
vote
1answer
1k views

Why is my fstab entry for an external USB drive not working?

I have an external USB drive which my system recognizes as /dev/sdb1. I want to have it automounted with 755 permissions on boot and shared over the network with samba. I created the mount point ...
6
votes
2answers
4k views

How do I add an entry in /etc/fstab for a windows share?

I want to be able to mount our file server's file share (on a Mac OS X server, shared via AFP and Windows File Sharing) on my Ubuntu 10.10 linux laptop. I want to be able to mount it as my normal ...