/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
0answers
363 views

Not mounting after restart?

I am mounting a drive via SSH, and then editing the fstab to reflect the changes, however after I reboot, the drive doesnt mount? I dont understand what I'm doing wrong? This is my fstab and its ...
1
vote
2answers
1k views

[mntent]: line 15 in /etc/fstab is bad

it works fine mounting manually from the cli but when running sudo mount -a after editing the fstab im getting errors. It seems right to me, any one have a suggestion. my fstab is: # ...
2
votes
1answer
2k views

How do I mount an NTFS partition in /etc/fstab and prevent files/directories from receiving exec permissions when they're created?

I have an NTFS partition that I want to mount using /etc/fstab. I don't want any files to have executable permissions on this drive, so I wrote the following rule: /dev/sda2 /media/sharedfolder ntfs ...
0
votes
3answers
684 views

Automatically run kpartx during boot

I'm running Debian Wheezy on an SSD, and in addition I have two 500GB hard disks in Intel software RAID 0 (fakeraid). Both the SSD and the RAID array have GPT partition layouts. I have set up my fstab ...
0
votes
1answer
152 views

Altered fstab - no longer able to SSH or access http

I might have done something stupid on my person debian server - I altered the fstab file. I changed udev to dev to try to fix a mounting issue in /dev/sda1 but after I restarted the server, I cannot ...
0
votes
0answers
55 views

Boot disk unavailable

Background I've got one 32GB SSD that I have Ubuntu 12.10 installed on (this drive is encrypted), and two 1.5TB drives that will serve as storage and backup respectively. I have formated both drives ...
1
vote
1answer
4k views

UUID Of A drive that won't show up in /dev/disk/by-uuid or blkid

I have a USB drive that is not receiving a UUID. When I look at the contents of the /dev/disk/by-uuid it doesn't exist there. The dev point that the partition lives in is on /dev/sdb. I am able to ...
3
votes
1answer
286 views

How to mount some folders on a different partition

I recently got an SSD for my computer. Therefore I reinstalled my system and mounted / on /dev/sda1 (which is a partition on the SSD). To protect the SSD, I managed to mount /tmp on the RAMdisk. ...
8
votes
2answers
2k views

Can I include another file in fstab

Can I include another file in my fstab file? I.e. can I have fstab execute lines from another file at an arbitrary point, and then return to the main file when completed?
0
votes
1answer
346 views

What happens with /etc/fstab when using an initramfs?

I have a simple embedded setup as follows: x86 target, kernel and root file system built using buildroot. Syslinux is the bootloader configured to boot with an initramfs which points to a .cpio file ...
0
votes
0answers
45 views

Is setting up fstab like this dangerous? [duplicate]

Possible Duplicate: What is noload option do in fstab? UUID=fb2b6c2e-a8d7-4855-b109-c9717264da8a / ext4 auto,noatime,noload,data=ordered,commit=10,defaults 1 ...
0
votes
2answers
412 views

What does the noload option do in fstab?

I put UUID=fb2b6c2e-a8d7-4855-b109-c9717264da8a / ext4 auto,noatime,noload,data=ordered,commit=10,defaults 1 1 in fstab And now server fails to reboot. It can reboot ...
2
votes
2answers
192 views

How to understand this fstab?

This is my fstab: # # /etc/fstab # Created by anaconda on Sat Jan 12 02:12:44 2013 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), ...
1
vote
2answers
644 views

How should I fix my fstab

I got 2 partition I want to mount sdb1 which uses ext2 file system sdc1 which uses ext4 file system I added this 2 line on fstab /dev/sdb1 /home2 auto auto,noatime,default 0 0 /dev/sdc1 /home3 ...
4
votes
2answers
745 views

mounting local network folder in Ubuntu

I add a folder in /etc/fstab: //172.30.12.37/test/ /home/my/test cifs user=afs,pass=123456,auto,exec,umask=002,gid=1000,uid=1000,file_mode=0777,dir_mode=0777 0 0 Now test link can be seen in ...
0
votes
1answer
954 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
473 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
592 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
423 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 ...
9
votes
1answer
9k 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
2answers
412 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
514 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 ...
3
votes
1answer
10k 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
2k 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
404 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
338 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
4k 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 ...
4
votes
2answers
8k 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
3k 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
901 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
888 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
939 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
761 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 ...
43
votes
5answers
23k 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 ...
5
votes
4answers
9k 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
2k 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
525 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
431 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
375 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 ...