Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [fstab]

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

1
vote
0answers
18 views

A USB drive appears to be unmounting randomly. How do I troubleshoot this?

I have a USB drive holding files for a Plex server. The mounted folder is also shared on my home network using Samba. Nothing has changed recently in either Samba or Plex's config. Lately, the drive ...
0
votes
1answer
60 views

How does mount use fstab to mount directories?

A coworker asked me to help mount a shared Windows 10 folder in an Arch Linux guest using VirtualBox. The system had been set up by another coworker who was out to lunch. The folder to be shared was ...
0
votes
0answers
56 views

SSHFS automount through FSTAB using Kerberos (GSSAPI)

Following from this Q&A, I have successfully installed and tested k5start to work with the Kerberos server of my university. My university uses a MIT Kerberos v5 server for authenticating tickets. ...
0
votes
1answer
98 views

mount ignores umask option in /etc/fstab for NTFS drive

I have a 1TB NTFS drive that I'm trying to mount using /etc/fstab at boot. The entry in /etc/fstab looks like this: UUID=0C6C7C9D6C7C82EE /mnt/ext1tb ntfs umask=707 0 2 The drive gets properly ...
2
votes
1answer
468 views

Slow hard disk write performance in Ubuntu 16.04

I'm using Ubuntu 16.04 LTS where the OS resides on a SSD. I also have three harddisks (3 TB, 3 TB, and 500 GB) and whenever I copy something from the SSD or another HDD to one of the three HDDs I only ...
0
votes
1answer
15 views

Content gets deleted from a mountpoint after reboot

I created a mount point in an existing setup with this command: mount -o loop /comptel and made an entry to /etc/fstab as well which looks like this: #tmpfs /comptel tmpfs defaults,loop,...
0
votes
0answers
240 views

First boot fails when mounting partitions

I am building a system using buildroot. It uses systemd. When I flash and start the system for the first time, systemd reports only one error: [FAILED] Failed to start File System Check on Root ...
0
votes
2answers
73 views

Recover/reinstall UEFI partition after dd to /null

Has you can guess from the tittle I'm a moron. I got angry against an USB key and try to format it's partitions with a dd and /null , but instead I deleted my sda1 and sda2 partitions. I realized ...
0
votes
1answer
471 views

Mount point permissions changing after `mount -a`

I am using my raspberry pi as a plex server and have having serious problems with one of the shared folder... Related to my Synology NAS All three are on my local network Synology NAS: "music" is ...
0
votes
0answers
27 views

How to Force fsck for all other non-root partitions

We have the following disks and there mount point: /dev/sdb /appTdb/sdc ext4 defaults,noatime 0 0 /dev/sdc /appTdb/sdd ext4 defaults,noatime 0 0 /dev/sdd /appTdb/sde ext4 defaults,noatime 0 0 /dev/...
1
vote
1answer
60 views

Broken Debian boot when trying to auto-mount an encrypted partition

I've made a quite thoroughly encrypted, balanced and well functioning filesystem with dm-crypt/LUKS/cryptsetup, but I made the mistake of leaving the home folder unencrypted when first installing ...
0
votes
0answers
41 views

EXT4 Journaling throughput

I am running a machine with a dedicated uninterrupted power supply, and i have no need for journaling data/metadata i wanted to know if i get more throughput/performance by disabling journaling or by ...
0
votes
0answers
334 views

disabling filesystem journaling on EXT4

just wanted to know other than the obvious data integrity does removing data journaling retain the filesystem as EXT4 ? i read somewhere that without journaling the filesystem reverts to EXT2/3 ...
0
votes
1answer
140 views

UUID fstab configuration in virtual machine ( VMware )

we have physical machines as HP or IBM blade machine and we set UUID in fstab on these physical machines but in case we use VM ( virtual machine , ) is it necessary to defines UUID in fstab on ...
0
votes
1answer
176 views

attempting to remove discard mount option

Im trying to remove the discard option from /system (/dev/block/sde21) when attempting this command tune2fs -o^discard /dev/block/sde21 returns "Invalid mount option set: ^discard" is there ...
1
vote
0answers
507 views

How can I auto-mount internal NTFS HDD to encrypted /home partition with fstab?

Summary: I would like to auto-mount an internal HDD in my user home directory using fstab, but am unable to do so. I am setting up a new Thinkpad development machine with dual-boot Windows 10 and ...
1
vote
1answer
1k views

Using noexec option in fstab

This link explains the benefits of using noexec option when using mount. However it lists one limitation - if I have a Perl/Python/shell script or a file that starts with #! and will try to execute it ...
3
votes
2answers
2k views

