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
0
votes
0answers
17 views

alpine diskless install mount ext4 with specified user and group permission

How can I mount an ext4 formatted disk on startup with a specific user and group on an diskless Alpine installation? When I mount the disk and change the user and group with chown and chmod it is not ...
0
votes
1answer
10 views

mounting a RAID in /etc/fstab

Hi I have a raid mounting in /etc/fstab /dev/md/debian\:0 /home ext4 defaults 0 0 but if I do mount -a It gives me error mount: /home: special device /dev/md/...
0
votes
0answers
30 views

btrfs volume in fstab fails to boot with compress-force

in my fstab, the btrfs volume boots with no problem when the option set is compress=zstd:15, however, as soon as i set it to compress-force=zstd:15, it fails to boot because of a failed dependency ...
1
vote
1answer
20 views

Selectively mount network drives for non-root users

How should one specify different mounts for different users? The simplest use case is, that different users have their own dedicated storage space in a server (NFS or CIFS), what only they can access. ...
0
votes
1answer
41 views

Overriding udisks2 /media/$USER/mount with custom fixed mount point for specific volume, under Debian Buster

I am using Debian Buster, 10.7, and I am relatively new to udev/udisks2/systemd and have been making a effort to get to know them better and have learned quite a lot, though I cannot seem to figure ...
1
vote
0answers
52 views

Mounting an AFP share over/to ~/Pictures, possible stale share issue (Mac OS X, Big Sur)

I'm trying to over mount an AFP share onto ~/Pictures, and it's not quite working for some reason. Useful information: I'm using AutoMounter (Pro features enabled, full-disk access granted via System ...
0
votes
0answers
19 views

How to set the default group, file permissions, and folder permissions, for an ext4 mount point?

I have an ext4 disk/partition on my machine and I want to make it so, by default: All files/folders have the group set to groupA All files have: user permissions rw group permissions rw so folks in ...
0
votes
1answer
42 views

Mismatch between /etc/fstab and /etc/mtab

I have a mismatch between /etc/fstab and /etc/mtab. # cat /etc/fstab # /etc/fstab: static file system information. # # <file system> <mount pt> <type> <options> &...
0
votes
1answer
10 views

Do fstab options have to be the same for backup server?

I have two small Ubuntu servers in remote locations backing up data to each other. I'm trying to troubleshoot a problem, and someone suggested my filesystems might be incompatible, and to check fstab ...
0
votes
0answers
24 views

Restore fstab with correct UUID so that I can boot with crypto_LUKS partition

I ended up with this error upon boot: Welcome to GRUB! error: no such cryptodisk found. error: disk 'cryptouuid/6e0637...' not found. Entering rescue mode... grub rescue> _ And when I boot live ...
0
votes
1answer
12 views

What are the configs to change after you decrypt a LUKS encrypted partition?

I just decrypted my root partition encrypted with LUKS2. But the fstab still shows the root with the /dev/mapper/secret entry with a different UUID than the partition. Do I have to generate the fstab ...
0
votes
1answer
76 views

Fstab: Set permissions of subdirectory

So I have this in my /etc/fstab: UUID=B6C6ECB5C6EC76D1 /windows ntfs-3g defaults,uid=1000,gid=1000,permissions 0 0 My ssh-folder is in this partition, as a result I need to set the ...
0
votes
1answer
31 views

How to write -o permission into /etc/fstab?

Set usermap. sudo ntfsusermap /dev/sdb2 #assign user as www-data #assign group as www-data Mount ntfs partition /dev/sdb2 with /mnt/winntfs. sudo ntfs-3g -o permissions /dev/sdb2 /mnt/winntfs Now ...
1
vote
0answers
1k views

Remove noexec from /tmp permanently

From a cloud provider I received a RHEL 7 VM which has noexec set on /tmp. [user@myserver]mount | grep /tmp tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noexec,seclabel) /dev/mapper/SystemVG-var_tmp on /...
0
votes
1answer
79 views

SSH mount via fstab fails because of root ssh passphrase

