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 [mount]

Mounting is the concept of attaching a file system to a computer for access.

1
vote
2answers
25 views

How to get DRBD to automatically start after reboot, mount volume, start service, and configure primary/secondary

I have a great working version of DRBD across two Debian Stretch servers which I created by following this awesome guide: https://www.howtoforge.com/setting-up-network-raid1-with-drbd-on-debian-...
-2
votes
1answer
31 views

Edit fstab on unmounted device

I tried to add swapfile to the root file system on AWS EC2 instance. Did I made a mistake during the edit of fstab? sudo dd if=/dev/zero of=/swapfile bs=1G count=4 chmod 600 /swapfile mkswap /...
0
votes
0answers
12 views

Auto start and stop iscsi session

In SLES12 with systemd service running, I need iscsi session to stop and start automatically. The steps I need to follow is as follows. On stopping. a)Umount partitions b)Logout iscsi session On ...
2
votes
1answer
20 views

“git init” via “gio mount” on samba: fatal: could not set 'core.filemode' to 'false'

I want to push my repository to a Samba share mounted via GNOME's Nautilus. I believe it uses gio mount under the hood. However, when I try to run git init in a mounted Samba share, I get the ...
1
vote
2answers
91 views

Azure Container Instance Mount point permissions

I am having some problems with a website that I am running on Azure Container Instances. I've got a wordpress docker image pulling from a private azure container registry, and I'm mounting a file ...
-1
votes
2answers
44 views

How to mount a folder as a drive and share on network

i want to mount a folder as a drive and share on network, because we use a network based software which wants whole drive (C: or D: or E: etc.) shared over network for a folder inside it, my approach ...
2
votes
1answer
49 views

Using SNMP for detecting filesystem anomalies (read-only, etc.)

Usually when there is a problem, the filesystem mounts itself read-only: [449551.919049] EXT3-fs (dm-2): error: ext3_journal_start_sb: Detected aborted journal [449551.919056] EXT3-fs (dm-2): error: ...
1
vote
1answer
63 views

Mounting a cifs share dir_mode and file_mode are being ignored

I have an Ubuntu Server that is trying to mount a Windows Server shared folder. Firstly, what I'm trying to do here is mount the share as the person in the credentials file and all actions take place ...
0
votes
0answers
23 views

Does bind-mounting /home in containers impose security issues?

I have some containers (systemd-nspawn) on a server. For our internal users, having their /home mounted in the containers is convenient. I wonder, however, whether this can reduce security. E.g. if an ...
1
vote
0answers
15 views

Docker map windows directory to Jenkins container

I am running docker for windows 10 home edition, everything works fine except when I try to map a directory as volume PS C:\WINDOWS\system32> docker run -v d:/data:/data alpine ls /data here is ...
2
votes
2answers
151 views

Centos 7 - fstab does not mount some partitions, but mount /dev/sd* does

i have a Virtual Machine with Centos 7, on which i want to mount some ext4 partitions. Physical disks are actually hard disks provided by vSphere. All disks are located on the same NAS - so the three ...
0
votes
1answer
84 views

mount says already mounted; umount says not mounted

My Linux server (Centos 7.5) is in a strange state with USB drives. When I try to mount a partition on a USB drive to a newly created mount point I get the error mount: /dev/sdd1 is already mounted ...
3
votes
2answers
109 views

Unable to mount cloned partition via ddrescue

I have a problem with mounting the cloned partition. To clone it, I used as root: ddrescue -f -n /dev/sda3 ./sda3_rescue.img ./rescue.log The partition which I cloned, was a broken NTFS partition. ...
1
vote
1answer
40 views

Mounts happening on boot, but not defined in /etc/fstab

On every boot, my machine (CentOS 7) mounts all these: # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 30G 2.6G 28G 9% / devtmpfs 287M 0 287M 0% /dev ...
1
vote
0answers
55 views

Mount NFS Share In Windows On Non-Standard Port

I have an NFS server on a Linux machine bound to a non-standard port. I can map it on another Linux machine using them command: mount -v -o port=$PORT $IP:/ /$MOUNTPOINT, but I can't seem to find any ...
0
votes
1answer
16 views

mount_smbfs ignores default file and directory permissions

I mount the remote folder on my MacOS client with: mount_smbfs -d 0774 -f 0774 //user@192.168.128.48/NAS /Volumes/NAS However, newly created files are still created with the default UNIX permissions....
0
votes
0answers
79 views

