Questions tagged [fstab]

/etc/fstab is the file in UNIX/Linux systems that defines file systems that are mounted on boot or available to be manually mounted.

/etc/fstab is the file in UNIX/Linux systems that defines file systems (independent directory trees) that are mounted on boot or available to be manually mounted.

66 questions
1
vote
1 answer

sudo mount -t ntfs complains about not being in fstab only when done from bash

I have no problem with sudo mount -t ntfs4 server/drive /home/larry/folder but when I put this in a bash script it complains about not being in fstab. Can someone please help me here? Here is the complete script. It allows me to mount or umount the…
Larry
  • 23
  • 5
1
vote
1 answer

Bucket uploaded file not shown in all mounted VMs

I have a Google Cloud Storage Bucket which is mounted to 3 virtual machines using fstab. When I upload a file from another machine to google bucket using gsutil command, the uploaded file is accessible from only 2 vms (Set A). The other vm (Set B)…
Shadhini
  • 43
  • 6
1
vote
1 answer

Not able to mount directory after updating fstab

On a Windows file share I created a folder and shared it with a service account. I have added a mount point entry to fstab like this: //server/folder /mnt/folder cifs credentials=/root/creds/creds,noperm Where the creds file contains credentials…
alexherm
  • 1,362
  • 2
  • 18
  • 31
1
vote
1 answer

mount - can't find /dev/sdc in fstab error

I'm trying to mount xfs disk. I prepared directories. sudo mkdir /grid/; sudo mkdir /grid/0; then I tried sudo mount -t xfs /dev/sdc /grid/0; But I always receive can't find /dev/sdc /grid/0 in /etc/fstab My fstab looks like this # #…
jmt
  • 719
  • 1
  • 9
  • 28
1
vote
1 answer

Slash added automaticaly before bucket name with fstab and gcsfuse

I use gcsfuse to mount bucket in google compute engine. For this i use this syntax in my fstab : my_bucket /my_bucket gcsfuse rw,uid=1001,gid=1002 But gcsfuse process is launch like this : /usr/bin/gcsfuse --foreground -o rw --uid 1001 --gid 1002…
Bastien D
  • 1,395
  • 2
  • 14
  • 26
1
vote
1 answer

nfs entry in /etc/fstab fails but manually mounting works

Client is Ubuntu Xenial, manually mounting works just fine: mount 10.0.0.12:/mnt/d1 /mnt/d1 I then copy that line from /etc/mtab to /etc/fstab: 10.0.0.12:/mnt/d1 /mnt/d1 nfs4…
thoth
  • 1,112
  • 2
  • 9
  • 15
1
vote
1 answer

/etc/fstab: parse error: ignore entry at line

I have scrip with function: mount_share () { mkdir /data echo //$STORAGE_NAME.file.core.windows.net/$STORAGE_SHARE /data cifs vers=3.0,username=$STORAGE_NAME,password=$STORAGE_KEY,dir_mode=0755,file_mode=0644,serverino >> /etc/fstab …
setevoy
  • 4,374
  • 11
  • 50
  • 87
1
vote
1 answer

UBIFS mount in busybox via fstab does not recognize relatime option

I am getting this error when I try to mount my UBIFS filesytem: mount -o remount,rw /config UBIFS error (pid 1265): ubifs_parse_options: unrecognized mount option "relatime" or missing value The content of my fstab is : root@drgos:~# cat…
pedr0
  • 2,941
  • 6
  • 32
  • 46
0
votes
0 answers

Drive icons do not display drive contents

I have a dual boot system with Ubuntu / MS Windows with Ubuntu 22.04 LTE as my 98% main use. My system has been working fine for many years but recently I have come across a problem which I hope you can help with. The 2Tb main SSD drive is…
Malcolm
  • 41
  • 4
0
votes
0 answers

Docker compose permission denied on attached storage in Ubuntu Server

Running docker on Ubuntu Server 23.04 with 2 NVMEs. All my compose projects are on the second SSD. Running docker compose up -d results in the following: USER@DEVICE:~/docker/authentik$ docker compose up -d open…
Yucked
  • 311
  • 1
  • 2
  • 10
0
votes
0 answers

Why does mounting s3fs bucket on CentOS 7 using fstab fail, but 'mount -a' works?

I have a CentOS 7 instance where I'm mounting an S3 bucket. I can mount it successfully with the s3fs command, but my fstab entries do not work. However, after I boot I can run 'mount -a' and the buckets mount normally. The entry looks like…
Zac
  • 11
  • 3
0
votes
0 answers

Include directory from external disk via fstab

I would like to install a software on an external disk (ebs volume) that I added to my EC2 instance. This disk is mounted at /mnt/external_disk. My procedure is this: # 1. install software to /usr/local/bin # 2. mount disk at /mnt/external_disk # 3.…
user5580578
  • 1,134
  • 1
  • 12
  • 28
0
votes
0 answers

Plex folder permission issue on mouted devices - ubuntu

I am running ubuntu 22.04, and I installed plex so that I can access a folder of an external hard drive which should be mounted on /media/PlexEnrico. I need to edit fstab file so that the device /dev/sdb2 is automatically mounted after system…
0
votes
0 answers

what are the full steps to considere in order to put the Raspberry pi SD card in read only reliably?

Intro I wanna give a last chance to this board before put it in a trash haha :). Right now I prefer use standard motherboards, Ubuntu server, automatic main power switch and perif. to have something reliable over the time though. Raspberry Pi wanted…
pierre
  • 11
  • 3
0
votes
0 answers

Getting several zram partitions after activating the zram on manjaro

I just learned about zram in class, so I wanted to activate the mode alongside the swap in my manjaro based computer by following these steps: I installed the systemd-swap package using pacman: sudo pacman -Syu systemd-swap I changed the content of…