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
0
votes
1 answer

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,size=110,mode=1777,dev,exec,suid 0 0 tmpfs …
Lucky Tyagi
  • 199
  • 1
  • 3
  • 12
0
votes
1 answer

Kernel booting frozen due to mounting failure

I built a new yocto image for a custom board. I flashed it to an SD card and tried booting it, but freezes while booting Kernel. The image has SYSTEMD feature enabled. If I disable SYSTEMD, it boots fine. Do i need to configure anything ? like in…
Naveen KH
  • 153
  • 2
  • 11
0
votes
1 answer

fstab mount network share with guest

when I mount my network share on Debian 9 with command line it goes with success: mount -t cifs -o guest //Server/Share /mnt/sharefolder But when I add an entry to /etc/fstab: //Server/Share /mnt/sharefolder cifs guest 0 …
user2492388
  • 151
  • 6
  • 15
0
votes
0 answers

how to mount using ceph-fuse and specify IP in /etc/fstab

My server configuration is as follows A ceph cluster server(10.1.1.138) B ceph cluster server(10.1.1.54) C ceph client (10.1.1.238) I could mount using the following ceph-fuse command sudo ceph-fuse -k /etc/ceph/ceph.client.admin.keyring -m…
negabaro
  • 3,127
  • 7
  • 21
  • 33
0
votes
1 answer

How to insert noatime in /etc/fstab CentOS 7?

this is my /etc/fstab file: proc /proc proc defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs defaults 0 0 sysfs /sys sysfs defaults 0 0 /dev/md/0 none swap sw 0 0 /dev/md/1 /boot ext3 defaults 0 0 /dev/md/2 / ext4 …
juanma
  • 41
  • 6
0
votes
1 answer

How to use mount command in fstab file

After creating /mnt/bucket folder which is to be used as a local mounting-point for Google Bucket: sudo mkdir /mnt/bucket sudo chmod 777 /mnt/bucket I can successfully mount it to mybucket Google Bucket by simply typing sudo mount followed by with…
alphanumeric
  • 17,967
  • 64
  • 244
  • 392
0
votes
1 answer

Device mapper, boot with virtual device

I have a task to make a virtual device under a real one with the help of device mapper kernel module. Virtual device must transfer any request to a real device, so both devices must be equal. In prospective I should be able to control requests, so I…
AccumPlus
  • 161
  • 9
0
votes
1 answer

Change location of /etc/fstab

I have written a script which requires to read a few entries in /etc/fstab. I have tested the script by manually adding some entries in /etc/fstab and then restored the file to its original contents, also manually. Now I would like to automate those…
user4918296
0
votes
1 answer

Determining the file system type of a file, using BSD functions

I like to get the properties for a specific file path's volume properties as shown by the mount command, without using that command and instead calling the POSIX or related APIs. When using the mount command on OS X, I get a listing of all available…
Thomas Tempelmann
  • 11,045
  • 8
  • 74
  • 149
-1
votes
0 answers

Chagnes done to the rootfs do not redirect to the overlay set in fstab

The fstab is a link to the next fstabB file: # /dev/root / ext2 ro,noauto 0 1 proc /proc proc defaults 0 0 /dev/mmcblk0p10 /data …
-1
votes
1 answer

Automatically mounting available partition of SD card

SD card Type Partition available Size of Partition A mmcblk0p1, mmcblk0p2 mmcblk0p1: 30Mb, mmcblk0p2: 31Gb B mmcblk0p1 mmcblk0p1: 31Gb I am using a linux system where I need to mount the largest available SD card partition block…
curosity
  • 19
  • 5
-1
votes
2 answers

CIFS VFS: \\storageaccountname.file.core.windows.net Send error in SessSetup = -13, STATUS_LOGON_FAILURE

We have a storage account in azure in which we have a file share that we're mounting on our Ubuntu machine on /path/to/mountdirectroy/ it was working fine until I checked today and found that it is no longer mounted df -h shows df:…
Hamza AZIZ
  • 2,582
  • 1
  • 9
  • 18
-1
votes
1 answer

Replace the option noexec to exec in /etc/fstab file through a shell script

Only the /tmp option of noexec to exec should change. The /var/tmp option of noexec to exec shouldn't change. contents of /etc/fstab UUID=f229a689-a31e-4f1a-a823-9a69ee6ec558 / xfs defaults 0…
-1
votes
1 answer

SSHFS works on command line but not within fstab

I am trying to connect two servers with SSHFS. As root, when launching the command sshfs myuser@ip_adress:/some/dir /other/dir -o idmap=user,identityfile=/home/myuser/.ssh/id_rsa, everything works. However, when I set this SSHFS configuration in…
clementescolano
  • 485
  • 5
  • 15
-1
votes
1 answer

ssh connection refused after editing fstab in Google cloud vm

I'm getting ssh: connect to host xx.xx.xx.xx port 22: Connection refused after updating fstab for mounting Google bucket. fstab entry that I have added is as follows, bucket mount_point fuse…
Hasitha
  • 558
  • 1
  • 12
  • 26