mount problems with keepalived, glusterfs and nfs-ganesha

I installed glusterfs, keepalived (using one VIP for both servers) and nfs-ganesha on two servers. So far, everything is working. But there is a problem when I try to mount from a third server: When ...
2
votes
1answer
92 views

How to get inotify working for bindfs?

Up to now I used this line in /etc/fstab: /home/ftp_user /home/app_user/mounts/ftp_user fuse.bindfs mirror=app_user 0 0 This works. The app_user can access the files of ftp_user like if the ...
1
vote
1answer
59 views

what are the differences between addr and mountaddr NFS mount options?

I realized that the /proc/mounts include some parameters which are not shown in the /etc/mtab file and by the mount command. For instance, mountaddr. In my Linux boxes both values addr and mountaddr ...
0
votes
1answer
71 views

Retry mount NFS share if failed

I have a NFS share that mounts from /etc/fstab, so that it mounts on boot. But if the NFS share isn't available on boot, how can I make it so that it retries until it can mount it?
0
votes
0answers
20 views

Read hostname from a secondary filesystem

I'm trying to customize a preinstalled Ubuntu image for VM instances. My idea was to add a secondary filesystem to /etc/fstab (let's call it /config) and then symlink all relevant config files to that ...
1
vote
0answers
160 views

Troubleshooting NFS mount RPC timeout issue

I have a NFS server up and running on 10.77.123.50. However, I get a RPC timeout when I try to mount this server. Background: Both server and client are on CentOS 7.4.1708. iptables is stopped on ...
0
votes
0answers
16 views

Mounting error on centos 7

I am trying to mount a volume on my centos 7 digital ocean server. When I try to do a mount -a I get this error. mount: /dev/sda: can't read superblock I can see the volume in /dev/disk/by-id/ with ...
0
votes
1answer
149 views

Centos 7 server isn't able to see fiber channel LUN SCSI devices

I have a Fiber channel connected via SCSI SAN that I am not able to see. I would like to be able to access these drives as if they were mounted. Perhaps the entire thing is I have no to little ...
0
votes
0answers
82 views

NFSv4 with Kerberos on Debian Stretch: only works if I run rpc.gssd -fvvv

After many (!!) evenings of trial and error, I've finally succeeded in getting NFSv4 to work with my existing krb5 setup. It however only works if I run rpc.gssd on the client manually (a few howto's ...
-3
votes
1answer
22 views

how do i understand where a directory is mounted?

Ubuntu / DigitalOcean I have a drive that is almost full but I have mounted a storage device. But I can't tell if a particular directory is on the external device or not. I thought I mounted the ...
2
votes
1answer
33 views

Two separate drive setup and getting cannot import 'xxxxx': no such pool exists

I have a simple freeNAS setup (FreeNAS-9.10.2-U6 (561f0d7a1)) that accesses two independent drives, no mirroring. Have not really accessed the system in a while and after a power loss I needed to ...
0
votes
1answer
73 views

How to add more disk space to “/” folder centos

By check fdisk -l I see (more than 900 GB) fdisk -l Disk /dev/sda: 959.7 GB, 959656755200 bytes, 1874329600 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 ...
2
votes
3answers
86 views

Mount a new volume into a docker instance

I have a web site running in a docker instance. The site has a documents folder that needs more storage. So, I created a new volume on AWS. I can see it from the host with lsblk, like so: $ sudo ...
2
votes
0answers
75 views

In linux, determine if a block device is being used

I'm doing automation that will reformat a new disk and mount it. I want my automation to check and make sure the disk isn't in use so I don't break something that was already running (as happened to ...
0
votes
0answers
143 views

Boot hangs at Stopping Mount network filesystems

I recently applied the latest updates on Ubuntu 14.04 server by running sudo apt-get update && sudo apt-get upgrade then restarted the server. Now it hangs on boot at this message * Stopping ...
1
vote
1answer
53 views

Bind multiple directories of one drive to multiple directories of another single mounted drive?

I have SSD and HDD hard drives on server. SSD mounted to / HDD mounted to /mnt/ I have 20 (planning more) sites with 5-20 GB content each. I want to store /home/user/domain1.com/ to SSD ...
0
votes
1answer
44 views

Stack trace of mount command shows File not found error

When I run a program, I am getting a mount error: [root@host ~]# ip vrf exec wan1 /usr/sbin/ssh root@1.2.3.4 Failed to mount cgroup2: No such file or directory I know my kernel supports cgroup2: [...
1
vote
1answer
176 views

