Questions tagged [fstab]

fstab is a file on in Unix / POSIX systems that stores settings about where devices system startup are mounted.

Filter by
Sorted by
Tagged with
2 votes
1 answer
5k views

How can you execute files mounted via sshfs?

This does not work: $ touch testfile $ chmod 777 testfile $ ls -l testfile -rwxrwxrwx 1 quinn dialout 0 Apr 18 10:15 testfile $ ./testfile -bash: ./testfile: Permission denied $ sudo ./testfile sudo: ...
quinn's user avatar
  • 508
0 votes
0 answers
112 views

issue mounting LV to /tmp in RHEL

I tried mounting an LV to the /tmp directory and it has seemed to mess up my RHEL VM. To mount, I did the following: 1. Added following line to fstab: /dev/VolGroup00/lvol0 /tmp ext3 ...
user972276's user avatar
0 votes
1 answer
331 views

Having Trouble Mounting HFS Filesystem at Boot on Ubuntu Server

While the command "sudo mount -t hfsplus /dev/sdc1 /home/external3" mounts the hfs file system on the /home/external3 directory on my Ubuntu server, I don't understand how to get it to mount at boot. ...
user98496's user avatar
  • 733
0 votes
1 answer
4k views

How to mount a iSCSI/SAN storage drive to a stable device name (one that can't change on re-connect)?

We need stable device paths for our Twinstrata SAN drives. Many guides for setting up iSCSI connectors simply say to use a device path like /dev/sda or /dev/sdb. This is far from correct, I doubt ...
jcalfee314's user avatar
0 votes
1 answer
2k views

OpenSUSE "fstab" "mount" "An error occurred while accessing" "the system responded: mount: only root can mount"

Gentlemen, I trying to mount a network share at OpenSUSE's boot, when I try to access the folder where the share is mounted (using Dolphin) the system returns me the following error (edited): "An ...
Eduardo Lucio's user avatar
0 votes
1 answer
1k views

Why does this line in my fstab give me an "Invalid Argument" error

Here's the entry in my fstab that's giving me a mount error(22): Invalid argument error. //{address}/networkshare /mnt/pslive-netshare cifs umask=077,gid=1000,uid=1000,credentials=/root/.pslivecred,...
Nathan Jones's user avatar
1 vote
1 answer
233 views

Changing fstab options

What happens when file-system options in fstab are changed? Speaking of an already populated file-system, would changing options in fstab cause issues? For example, if one were to enable or disable ...
Itai's user avatar
  • 3,326
1 vote
0 answers
212 views

Cannot change options in mounting ntfs partition for rw

I need to mount a ntfs volume for read & write for a particular group of users, so I tried putting in this line in /etc/fstab: (I have also tried UUID but it was the same result) /dev/sda1 /...
user278690's user avatar
2 votes
0 answers
2k views

mount: / not mounted already, or bad option

Can't mount the system with data=writeback I've added ,data=writeback to fstab than fstab: /dev/mapper/vg-lv_root / ext4 defaults,noatime,discard,data=writeback ...
user2783132's user avatar
  • 1,837
1 vote
0 answers
67 views

Mounting a VBox shared folder as user [duplicate]

In my Windows host, I have an Arch linux VirtualBox guest. I setup a Windows folder as a shared folder in VBox. I then manage to mount the folder as type vboxsf in my guest (done in /etc/fstab), but ...
Gauthier's user avatar
  • 1,235
0 votes
1 answer
188 views

Login prompt does not appear after editing /etc/fstab

I am currently using CentOS 6.4. I've added 4 entries to the /etc/fstab to auto mount 4 disk. /dev/sdc1 /usr/bin ext4 defaults 0 2 /dev/sdc2 /usr/sbin ext4 defaults 0 2 /dev/...
Rabin Halder's user avatar
0 votes
1 answer
2k views

Mount NTFS dive with permissions set to 777

I need to mount a NTFS drive with permissions set to 777 on debian. The code i have in fstab now is: /dev/sdb2 /disk ntfs defaults,nls=utf8,umask=000,uid=1000,windows_names 0 ...
iThenrik's user avatar
2 votes
1 answer
565 views

Is it good idea to automount partitions on Linux?

I have three partitions: one ext4 for Linux and two ntfs partitions (one for Windows and the other for sharing data). I am really tired of mounting those separately. Is it good idea to edit fstab to ...
khajvah's user avatar
  • 748
1 vote
1 answer
540 views

Can I mount a (zip) archive in cygwin?

I do not see any example in http://www.cygwin.com/cygwin-ug-net/using.html#mount-table =
Val's user avatar
  • 1
2 votes
1 answer
2k views

Will the option NOATIME in /etc/fstab ruin my Unison synchronizations?

I read here in ArchWiki that the option noatime can improve hard disk performance and durability: The use of noatime, nodiratime or relatime can improve drive performance. Linux by default uses ...
Mephisto's user avatar
  • 241
0 votes
1 answer
1k views

NFS only gives user read access

I had NFS set up such that my RasberryPi had its Documents/ folder stored on my main Ubuntu system and it worked fine. I then made it such that the entire /home/raspi1 folder (note, not /home/ itself) ...
puk's user avatar
  • 717
1 vote
1 answer
942 views

automount usb disk after pluged

from the man page of fstab auto - file system will mount automatically at boot, or when the command 'mount -a' is issued. noauto - the filesystem is mounted only when you tell it to. However, what I ...
Chenming Zhang's user avatar
1 vote
2 answers
11k views

How to skip remote partition mount errors and continue booting?

I have an entry in my local machine's /etc/fstab to mount an NFS partition on a remote host: remotehost:/ /media/blabla nfs4 defaults,nobootwait 0 0 When I try to boot the machine while the remote ...
metakermit's user avatar
0 votes
1 answer
2k views

Change owner/group of a subdirectory of an fstab-mounted vfat partition

In all likelihood this is a repeat question, but I seem to be currently experiencing difficulties forming a search query to locate an answer. I have a vfat partition mounted to /data containing all ...
bosco's user avatar
  • 285
0 votes
2 answers
3k views

is it possible to mount hostname specific nfs share in /etc/fstab

I want to mount a hostname specific nfs Filesystem in /etc/fstab. 10.0.0.1:/testmy/<hostname> /nfs_for_host if there any Variable to do this ?
Rene's user avatar
  • 5
7 votes
1 answer
26k views

Mounting Directories with bind & different permissions

I’m running Ubuntu 13.04 & trying to mount a folder using bind in /etc/fstab. Shown below is one of many similar entries; /media/Storage1/test /media/Storage1/WebDAV/Alex none bind,uid=...
Alex's user avatar
  • 211
1 vote
0 answers
423 views

EC2 fstab and the best time to bind a directory

I have a server on aws that I needed to upgrade ubuntu from 10.04 to 12.04 to get the newer version of php. I ran several tests to see if my setup would upgrade and all appeared ok. However, I ended ...
Mark Parrish's user avatar
1 vote
0 answers
1k views

Create mount point on read-only filesystem for fstab to mount

I'm running TomatoUSB on a Broadcom-based broadband router. I have a busybox-style shell available to me. I'd like to have a partition on the attached USB hard drive mounted in /data under the root ...
Ryan's user avatar
  • 11
1 vote
0 answers
537 views

SMB share fstab entry won't mount but same options with 'mount' command will mount

I'm running into some problems when mounting my SMB share using the /etc/fstab file. Mounting the share with the mount command works just fine: mount -t cifs //hostname/dir /mnt/dir -o user=...
tzippy's user avatar
  • 454
0 votes
1 answer
2k views

How to umount file.tar.bz (that was mounted with archivemount) without needing sudo

As a regular user I mount my archive files with this: #!/bin/sh ARCHIVEF=$(zenity --file-selection --filename=/shared/); archivemount $ARCHIVEF /media/archivemount/ Unfortunately, sudo is required ...
MountainX's user avatar
  • 2,114
0 votes
2 answers
813 views

Can I automount /etc on a different partition?

This seems like a chicken-and-egg problem. Inside the /etc/fstab file on the root partition, can I specify a different partition to mount at the /etc mount-point, such as: /dev/sda6 /etc defaults ...
Josh's user avatar
  • 324
2 votes
1 answer
981 views

mounting share in fstab error

I've been successfully able to mount a share on my Ubuntu Server using this command: sudo mount -t cifs //IPTOSHARE/DriveLetter$/Folder/"Folder Space" /mnt/Folder/"Folder Space" -o username="",...
Benjamin Jones's user avatar
5 votes
3 answers
3k views

Mount hibernated Windows partition

I am trying to mount my Windows partition at boot. It works fine when Windows is in shutdown, but when Windows is hibernated, it can't be mounted as read/write, and I am sent to the root shell at boot....
BrtH's user avatar
  • 159
2 votes
1 answer
3k views

Mounting samba share from fstab

Currently I have 3 network drives I mount each time i restart my system. The command I use is: sudo mount -t cifs //192.168.1.8/ARES /media/Ares -o user=USER,password=*** sudo mount -t cifs //192.168....
Hydra IO's user avatar
  • 123
3 votes
0 answers
2k views

LVM volume activation before fstab mounts

I am trying to mount LVM volumes during startup of my Debian Squeeze system. Since for some reason, the LVM volumes / groups are inactive by default, they need to be activated before any mounting can ...
janoliver's user avatar
  • 183
0 votes
1 answer
6k views

Automount NTFS partitions in Linuxmint 14 KDE

I am trying to set an NTFS partition to be auto-mounted in Linuxmint 14 KDE. I have already added command in /etc/fstab file as below: /dev/sda1 /media/MyDrive ntfs defaults 0 0 After saving the ...
user avatar
4 votes
2 answers
2k views

How do I always mount the same drive to the same location?

I have Debian running on a laptop of mine, and an rsnapshot config that does a wonderful job of backing up incrementally to a 1TB external drive of mine. Unfortunately, sometimes the drive mounts to /...
rayhem's user avatar
  • 445
3 votes
1 answer
642 views

Cygwin fstab configuration issue

Can't quite see where I'm going wrong. Trying to replicate the command "mount c: /c" in my fstab file, similar to this question: Cygwin fstab - what am I doing wrong? Michael@Michael-PC ~ $ cat /etc/...
Mike H-R's user avatar
  • 752
0 votes
1 answer
1k views

LMDE with gnome 3 - Change automount options

I've got GNOME 3 on an LMDE machine and I need to change the automount options to mount without the noexec attribute for an NTFS partition. Does anyone know where I could find such configurations and ...
Auxiliary's user avatar
  • 395
7 votes
3 answers
2k views

Why Linux /etc/fstab UUIDs are case sensitive?

I recently added a line for a USB memory stick to /etc/fstab, to be able to mount it automatically, using UUID to identify the device. Before I already have several external ext4 drives that have ...
nrz's user avatar
  • 183
0 votes
1 answer
2k views

nfs /etc/fstab doesn't mount on startup: ubuntu / xbmc

I have an nfs share I'm trying to mount automatically at startup in ubuntu / xbmc I have the following in /etc/fstab nas:/mnt/raid /mnt/raid nfs noauto,rw,async On startup the mount doesn't ...
Steve Lorimer's user avatar
4 votes
1 answer
4k views

GRUB broken after conversion to btrfs

First off, yes, I did, in fact, suspect that changing my filesystem from ext4 to btrfs would break GRUB and fstab. Now, here's what happened. I converted the filesystem seamlessly to btrfs and that ...
Naftuli Kay's user avatar
  • 9,621
9 votes
1 answer
10k views

How can mount work with an empty fstab?

From the Arch Linux installation guide: The /etc/fstab file contains static filesystem information. It defines how storage devices and partitions are to be mounted and integrated into the overall ...
user1301428's user avatar
  • 3,375
22 votes
5 answers
56k views

Mounting ext4 drive with specified user permission

I want to mount a supplementary ext4 data disk drive with specified rwx permission for a certain user. The mount point is inside the home of such a user and it's owned by the user. I added the new ...
green69's user avatar
  • 321
6 votes
1 answer
7k views

Why is every file marked as an executable on my mounted NTFS partition?

I have edited my /etc/fstab file to include this line: /dev/sda5 /media/yannbane/Shared ntfs defaults,umask=007,gid=46 0 0 I did this so my dev/sda5 partition (labeled Shared) is automatically ...
jcora's user avatar
  • 1,862
0 votes
2 answers
133 views

How to execute programs on mounted partition

This is the aplication I want to run. -rwxr-xr-x 1 manuel manuel 582841 Nov 22 09:51 PromServerMain This is the fstab entry /dev/sda8 /media/data0 ext4 defaults,user 0 2 This is the mountpoint ...
ManuelSchneid3r's user avatar
1 vote
1 answer
3k views

Why does my Ubuntu Live USB stick always resets my modified fstab to "defaults"?

I made an Ubuntu Live USB Stick with the LinuxUSBDownload installer. The installer works great and also the well known issue of not unmounting the casper-rw at shutdown is fixed. :D The problem now ...
MinecraftBhil's user avatar
4 votes
1 answer
9k views

How to mount curlftpfs in fstab

How can I permanently mount a remote FTP directory in fstab with curlftpfs, so it will be accessible for the common users on the machine? I am using Linux Slackware.
user4035's user avatar
  • 893
1 vote
0 answers
478 views

Is it possible to automatically mount a hot-swappable drive when it is turned on?

In my PC, I have a hot-swap drive. Usually I keep it off to save power. I only really use it when accessing from another PC on the network. Is it possible to configure /etc/fstab to mount this drive ...
John's user avatar
  • 11
3 votes
1 answer
3k views

Which options to put in /etc/fstab for / partition? (ArchLinux)

I am installing ArchLinux and I don't know which options to put for the / partition in /etc/fstab. On ArchWiki they suggest defaults,noatime, but on my LinuxMint options are just errors=remount-ro ...
dac's user avatar
  • 31
1 vote
0 answers
158 views

Pysdm has disabled my ability to write to my storage partition

I have a dual boot setup with Windows 7 and Mint 13 Cinnamon. As well as their respective partitions, I also have a large one (NTFS) for storing all my music, videos, documents etc. I downloaded pysdm,...
Atlas's user avatar
  • 19
3 votes
1 answer
826 views

How to permanently mount ntfs drive in WUBI installation mode?

I have a Windows 7 installed as my primary operating system on my C:\ drive. I have another ntfs partition, D:. Ubuntu is installed using WUBI on C:\Ubuntu, which makes C:\ accessible through "/host"....
user1364136's user avatar
3 votes
1 answer
6k views

mounts not present in fstab. where are they?

my debian system is using tmfs for a few things, notably /tmp and it's using a rather small size for it. And it's nowhere to be found in my /etc/fstab i guess i could just add the entry in fstab and ...
gcb's user avatar
  • 4,941
6 votes
2 answers
32k views

mount cifs through fstab non readable/writable

I have FreeNAS server and domain-controller with Windows Server 2008. I use OpenSuse 11.4 and my Windows account have full access to FreeNAS CIFS share. I can connect through any filemanager with smb ...
ink's user avatar
  • 183
0 votes
2 answers
175 views

Mounting system directories from network

I was thinking about how to keep write access to my Raspberry Pi's root file system (residing on a SD card) at a minimum. Of course, /var is a primary candidate for being kept somewhere else. I have ...
DevSolar's user avatar
  • 4,490