At work, we have a dev environment I want to mount so I can work on it locally on Arch with i3 (Manjaro i3). I have SSH and an SSHFS mount set up on my devenv which runs without issues, along with ...
0
votes
1answer
103 views

How do I mount a filesystem without the mount point changing owner to root?

I have two samba shares on a remote server (Debian 10, stable) on my home network. On my laptop (Debian 10 stable), I would like to automatically mount these shares to my local filesystem tree. To ...
0
votes
0answers
29 views

systemd / udisksd ignores /etc/fstab for mounting a Kindle as a mass storage device

For a Debian 10 machine, I have /etc/fstab set up like this for USB mass storage things: /dev/sdc1 /flash auto user,noauto 0 0 /dev/sdd1 /flash2 auto user,noauto 0 ...
0
votes
0answers
32 views

Read only file system error and Input/output error very frequently in Centos 7

command :cd       -bash: cannot create temp file for here-document: Input/output error  command :sudo reboot     -bash: cannot create temp file for here-document: Read-only file system This is the ...
0
votes
0answers
19 views

automounted btrfs disk array is mounted twice, in both /mnt and /media

I'm configuring a new ubuntu20.04 machine, otherwise vanilla, with an existing disk array: 3 disks, btrfs-in-luks (no LVM), raid 1. via crypttab/cryptsetup and fstab I have it set up to mount in /mnt/...
0
votes
1answer
8 views

x2darray.mount systemd automount unit

I am trying to develop a better understanding of how luks [auto]decrypting and fs [auto]mounting operate under systemD, based on observations as I work through some issues setting up a replacement ...
0
votes
0answers
43 views

Random LUKS disks won't mount after adding new disks

I have a JBOD array of disks running on Ubuntu 18.04. For the sake of not having to deal with wiping them if/when fail they are all an XFS partition within a LUKS container. In /etc/crypttab I have ...
1
vote
1answer
907 views

mount: /oldssd: special device /dev/sda2/ does not exist (a path prefix is not a directory)

Today my new SSD arrived from Amazon. I installed the SSD and Fedora 31 onto it. I still have my old ssd plugged in. When I try to mount it by the path /oldssd I get error mount: /oldssd: special ...
0
votes
1answer
312 views

Mounting zfs network shares in Ubuntu LTS 20.04 using cifs- mount error(2): No such file or directory

I have 3 Thecus NAS servers: a N5500 (Firmware: 5.03.02), a N5200XXX (Firmware: 5.03.02), and a N5550, (firmware 2.06.02.5.cdv) each configured as RAID 5. The N5500 and the N5200XXX are using zfs and ...
0
votes
0answers
55 views

Sharing a partition between Arch & Ubuntu

I've just installed Arch linux to go alongside Ubuntu, and I'm having some trouble sharing a partition between the two. I've created it in both distros' fstabs, looking like this: UUID=<uuid> ...
0
votes
1answer
78 views

Can't get /boot partition to function, installing debian from host machine: Arch linux