Automounting USB drives on a headless systemd linux box?

Approaches to auto-mounting devices in Linux keep changing, and googling returns quite a few solutions with various degrees of applicability for modern systemd-based boxes. The following approaches ...
1
vote
1answer
1k views

SSHFS mounting with FSTAB during boot (Linux / Debian)

Is there anyone out there who can help me try to "translate" this SSHFS command to a proper fstab-line? I already tried once and messed up with whole FSTAB and boot. sshfs user@remoteserver.com:/...
0
votes
1answer
342 views

Create CIFS mount read/write for multiple users in group users

I can't seem to figure this one out. Running on CentOS 7, I'm trying to get a CIFS mount working using my FStab file. //<ip>/downloads /mnt/downloads cifs user,gid=100,forcegid,rw,auto,username=...
0
votes
1answer
227 views

Mount a directory of another server on boot automaticaly

I have two Centos 7 servers and I mounted a directory from the 2nd server on the 1st one by SSHFS. And it works fine. but when I reboot the 1st server I need to mount the directory manually. What ...
4
votes
2answers
4k views

Disk mounted as read-only, but defined as read-write in fstab

I'm having an issue with my computer; I recently installed Deepin Linux, based on Debian, and I'd like to use my internal ntfs formatted HDD on it. I made an fstab entry to auto-mount it at startup, ...
0
votes
1answer
85 views

mount block device as /var/log during startup

I would like to use the ram block device to store the contents of /var/log folder. The ram-backed block device driver I used is the same one as in this link. This one creates the device /dev/rb. I ...
1
vote
1answer
639 views

How may I mount an external drive in fstab and give owbership to multiple users?

I mount an external drive on my Raspberry-Pi (Debian/stretch) and I mount my external drive in the fstab like this: UUID=1AD09862DC893951 /media/USBHDD1 ntfs-3g nofail,uid=pi,gid=pi,umask=007 0 0 ...
1
vote
1answer
558 views

Differences between symlink to /tmp and tmpfs

I'm trying to make a read-only file-system (Raspbian). One common way is to place some directory (that are to be writable) in a tmpfs. Example, I found some tutorials that suggest: rm -rf /var/lib/...
0
votes
1answer
778 views

Dracut Emerg Shell: Mount LVM2 volume

How can I mount a (LUKS encrypted) LVM volume in the dracut emergency shell? I made fatal changes to /etc/fstab that needs to be undone. I did cryptsetup luksOpen /dev/mmcblk0p2 crypthome and ...
1
vote
1answer
869 views

Swap partition on USB Stick

I created an additional swap partition on my USB stick and enabled it using mkswap. I'd like to have it available upon next boot by adding it to /etc/fstab. But since it's an external USB stick that ...
0
votes
2answers
538 views

fstab cifs share not mounting on reboot

I have a cifs share connectin a windows folder to a debian machine, however I cannot get it to mount on boot using fstab. I have the credentials stored in a file with 600 permissions. //192.168.1.72/...
0
votes
1answer
87 views

Ubuntu 16.04 server will not boot unless usb hdd removed

I am running Ubuntu 16.04 server with several external USB HDD drives. After adding the most recent drive, it will no longer boot into ubuntu, but only into a limited cli. If I remove the entry from ...
0
votes
1answer
1k views

debian machine mounting filesystem read-only

At work we have an old debian machine that I need to install security updates on, but the filesystem is mounted read-only. Unfortunately the guy who installed it has already retired and has not ...
1
vote
1answer
129 views

Automounting a virtualBox partition on RHEL - EmergencyMode at Boot

Question referenced: My virtualbox fstab will not auto-mount on reboot? I am trying to mount a vboxsf partition on RHEL7 at startup. mount -t vboxsf share /home/user/Windows works fine after i ...
2
votes
2answers
420 views

OSXFuse mounted directory ownership error with automount SSHFS

I am running on macOS Sierra and I am trying to configure auto-mount of external server's directory via SSHFS and osxfuse. However, every time the disk is being mounted, it is owned by root and normal ...
0
votes
0answers
588 views

SSHFS Mount using fstab is very slow

I am using fstab to create a sshfs mount. It is working but it takes 5-10 minutes until it's executed. Is it possible to do it right away ? What makes it so slow ? It's not about the speed of sshfs ...
0
votes
0answers
607 views

fstab mounts some logical volume as /dev/dm-0 dm-1 instead as /dev/mapper/VG…

