/etc/fstab is the configuration file which contains the information about all available partitions and indicates how and where they are mounted.
1
vote
2answers
20 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
56 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 ...
2
votes
1answer
55 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 ...
0
votes
0answers
13 views
Query an overlayfs
I'm looking for a way to query a mounted overlay filesystem [overlayfs] in order to check it's upper and lower dir but till now I didn' find any suitable command.
Please , someone in the list know is ...
4
votes
0answers
46 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 ...
3
votes
2answers
230 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
156 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) ...
3
votes
1answer
101 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
54 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]: ...
1
vote
1answer
26 views
Readonly in mounted partition's root
/etc/fstab
UUID=<someuuid> /mnt/data ext4 defaults,relatime,data=ordered 0 2
and
/mnt$ ll
drwxr-xr-x 2 manuel users 4096 15. Apr 18:25 data
/mnt$ mount -a
/mnt$ ll
drwxr-xr-x 4 root root ...
0
votes
4answers
540 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 ...
2
votes
2answers
4k 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
2answers
135 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
61 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
3answers
113 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
0answers
104 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
121 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
181 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
0answers
46 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 ...
0
votes
1answer
61 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 ...
1
vote
1answer
220 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
110 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. ...
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 ...
5
votes
2answers
208 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
117 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
2answers
127 views
What is 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 ...
0
votes
0answers
39 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 ...
2
votes
2answers
103 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
251 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 ...
0
votes
1answer
198 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] ...
1
vote
1answer
4k 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 ...
3
votes
1answer
133 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 ...
1
vote
3answers
132 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 ...
2
votes
1answer
211 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
1answer
1k 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 ...
2
votes
1answer
375 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 ...
2
votes
0answers
203 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
381 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 ...
4
votes
1answer
543 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
1k 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 ...
3
votes
0answers
201 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 ...
0
votes
1answer
226 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
1k 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 ...
1
vote
2answers
1k views
Fix fstab to prevent boot failure
How can I fix fstab to prevent boot failure?
It seems that I have added incorrect record to /etc/fstab:
//servername/share /mnt/share cifs defaults,username=myuser 0 0
When I did ...
3
votes
1answer
1k 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 ...
26
votes
5answers
7k 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
1answer
405 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
390 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
982 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
4answers
1k 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 ...