Mount a partition from a VM disk ZFS snapshot in FreeNAS

I have a KVM image running on a Zvol in linux that is a block device containing an ext4 partition. It is snapshotted regularly and pushed to a FreeNAS box for backup. If I ever need to recover a ...
0
votes
1answer
393 views

pam_mount home directories over cifs, sssd and Bionic Beaver

I've configured a Ubuntu Bionic Beaver client to authenticate against a Samba ADS (Zentyal), using sssd. This guide was more or less all it took to get there. EDIT: see my answer to get a quote of the ...
0
votes
1answer
106 views

Automount LDAP home folders in client machines

I have created couple of users on my ldap, and setup a couple of ubuntu ldap client machines, where users can login with their accounts. I now want to share their home folders and make it centralised ...
0
votes
0answers
60 views

CIFS mounts (autofs) with noatime option no longer working

I have a backup script that runs overnight, to backup the files on an NAS. The shares on the NAS are mounted using autofs. Since this is primarily a windows network, the shares are (well, were) ...
0
votes
1answer
248 views

mounting CIFS just hangs no verbose output

I unmounted our shared drive in order to debug some immutable files and it's not allowing a mount back (even after a reboot and the entry has been there for years in the fstab file). I'm trying to do ...
0
votes
1answer
94 views

EBS volume unmounted after EC2 instance type change

I have an EC2 instance running mongo, with data stored on a separate EBS device. I decided to change EC2 instance type, and when I restarted I did not see the disk anymore, so I had to mount again. ...
-1
votes
1answer
57 views

Mount options for a deep-learning workstation [closed]

So, my university advisor assigned me to setup a deep-learning workstation in our laboratory to do some research. But it's my first contact with linux and system administration and I'm feeling a bit ...
0
votes
1answer
49 views

How to mount an NTFS drive on a Linux VM on Google Compute Engine

Some of my data is on a drive that a Windows VM used, but I'd rather continue my work under a flavor of Linux. What is the foolproof way to mount this drive if it was formatted with an NTFS file ...
0
votes
0answers
56 views

Virtualbox disk in CentOS mount/format issue

I mounted a second (VDI Virtualbox fixed size) disk to CentOS. Both disks are now ± 100GB. CentOS is complaining my disk is full, when I had a look it looks like I didn't use the second disk, but ...
0
votes
0answers
213 views

Ubuntu 18.04 - Mount NFS with FQDN not resolving address

Trying to mount /home directories to a NFS share. SERVERURL:/nfstest /home nfs vers=4,proto=tcp,intr,bg,rdirplus 0 0 However, in syslog it says that it cannot resolve the address. I'...
0
votes
0answers
99 views

Apache server has problems mounting cifs

I am developing an intranet web app that aids windows user to download lots of data from a samba share to their local machines (also sharing directories with samba). The scenario looks like this: ...
1
vote
1answer
215 views

Are Kerberos service tickets cached by mount.cifs or kernel?

When mounting a CIFS share using krbr5i and destroying my Kerberos tickets with kdestroy afterwards its still possible to mount other shares on the same server. How is this possible? Doesn't mount....
0
votes
1answer
236 views

LDAP authentication NFS home mount with local login

I have a configuration that normally user home is automatically mounted after ldap authentication. What I want to learn is how can I mount ldap authenticated nfs home of a user with local login? Is ...
0
votes
0answers
87 views

NFS Mount hostname listed as something different from what was entered

Assume there exists a nfs server foo1. A client machine contains a hosts file with the following entry 172.168.1.2 foo1 foo2 foo3 which points to that server and a few aliases. Also assume that /...
0
votes
1answer
18 views

Does “mount /mnt/mountpoint” in a script use the settings for that mountpoint that are in fstab?

I have a backup system that uses mounts that are put in place in fstab. I had a failure today because the mount was not there. I want to have my script check for the mount, then mount if it is not ...
0
votes
1answer
181 views

Mount wp-content folder with gcsfuse

How do I mount a wp-content folder (wordpress) so the permissions stay in place and the web server can serve the files from the sub directory? Problem I am facing are: gcsfuse bucketname /var/www/...
4
votes
1answer
216 views

Bind mount - different results on CentOS 6 and CentOS 7

I'm mounting couple of directories (bind mount) in a chroot environment, but they behave differently on CentOS 6 and 7 - exactly the same commands. Example: I have my chroot env in /chroot/base. ...