Questions tagged [fstab]
The /etc/fstab file contains static file system information. It normally contains an entry for each partition name or UUID that lists the mount point, filesystem type and mount options.
1,402
questions
2
votes
2
answers
5k
views
How to append a line to /etc/fstab via ssh [duplicate]
I have a hdd automount program written.
The software uses ssh in order to issue requests against the target machine.
The Idea is that a newly installed hdd is automatically added to fstab.
I have ...
2
votes
0
answers
69
views
Mounted Disk Issue
Please go easy as I am somewhat a novice in Linux.
I am running Ubuntu 20.04.2 and using it as a file server. I built it about a year ago and it has been working fine. This morning I rebooted the ...
0
votes
0
answers
833
views
How to mount a Microsoft Storage Space HDD to fresh Ubuntu installation
I have just upgraded my PC from Windows to Ubuntu, but am having some trouble accessing my HDD. The output of sudo fdisk -l is this:
Disk /dev/sdc: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
...
0
votes
1
answer
379
views
Adding Object Storage to /etc/fstab - Getting Parse Error
I have Ubuntu 20.04 on a cloud instance. This instance is on Oracle Cloud Infrastructure (OCI). I created there an object storage that I add manually using the following command
s3fs WTX-Cotton-bucket ...
0
votes
1
answer
2k
views
FSTAB Stopped Mounting CIFS SAMBA Share
Installed KUBUNTU 20.04 two weeks ago on my desktop. For the last two weeks fstab has been mounting my SAMBA share (hosted on a headless Ubuntu 14.04 LTS server) without issue. Now for some reason ...
0
votes
0
answers
311
views
USB hard drive fails to mount on boot
I have 3 identical make/model external hard drives connected by USB, and /etc/fstab looks like this:
[...]
UUID=1b83f30d-cb05-460f-ba98-50912a639330 /mnt/disk1 ext4 auto,defaults,nofail 0 2
...
2
votes
2
answers
289
views
fstab entry added by GUI Disks utility seems ill-formatted but works?
The Disks utility (gnome-disks) added this entry in /etc/fstab:
UUID=[UUID] [mount pount] auto nosuid,nodev,nofail,x-gvfs-show 0 0
Based on numerous examples and on info fstab, auto is where the ...
2
votes
1
answer
131
views
Ubuntu boots into emergency mode. ^D and other recovery options fail. How can I fix it?
From similar questions, I thought it would be useful to run blkid and cat etc/fstab for your reference to help me figure out what is going on.
blkid has only 1 entry: /dev/sda1 which is my HDD with OS,...
0
votes
1
answer
20
views
Power event caused read-only disk
Having regained access to the server, my services won't come up due to a read only filesystem...
I've attempted a few steps on other articles to no avail, specifically
sudo fsck -Af -M, mount -o ...
0
votes
1
answer
3k
views
CIFS ver 1.0 mounting broke after update
I'm using Ubuntu 20.04.3 LTS as Plex server, mounting NAS shares on a Netgear ReadyNAS Ultra 6 running RAIDiator 4.2.31 using CIFS ver 1.0 (highest that my NAS will support). Had to run "sudo ...
1
vote
1
answer
2k
views
How can I check if adding noatime to /etc/fstab was effective?
To prevent my SSD from unnecessary write accesses, I entered noatime under the mount options in /etc/fstab for the system and home partitions:
UUID=bla-bla-bla-1 / ext4 errors=remount-ro,...
0
votes
0
answers
361
views
CIFS share sometimes can't mount anymore
We have windows share that is accessed from both windows and ubuntu.
For ubuntu I added a mount based on cifs with /etc/fstab
//dfs/share /mnt/dfs cifs nocase,rw,cred=/etc/cifspasswd 0 0
Most of the ...
0
votes
1
answer
340
views
Fstab mounting fails when remote share is OFF
I have an entry in fstab to mount at boot a remote share which works fine when the local box boots finds remote box ON. The issue is when the local box starts and the remote box is OFF. The workaround ...
1
vote
0
answers
219
views
CIFS samba mount works from manual but not from fstab
hi I have a strange problem that I have been trying to troubleshoot. In Ubuntu 20.04.2 LTS I am trying to mount a samba share (NTFS usb drive attached to router) using cifs.
I can do this manually:
...
0
votes
1
answer
2k
views
"Steam library folder must be on a filesystem mounted with execute permissions" (ext4)
The relevant partition is ext4 and has my other operating system Arch Linux on it. I've tried so many different fstab configurations, but I just can't get Steam to accept it. Here's the relevant line ...
0
votes
0
answers
2k
views
Unable to boot after modifying fstab file 20.04LTS
I recently upgraded from 18.04 LTS to 20.04LTS and was attempting to modify it per a YouTube video. I changed the /etc/fstab file by adding noatime. before the word "errors" (per video ...
3
votes
0
answers
203
views
How to use accented characters in /etc/fstab?
I would like to mount an SMB share, so I added an entry in /etc/fstab:
//192.168.2.200/rendetlenseg /media/Rendetlenség cifs credentials=/home/<user>/.smbcredentials,uid=<user>,gid=<...
0
votes
0
answers
576
views
Mounted hard disk is missing
I have been using my Ubuntu 18.04 and I moved to 20.04 some months ago. I used 2 hard disks: one ssd for operating system and one for storage. The storage one was mounted in mnt and it was set to be ...
1
vote
1
answer
5k
views
Mount nfs at startup as specific user, and allow unmount?
I am using:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
$ mate-about --version
MATE Desktop ...
2
votes
0
answers
383
views
GNOME tracker loses all indexed files
I've recently installed 21.04 on an SSD with my personal files on a separate HDD formatted as exFAT so that it can be used by both Ubuntu and Windows on a dual boot system. This HDD is configured in ...
3
votes
1
answer
2k
views
Mechanisms that trigger `fsck` on boot
Question: Which mechanisms (other than the one in /etc/fstab) automatically trigger fsck at the boot?
Details: My computer currently runs Ubuntu 21.04 without any issues, it works properly. At the ...
0
votes
1
answer
92
views
CLI command works OK but same entry in/etc/fstab fails. Can anyone offer any assistance?
Ubuntu 20.04 on Dell Inspiron 3580. The CLI command
sudo mount -t cifs //192.168.1.67/ /media/NAS/storage -o username=Gord,password=Tpocpmoc99,uid=gord,file_mode=0644,dir_mode=0755,vers=1.0,nounix
...
2
votes
1
answer
2k
views
Mounting an unreachable CIFS results in slow login and other problems
I have a NAS that I mount via CIFS. My /etc/fstab:
//192.168.178.1/FRITZ.NAS/ /home/xxx/NAS cifs credentials=/home\
/xxx/.smbcredentials,vers=3.0,noserverino,uid=1000,\
gid=1000,x-systemd.automount,x-...
0
votes
1
answer
308
views
Mount USB floppy drive always at same mount point
I'd like to mount my USB floppy at the same mount point regardless of the disk.
The problem is that adding a line to /etc/fstab with the UUID doesn't work. I thought the UUID belonged to the USB ...
0
votes
0
answers
55
views
Problem with mounting File Systems from External Drives
some time ago I set up my Ubuntu to mount external drives always on the same mountpoint. To do that, I mounted according to the UUID, e.g. from my fstab:
UUID=b949cee0-9e93-44c1-b3eb-1857cf5c1167 /...
0
votes
4
answers
3k
views
rpi4 - Ubuntu 20.04.2 LTS - NFS drive not mounting on boot
I have been having an issue getting an NFS share to automatically mount on boot for a handful of rpi4's all running Ubuntu 20.04.2 LTS.
If I run a sudo mount -a the drive successfully mounts with no ...
0
votes
1
answer
316
views
My SSD Partitions are mounting as noexec, in defiance of fstab
I'm on 18.04, and my SSD partitions are mounting as "noexec" despite that "exec" is explicitly stated in fstab. This is happening both with NTFS and EXT4 partitions.
My FStab ...
1
vote
1
answer
4k
views
Mounting shares from Synology NAS persistent on boot up
Mounting shares from Synology NAS persistent on boot up
I'm using Ubuntu 20.4 with a Synology NAS that is accessible easily from Windows and Mac
I can mount the shares using the following command in ...
0
votes
1
answer
324
views
Unable to cd to iscsi mounted drive
I am new to the Ubuntu environment. I have been a RH user for 20 years.
In a new install of 18.04 in VMWare 6.5U3 environment, the server will store security camera data.
I've attached Synology ...
0
votes
0
answers
221
views
Avoid exit mode when a partition is not mounted
Everytime a HDD partition is not mounted with /etc/fstab due to errors, system halts on emergency mode.
I want my server auto check itself using fsck on emergency mode or avoid the emergency mode when ...
5
votes
1
answer
37k
views
How do I permanently mount a windows network share in Ubuntu?
I'm trying to figure out how to permanently mount a windows network share in Ubuntu. Can anyone help me with the required steps?
1
vote
1
answer
8k
views
Unresponsive when running `df` or `ls` in a Directory of Mount Points
On my Ubuntu 20.04 machine with multiple external hard drives connected via a 16-port USB 3.0 hub, all these drives are mounted into their own directories in a common parent directory /mnt/data. For ...
1
vote
0
answers
97
views
Dependency on hugepages - systemd
I have a service running on Bionic (18.04.5), which requires that /mnt/huge be mounted.
This service runs most often, but in some rare cases it fails and I see that the hugetlbfs
is not mounted on the ...
1
vote
1
answer
41
views
What is the simplest way to check that a filesystem is really mounted?
The simplest way to ensure that a filesystem listed in fstab is really mounted is to include the attribute _netdev in the relevant line. Unfortunately it doesn't always work! If the mount operation ...
1
vote
1
answer
2k
views
Unable to mount nfs share to /var/www in fstab
I am attempting to automount an nfs share on my server to my local machine using fstab. I have a few shares from the server that mounts on the local machine. I am sharing all the drives that is ...
1
vote
0
answers
99
views
Mounting NTFS drives previous in NAS
I have 2x 3TB hard drives that were previously in a Buffalo NAS and formatted in NTFS. I want to get rid of the NAS and move the drives into an Ubuntu machine, but I'm having trouble mounting.
Steps I'...
1
vote
1
answer
2k
views
Permissions when mounting a network drive
My setup is pretty simple. I have 1 Ubuntu 20.04 box that I'd like to connect to a network share (and have write permissions).
My issue seems to be that I'm mounting as Root but trying to access the ...
-1
votes
2
answers
40
views
my drive mappings have all gone away for some reason - i need help to restore them I really want them the same
my current fstab:
taichi:~:5014> cat /etc/fstab
# /etc/fstab: static file system information.
#
...
# <file system> <mount point> <type> <options> <dump> <...
2
votes
1
answer
2k
views
Mount a subdirectory from an already mounted drive with fstab
I have mounted an external NTFS HD at startup and want to bind a subdirectory to my ~/Documents folder. For this, I added the entries below to fstab, based on this answer:
# Local HD Mounts
UUID=...
0
votes
1
answer
13k
views
mount.nfs: Failed to resolve server /: Name or service not known
I'm trying to switch CIFS protocol with NFS in order to mount partition ( shared windows folder most likely , not sure ). I want to do this, because with CIFS I am required to use credentials , which ...
-1
votes
1
answer
73
views
Syntax help in fstab needed
I just added a external ssd-drive (USB) to my VM (Ubuntu 20.04).
Im trying to set it up as a XFS repository, and got the creation of A XFS partition (sdb1) in /sdb working. But i cant figure out how ...
0
votes
1
answer
6k
views
How to mount SMB share for multiple users
I have a proprietary NAS server than provides SMB services to access its content. The SMB protocol is stick to the V1.0 (can't changed that).
I also have a ubuntu 20.04 server than should access to ...
0
votes
1
answer
309
views
Custom mount hard drive on boot
I have a partition on my hard drive formatted as APFS. Linux has no support for APFS filesystems but I found the apfs-fuse driver which works fine for my needs (I only need read-only support).
I am ...
0
votes
1
answer
3k
views
efi system partition problem while upgrading distribution
I have dual boot win10/ubuntu-linux.
i want to upgrade my Ubuntu 20.04 to 20.10. but in process, i am getting an error that says:
Efi System Partition (ESP) not usable
I've tried:
sudo mount /boot/...
0
votes
1
answer
312
views
Can't mount replacement hdd to same spot?
I replaced my media hdd with a larger size and now I cant mount it to the same location as the old one /mnt/ultron
I have deleted the ultron directory and recreated it, I have tried using the disks ...
6
votes
2
answers
12k
views
Slow write speeds when writing onto USB flash drives
I am running Ubuntu 20.04 on an old Dell Optiplex 760 box and the transfer speeds while copying files to USB flash drives are quite slower than what they should be, furthermore, at the end of the ...
0
votes
0
answers
333
views
Long boot time, /etc/initramfs-tools/conf.d/resume not found
After I mount a hdd I am finding relatively long boot time on ubuntu 20.04.
On my PCI gen4 nvme, systemd-analyze
Startup finished in 10.499s (firmware) + 3.259s (loader) + 4.428s (kernel) + 8.384s (...
1
vote
1
answer
83
views
I can't figure out how to mount my drives properly
I am trying to figure out a way to mount my two drives correctly.
I am running ubuntu (20.04.2) and I can't seem to find a solution.
I installed the boot partition on my ssd and I also have a 4 TB ...
0
votes
0
answers
36
views
Old hard drive seen as allocated space
Old hard drive seen as allocated space
I have an old trusty 20.04 system and it's time to grow into a bigger machine.
The new machine is all set up with fresh 20.04 and bigger drives.
Everything looks ...
2
votes
0
answers
660
views
Reliably mounting permanently using SSHFS
I want to permanently mount a remote directory with SSHFS and I've used fstab to do this--but only to some success. The problem is that any downtime experienced by the remote server ensures that I'll ...