/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

1
vote
2answers
337 views

How to allow access to only one NTFS folder of already mounted partition for specific user?

I have two users: userA and userB. I have also NTFS formatted parition. Whole parition is only accessible to userA thanks to this in /etc/fstab: /dev/sda3 /home/userA/data ntfs-3g ...
3
votes
1answer
172 views

External ext4 drive unmounted after some time (Raspbian)

I am using BitTorrent Sync on my Raspberry Pi (Raspbian) which syncs files on the external hard drive (ext4). I wrote a small script that spins down the drive after 5 minutes of inactivity. As soon as ...
0
votes
1answer
2k views

how do I mount a CIFS share so I can fully control the mounted volume on the client

It's a simple question: but I am in much pain over this situation, so here is the question: How can I "mount" a share so that a) the share is run on boot b) that I can control things like chown/chmod ...
0
votes
0answers
47 views

Exporting Logical Volume to Mac for use as Time Machine drive

I have an Ubuntu server, and I have put a hard drive into this server. The logical volume on this hard drive looks like Device Boot Start End Blocks Id System /dev/sdb1 ...
2
votes
3answers
508 views

Safe to disable boot fsck on read-only ext3 file system?

I have a large, frequently read, ext3 file system mounted read-only on a system that is generally always hard power cycled about 2-3 times per day. Because the device is usually powered off by ...
3
votes
5answers
647 views

How to align fstab entries easily

Editing /etc/fstab with my text editor makes all the spacing go out of alignment. I could go through the file and insert/delete spaces to line everything up, but I'm looking for a more automated ...
3
votes
1answer
239 views

Mount NTFS drive with 777 permissions

I need to mount a NTFS drive with permissions set to 777. The code i have in fstab now is: /dev/sdb2 /disk ntfs defaults,nls=utf8,umask=000,uid=1000,windows_names 0 0 But ...
0
votes
0answers
110 views

fstab doesn't mount after boot of a virtual machine