I am trying to be a better Unix user. I want to dual boot my arch-linux virtual machine with Debian. I am using VirtualBox. I am installing Debian through the arch-linux environment (https://www....
0
votes
1answer
108 views

fstab configuration: How to run automatic fsck scan on external harddrive at boot and automate backup to external hard drive

I have an external hard drive (type ext4) to which I make a daily backup of my /home folder and postgresql database via an anacron script. I have run into two problems: 1.) When the computer (Ubuntu ...
1
vote
2answers
2k views

What is the difference between mount -a and mount -o remount /dir?

I have created a new filesystem and mounted it : mount /dev/sda5 /dir Then I added the information about it to the /etc/fstab file so that the filesystem is always mounted at the boot process. ...
0
votes
2answers
152 views

Locked out of Debian embedded device after mistake in fstab

I am working with an embedded Linux device with Debian 9 installed. The device has an internal storage and the option to extend the storage with a sd card. I want to use the extra sd card for ...
8
votes
1answer
8k views

How to delete system apps in macOS Catalina?

It looks like changes Apple has made in macOS Catalina make it harder to delete system apps. I upgraded my work computer to Catalina today (standard Mac mini), and with it came some new (and some old)...
1
vote
1answer
106 views

how to fix broken fstab that causes / read-only on remote VM?

I broke my fstab by a multi line paste of commands on an AWS ec2. by some sort of miracle, the os still boots. output of mount: ec2-user@host:~ $ mount sysfs on /sys type sysfs (rw,nosuid,nodev,...
0
votes
1answer
87 views

Skip mounting of nfs after three attempts

I am using RHEL 6.5 in my company and using a file server(NFS). I have put a mount point address to file server in the client's fstab file like this 10.9.9.25:/opt/Files /opt/Files nfs ...
0
votes
1answer
458 views

NFS Mount works manually, but fstab entry fails

using the command sudo mount 192.168.1.120:/complete /mnt/complete works fine, and I can now see the network files in /mnt/complete. But if I add the exact same command (minus the sudo) to /etc/...
0
votes
0answers
191 views

Linux fstab cifs NAS mount shows empty folder

I am trying to mount my Nas in my home directory. This is also no problem at first, but when I restart my laptop Linux mounts it as a network, but the folder is empty. It also only shows the available ...
0
votes
1answer
95 views

FSTAB configuration issue

I have a partition /dev/xvdb which is formatted as ext4 When I try to mount using the below command, it works: sudo mount /dev/xvdb /mnt/app But I want it to mount automatically. So I made the ...
1
vote
2answers
361 views

I can't sudo apt upgrade

I have a new installation of Linux Mint and I cant run apt upgrade without getting this response. How can I fix it? Sorry that it's in german. me@mypc:~$ sudo apt upgrade Paketlisten werden gelesen.....
0
votes
3answers
5k views

no UUID for partition when partitioning new disk

I am working on partitioning a new disk, on which nothing is stored yet, so I also need a completely new partition table etc. To try doing this I first made a gpt partition table and then assigned all ...
0
votes
2answers
176 views

Why is /dev/sdxy not recommended when using fstab?

I was reading fstab documentation and they mentioned it is not recommended to use /dev/sdxy in fstab Device : /dev/sdxy (not recommended) I use the same method to mount my hard disk every time. I ...
1
vote
1answer
489 views

Changing file permissions after mounting with fstab

I want to mount a drive with following default permissions: files: -rw-r--r-- folders: drwxr-xr-x owned by default user/group (1000) Which lead me to this fstab entry: UUID=XXX /media/drive ntfs ...
0
votes
2answers
674 views

fstab noauto, but automatic if you click on folder

I have a notebook here and network shares. Normally I would want to get them mounted on boot, but this wouldn't be so good on a notebook which isn't allways connected to the right network. So I put an ...
0
votes
1answer
995 views

Wait for a specific network to be up before mounting in /etc/fstab (multiple interfaces)

I want to mount a samba share from my NAS on /mnt/Media on boot via cifs. I already added an entry to /etc/fstab (incl. _netdev option). The connection to the NAS is a separate point to point ...
1
vote
1answer
38 views

Mounting USB drive at boot up on a virtualized instance of fedora

I am running Fedora inside of a Type 1 hypervisor(ESXi). In the VM's settings, I am making 2 USB devices available to it, both are of the exact model and storage capacities, however, one is named "AZS"...
0
votes
0answers
96 views

RAID card overwrites disk's filesystem signature - and fstab can't mount it

I have a RAID card (Sil3124) in an Ubuntu 18.10 machine. I want to connect independent disks (ext4) to it. After connecting, I find an entry in lsblk with FSTYPE = silicon_medley_raid_member (the ...
0
votes
1answer
675 views

CIFS mount from fstab not working

This method used to work with RHEL 5, and 6, so I used to just add this Line in /etc/fstab: \\192.168.1.50\V$ /mnt/N cifs user,uid=500,rw,suid,username=Administrator,password=password 0 ...
1
vote
0answers
71 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
785 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 ...
1
vote
1answer
733 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
3k 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
217 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
2answers
103 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
2k 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 ...

1
2 3 4 5