I run Linux snore 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30) x86_64 GNU/Linux, with the following fstab: wr@snore:/etc$ cat /etc/fstab # /etc/fstab: static file system information. # # Use '...
0
votes
0answers
378 views

Why does cifs share show as used disk space on client

I have mounted a CIFS share on a Linux client machine. IF I copy 100MB of data onto the server, the client shows a drop of 100MB in disk space. Are the files on the server replicated to the client? ...
0
votes
1answer
291 views

Why is an /etc/fstab entry not automatically mounted?

I want to mount my QNAP windows shares as a share in Linux mint (18.1). I have created the following entry in /etc/fstab # Mount share from samba server //192.168.178.4/files /media/share/d cifs ...
1
vote
0answers
18 views

How do I get linux quotas to work?

I am trying to create a cap of 8gb per user on the /home dir. here is my fstab line. UUID=ebec6b82-1e9a-4b9a-9f36-eb3586f2f6a7 /home ext4 defaults,nofail,usrquota,grpquota 0 0 The /...
1
vote
1answer
2k views

Is relatime better than noatime on fstab for SSD?

A lot of tutorials says to use noatime on fstab when you have an SSD, but for me seems the relatime will works nicely. Some quotes: Add the "noatime" (or "relatime") mount option in /etc/fstab, to ...
2
votes
0answers
540 views

Linux can't mount a CIFS share with comma in path using /etc/fstab

I'm having problems mounting a CIFS network drive for use in an application I develop/maintain. The share path has a folder in it named , Employees as in Company/, Employees/Some data (the mapped ...
1
vote
0answers
292 views

Moving linux installation to another partition on same drive

I have followed these instructions to move my linux installation from /dev/sda5 to /dev/sda7. The copy things went perfect. I have edited /boot/grub/grub.cfg so that it boots from /dev/sda7 and it ...
0
votes
0answers
36 views

Re-mounting a live OS filesystem

I'm running Debian live on a USB flash storage device and I accidentally removed the drive. Now I keep getting input/output errors: bash: /usr/bin/xyz: Input/output error. The drive ...
0
votes
1answer
2k views

How to clear /dev/dm-0

I noticed /dev/dm-0 is using almost all my HDD space: $ df -h [...] /dev/dm-0 227G 207G 8,8G 96% / [...] I believe /dev/dm-0 is some kind of cache for mounted filesystem (It is the ...
0
votes
0answers
148 views

Permissions to folder are changed to ??????? after mount

I was trying to mount folders from one system to another using "mount" and the following configuration in /etc/fstab <systemX>:/h/shared /h/shared nfs rw,sync,user,auto 0 0 <...
0
votes
0answers
109 views

Why would a linux system mount partitions from fstab with one kernel config, but not another?

I have a linux ROM image made by Buildroot with BusyBox init and eudev. The image has an /etc/fstab, which mounts /dev/mmcblk0p1 at /boot, and /dev/mmcblk0p2 at /mnt/var.rw (the upper filesystem for /...
2
votes
1answer
3k views

swapoff failed: Invalid argument

I recently found that every time I shutdown/reboot my machine, there will be an logged error which says swapoff failed: Invalid argument. Jul 22 21:09:02 Frederick-Kubuntu systemd[1]: Stopping Update ...
2
votes
2answers
6k views

Reduce timeout value for “A start job is running for dev-disk-by” linux

My /etc/fstab intentionally has quite a few entries that point to (labelled) partitions and filesystems that may not be present at boot time (think: hotpluggable SATA backup disks). These entries ...
0
votes
1answer
411 views

VirtualBox Guest Shared Folder Ignoring umask

I have a folder on my host system (Arch Linux) which is being shared with an Ubuntu VirtualBox guest. Instead of using automount, I am mounting the folder at boot using the following line in my guest'...
0
votes
0answers
108 views

setuid not working on a script [duplicate]

I'm working on a RHEL 6.7 machine. I'd like to make a script which is owned by root BUT could be launched by other users. However I still want the actions inside the script to be launched as root. So ...
3
votes
1answer
190 views

fstab drive auto-mounted to wrong (non-existent) dev

I ran into a curious problem today. ls /media/Personal would yield ls: reading directory .: Input/output error. According to mount, that folder was mounted from /dev/sdb1. Yet according to blkid, I ...
0
votes
1answer
5k views

Why mount a folder to a folder in fstab?

I'm on an Ubuntu server with fstab like this: /dev/xvds /home/ubuntu/stuff auto defaults,nofail,nobootwait 0 2 /home/ubuntu/stuff /home/bob/things auto defaults,nofail,nobootwait,bind 0 2 I ...