I created virtual machine out of WordPress turnkey appliance (I believe it's based on Ubuntu) inside Virtual Box. I am able to mount a folder on turnkey from the host (Windows7) manually. So I added ...
4
votes
3answers
2k views

Does initramfs use /etc/fstab?

The way I understand it, initramfs is responsible for loading the "real" root filesystem. Now, there are two places where we define that root. First we put an entry in /etc/fstab. Second, we put the ...
0
votes
2answers
472 views

fstab mount drive as my /home

I am trying to: mount my 2TB external USB hard drive as my home directory at /home/peter ensure that the home directory is owned by me (not root) do all this automatically at bootup Currently: ...
2
votes
1answer
396 views

Is there any reason to move away from fstab on a systemd system?

I'm on an Arch Linux system, which means systemd. In systemd there are native unit files for mountpoints, with the extension .mount. I've always just used /etc/fstab, which never gave me problems ...
1
vote
1answer
76 views

How to enable quotas in the fstab file?

I want to enable quotas. My fstab currently has: # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc ...
5
votes
1answer
117 views

mount options for bindmount

Due to some complex requirements, I had to put the following two lines in /etc/fstab: /dev/xvdg1 /srv/storage ext4 $OPTIONS1 0 2 /srv/storage/dir /var/opt/dir none bind,$OPTIONS2 0 0 ...
2
votes
2answers
150 views

What is loop0 and how do I e2fsck it?

EXT3-fs (sdd1): using internal journal EXT3-fs (sdd1): mounted filesystem with ordered data mode EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: EXT4-fs (sdb1): mounted filesystem ...
1
vote
1answer
2k views

Can fstab options uid and gid be the user-group name or must they be numeric?

I'm learning how to set up a tmpfs in fstab for my www-data user and I was wondering if I can use the actual user/group name instead if the numeric ids (personal preference)? I'm on Debian with ext4, ...
2
votes
2answers
1k views

understanding /dev/disk/by- folders

Question: What does /dev/disk/by-pathdescribe? And where is this documented? Going through the meaning of what is displayed in the folders /dev/disk/by- I've got that far, and I wonder is this ...
1
vote
1answer
1k views

Finding correct information to update mtab and fstab?

Is there an automated way to update my mtab and fstab? Or a command I can run so that I can copy the output into these files? I'm just nervous about tampering with these files because I know they are ...
2
votes
1answer
337 views

EBS Volumes Mounted On Wrong Directory After Reboot

I have three EBS RAID 10 volumes in my /etc/fstab on an Amazon AMI hosted with AWS/EC2... Everytime I reboot the instance, the volumes get mounted to the wrong mount points. Any ideas on how I can ...
3
votes
1answer
786 views

How to mount two windows shared folders in linux?

I'm using OpenSuse 12.2 x64. I have tried this in /etc/fstab: //192.168.6.80/shared/folder1 /mnt/folder1 cifs rw,user=guest,password=,uid=1000 0 0 //192.168.6.80/shared/folder2 /mnt/folder2 cifs ...
0
votes
1answer
806 views

Gentoo mounting root as read only, why?

I just did a Gentoo fresh install but when I boot it the root filesystem mounts as read only. Once I login I can remount it with mount -o remount,rw / but it's not even recognizing my hostname. ...
3
votes
1answer
132 views

Bootup prompt for ecryptfs password

Is it possible to setup ecryptfs mounts to prompt for password upon bootup? Say for example /home and /var are ecryptfs folders that need to be mounted; how do I force a prompt upon bootup to ask for ...
1
vote
3answers
3k views

How to mount aufs file system on boot in archlinux?

I want to use aufs to combine a few disks.I am able to mount the aufs file system using the mount command from the command line. However, when trying to mount the same through an fstab entry, it ...
3
votes
1answer
157 views

I need an fstab example for archivemount (want to umount without my password)

I am using archivemount to mount one of several tar.bz files in Ubuntu. It works very nicely for me. I mount and umount frequently (I'm in a testing phase). I want a solution that will allow me to ...
0
votes
2answers
459 views

Mounting a drive and accessing it

I have created a partition on /dev/sdb I want to be able to go to this drive when I type: cd /name What I did, which did not work. mkdir name in /mnt mounted the /dev/sdb on /mnt/name updated ...
1
vote
3answers
586 views

NFS server dropped connection momentarily, now df, ls, and umount all hang

I have this fstab entry: machine.local:/srv/files /res/files nfs defaults 0 0 It was working great until machine.local dropped the connection momentarily. Now, the share isn't accessible. df, ...
2
votes
5answers
742 views

Moving /etc to separate partition

How to put /etc on separate partition? Obviously i can't do that by editing /etc/fstab like i did with /home, because... it's in /etc. I want /etc and /home on one partition (sda7), and the rest on ...
3
votes
2answers
703 views

Option “user” work for mount, not for umount

I am experimenting mounting options for a program I am writing. I am running Linux Mageia 2. I added the following line to /etc/fstab /dev/sr0 /mem auto user,noauto, 0 0 and I removed all other ...
5
votes
1answer
604 views

btrfs and the discard mount option on an ssd

I can't seem to find an answer to this so I thought I would ask here: In /etc/fstab and when using the mount command in ext4 you would add the option discard to activate TRIM on an SSD. Similarly ...
1
vote
2answers
83 views

mount defaults and various filesystems

I read on the man page defaults Use default options: rw, suid, dev, exec, auto, nouser, async, and relatime. Do the options set depend on a mounted filesystem or not?
2
votes
2answers
698 views

group option in fstab not working

I'm trying to take advantage of the "group" option for fstab entries and not having any success. From the mount man page: Normally, only the superuser can mount filesystems. However, when fstab ...
4
votes
1answer
1k views

Debian: Mounting NFS Volume at boot with fstab not working, How to change when this is attempted on boot

So there are a bunch of NICs and vlans on the server and after adding the last ones the auto mount of a network volume is not working. I can do it all right if i SSH in and use mount however it doesnt ...
3
votes
2answers
627 views

Error mounting drives

I am not able to mount the disk. It is showing error. Error mounting system-managed device /dev/sda3: Command-line `mount "/media/tusharmakkar08/Local"' exited with non-zero exit status 1: [mntent]: ...
0
votes
1answer
2k views

fstab not mounting VirtualBox shared folder?

I have a virtual machine here which I use for development, so as not to mess anything up in my existing environment. I've made a share named "web" available to the guest OS (Ubuntu 12.10 Server) ...
1
vote
2answers
643 views

Mount a folder without noexec

Is it possible to mount a single folder without the noexec option. I have a situation in which a web app in the users home folder on the server has to be mounted without noexec to run correctly, ...
4
votes
1answer
241 views

how to prevent reboot being stopped by nfsmount?

I can't imagine there isn't a simple strategy to solve this issue of stale nfs handles preventing a machine from shutting down normally, but I'm not sure what that would be. It's pretty annoying to ...
0
votes
0answers
337 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
643 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
140 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
3k 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
275 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
1k 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
319 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
382 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
179 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
607 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
668 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 ...