Questions tagged [mount]
Mounting is the concept of attaching a file system to a computer for access.
1,226
questions
1
vote
1
answer
837
views
Edit stage2.img
I need to edit the stage2.img file to fix a glitch where kickstart wont allow you to select network or hostname options. But I cant for the life of me get the damn thing mounted.
mount -o loop,ro -t ...
1
vote
1
answer
193
views
Troubleshooting Help: Fedora to Windows Share Move Failure from Crontab Script
My crontab script started failing recently on a move command from the local file system to a windows mount with the following error:
mv: closing `/mnt/SEProjbackups/20101124-040001_vm-seprojects.tar....
1
vote
1
answer
2k
views
How to set a password via environment variables for a cifs mount in Ubuntu?
I've been trying to set the PASSWD environment variable like it says you can in the mount.cifs manual, but it still prompts me for a password and ignores the environment variable I set before it.
...
1
vote
1
answer
344
views
Linux: mount a "striped" disk image?
For various unpleasant reasons involving very large files and FAT32, I'd like to know if there is any way I can create a mountable disk image which is stored in multiple smaller (ie, "smaller than 4GB"...
1
vote
3
answers
2k
views
Mount ftp as filesystem
What is the most stable way of mounting an FTP filesystem? curlftpfs doesn't work very reliably for me :/ is there a better way?
Edit: I'm on ubuntu!
Edit 2: I tried version 0.9.2. I did a mount, ...
1
vote
3
answers
2k
views
Disabling "symlink follow" feature on Ext3/4 mount points
How can I disable the symlink feature of ext3 file system mount point ?
My server is being attacked by some sort of symbolic link hacking methods for reading other user's home directory.
There is such ...
1
vote
1
answer
3k
views
filesystem mounting problem
A DAS box is attached to my linux box using LSI SCSI HBA.
Volume is properly detected on the linux box and
filesystem is created using
mkfs.ext3 /dev/sdc #No partition table
I can not mount ...
1
vote
1
answer
2k
views
How can I list directories that are used by unionfs?
On a debian server, I have unionfs mounted with no entry in fstab. How can I figure out the command, that was used to mount it (or which directories make up the union) ?
1
vote
1
answer
6k
views
Mount Return Code for CIFS mount
When I run the following command (as root or via sudo) from a bash script I get an exit status (or return code in mount man page parlance) of 1:
mount -v -t cifs //nasbox/volume /tmpdir/ --verbose -o ...
1
vote
1
answer
383
views
mounting vsphere 4.0 file system in ubuntu linux
I am using VSpere 4.0 for my project work. I needed 4-5 servers my project work which is based on Database. I felt the virtualisation is very good to get the 5 servers running good at the same time. ...
1
vote
2
answers
2k
views
mounted a symlink on a mountpoint
I have a samba share called A on a machined named aaron. Inside that share is a smylink called Audio-CD_WAVs which points to a machine local directory. When this share is accessed by a windows machine,...
1
vote
2
answers
203
views
Mount remote windows harddrive
Alright,
this hard drive that I need to mount is on a windows machine, in a different town.
What would be the best approach for this?
I would like it in fstab if possible, and a little bit of ...
1
vote
2
answers
1k
views
how to mount an ext3 filesystem with a smaller blocksize then device blocksize?
I had an ext3 filesystem on my hard disk at /dev/hdc2 with a small 1024 byte blocksize. Now I recorded the whole filesystem on a DVD like this:
dd if=/dev/hdc2 of=/tmp/image.img
wodim -dev=/dev/scd0 /...
1
vote
2
answers
5k
views
Randomly Disappearing Mount Point
I have 3 servers all with the same set of mount points. On one server loses it connection to the mount fairly often and the two other servers it never does. I cannot reconnect until I reboot the ...
1
vote
2
answers
725
views
mount / and / or apache - php permissions : where should I look?
Here's the configuration :
The directory :
/var/www/mount_ImpExp/ImpExp/
is a shared directory (Linux) from a PC with an IP adress 192.168.1.12
My PC IP adress is 192.168.1.11
I mounted that ...
1
vote
0
answers
157
views
Can I set some lines in /etc/fstab to not mount at boot?
I have several lines in /etc/fstab that rely on an encrypted disk being open. I don't want to prompt for a crypt password on boot so that other people can reboot the server without knowing the ...
1
vote
2
answers
238
views
Reading fuse mount and filesystem stats
I have an sshfs.fuse mount. I am looking for a way to read mount statistics, e.g. bytes read/written, something similar to what /proc/diskstats contains for disk devices. fusermount has nothing to get ...
1
vote
0
answers
227
views
How can I fix my unbearably slow NFS linux server?
I'm currently struggling with an extremely slow server providing home directories through NFS, and I cannot figure out the origin of the problem. It's all running on Nixos, but I don't think that's ...
1
vote
1
answer
206
views
Pure FTP Server let's me download files from "Bind Mounted HTML" folder but will thrown 533 Error to STOR command when uploading Index.html
Yesterday I finished configuring a FTP Server using Pure-FTPd.
The method I am using is the "Virtual Users" method.
The commands below are basically what I executed it in order to make it ...
1
vote
0
answers
463
views
OOM killer beeing invoked by snapd systemd timer, CPU usage locks at 100% (snapd, mount, certbot)
Im having trouble debugging why my nodeJS webapp gets killed by the OOM killer in Debian 11. Im working on a small VPS (VMware ESX 7.0.3 build-21313628) by IONOS with single core 1GHz cpu, 512MB RAM, ...
1
vote
1
answer
867
views
How can I mount an NFSv4 export with multiple IPs
I have a Synology with 2 controllers exporting an NFSv4 share. The NFS export can be accessible via any of the 2 IPs (which are on different subnets). How on a CentOS/RHEL/Rocky Linux distro, can I ...
1
vote
0
answers
133
views
permission denied when writing to mounted directory exported by NFS server running on OpenBSD OS
I have a default installation of openbsd, with portmap, mountd, nfsd services started by via rcctl. I have following entry in /etc/exports
/nfs/testdir -alldirs -maproot=root -network=192.168.0 -mask=...
1
vote
0
answers
10k
views
Mounting using NFS result in Operation Not Permitted
I followed an article from DigitalOcean to mount a directory from my backup machine (192.168.100.82) on my service machine (192.168.100.81):
mount -vvv 192.168.100.82:/var/nfs/general /nfs/general
...
1
vote
0
answers
207
views
Finding resources about switching CIFS from soft to hard mount
We have some NFS shares and smb CIFS shares mounted over TCP/IP on our RHEL 7 machine. The shares are part of a HNAS that sits on a VSP. As per default the NFS shares are mounted with the "hard&...
1
vote
0
answers
149
views
Samba server issue with mount point being owned by root instead of 'force user' specified in smbd.conf
I've created a samba share on an ubuntu server called teslausb with the following lines specified in smbd.conf:
[teslausb]
comment = John's home share on Ubuntu
path = /mnt/sdb1/teslausb
...
1
vote
0
answers
2k
views
Mounting a Linux NFS share with the Windows 10 client seems to ignore groups (despite --manage-gids)
I have an NFS share exported from a Centos 7.9 VM and mounted on a Windows 10 PC. The share is accessible from Windows, but directories who's permissions are set not readable by the user but readable ...
1
vote
0
answers
343
views
NFSv3 mount options to influence WRITE Calls as FILE_SYNC or UNSTABLE
In the NFSv3 protocol (https://www.freesoft.org/CIE/RFC/1813/27.htm), a WRITE Call can be FILE_SYNC, DATA_SYNC, or UNSTABLE. Are those options influenced by any mount parameters, e.g. mount -t nfs -o ...
1
vote
0
answers
134
views
Linux Auditd monitoring of file operations in mounted folder
I have multi node kubernetes cluster and I would like to monitor file operations that are made by containers in mounted persistent volume.
I found the all PV data are located at nodes in /var/lib/...
1
vote
0
answers
372
views
difference between /proc/self/mountstats vs /proc/self/mountinfo vs /proc/self/mounts
I'm reading /proc/self/mountstats on a debian machine to identify if the usb devices is mounted or not. (mountstats because it better in term of readability)
But I also see /proc/self/mountinfo and /...
1
vote
0
answers
382
views
Linux mount to FSx using AD user disconnects after interval; initial mount works but message HOST IS DOWN occurs after some time
When I run the mount command I’m able to connect/ls to the share until, what appears to be the ticket renewal, timing occurs. Then I get host is down.
I have looked through all the suggested similar ...
1
vote
0
answers
486
views
CIFS getting mounted multiple times
I mount the cifs export onto my server using this :
mount -t cifs -o rw,noperm,nounix,sec=ntlmssp,credentials=/root/.cifsauth,vers=2.1 //10.151.26.10/MyServer/MyMount /mnt/cifs
This results in at ...
1
vote
1
answer
208
views
Which cgroup version(s) does Linux use by default?
By default does Linux always initially mount both cgroupv1 and cgroupv2? What determines whether a Linux machine initially decides to use just cgroupv1 or just cgroupv2 or both?
Thanks in advance,
...
1
vote
0
answers
1k
views
Why does trying to bind mount a file under /proc/<pid>/fd fail in docker?
An example of the titular failure:
user@host ~> touch a
user@host ~> tail -f ./a &
user@host ~> ps aux | grep tail
user-+ 1457 0.0 0.0 8120 580 pts/1 S 16:04 0:00 tail -f ./...
1
vote
0
answers
542
views
Invalid argument received when running chown in a Linux namespace
After running something like this:
unshare -rUm
mkdir opt
mount --bind opt /opt
touch /opt/test
chown 1000:1000 /opt/test
I'm receiving this:
chown: changing ownership of '/opt/test': Invalid ...
1
vote
1
answer
711
views
dns cifs share entry in fstab not re-mounted on IP change, while used by smbd
I set up a CIFS share on my ubuntu
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
using an fstab entry:
//mystr.myserver.com/backup /mnt/mystr cifs iocharset=...
1
vote
1
answer
766
views
iscsid broken mount after recovery
I am playing with Open-iSCSI and came across some troubles. When the network link between my initiator and the target fails, iscsid will recover the connection, which is good. But my mount is broken ...
1
vote
0
answers
210
views
Mount qcow2 image on boot using fstab
I'm intending to make individual directories snapshotable in order to be able to experiment and rollback. Since there are many such directories and their contents can vary in size, solutions such as ...
1
vote
0
answers
410
views
Mounting EC2 directory with existing data to Fargate container using EFS
I have an EC2 instance with a huge directory(ex. /large-dir) that containers need to access. Both instance and container share same network and security group. I'm able create and mount an EFS to ...
1
vote
0
answers
313
views
On Chrome OS in dev mode: mount with exec permission
I'm trying to use a Chromebox as a tiny server. I'm using Linux through Crostini to host the server application. It really seemed like a good idea. Currently, I'm trying not to replace the whole ...
1
vote
0
answers
257
views
Please help me understand mounting cifs for domain group
I have samba ad dc and on a different member I have a file server.
Domain Controller = Debian 11 (DC01)
Domain Member (File Server) = Fedora 34 (FS01)
Domain Member (Workstation) = Fedora 34 (F01)
...
1
vote
0
answers
2k
views
Does `mount -a` make sure that I have a correct /etc/fstab file
Once a while, I need to adjust mountpoints of a server and it is not always possible for me to reboot the system right away. Therefore, to check if my revision to /etc/fstab is correct, usually I do ...
1
vote
0
answers
864
views
Commands hangs on logical volume
I'm using virtual machine with SUSE Linux Enterprise Server 11. After one of the critical shutdowns of the server, the disk id have changed. I have changed and replaced the values with new ones in the ...
1
vote
1
answer
2k
views
Mount Azure virtual hard disks on filesystem during Azure Linux VM creation using Terraform
I am using Terraform to automate VM creation on Microsoft Azure. The Terraform script shall accept data disk configuration as below (refer data_disk_size_gb), create the virtual hard disk and ...
1
vote
0
answers
41
views
Samba issue local folders replaced my mount point
I have a permissions issue with a samba mount to a Windows 10 box. I am trailing FileMaker Server 19 on CentOS and want to backup the DBs to a samba mount point.
using:
mount -t cifs -o username=...
1
vote
0
answers
332
views
exportfs with rw not working , fstab either. Mount point still read only on my setup machine
I have a VM that other VMs and servers mount from. This vm has an ip of say:
10.10.1.1
The folder that others mount is \export\images
So one VM mounts this in its fstab:
10.10.1.1:/export/images ...
1
vote
0
answers
2k
views
Unstable CIFS mount on CentOS 8
We recently created several centOS 8 serveur for running some springboot applications, which mount several directories from
a windows server. Mount is working, but we are getting lots of errors at ...
1
vote
0
answers
375
views
How do I mount sdc disk to /dev/sda2 on CentOS
As per my screenshot, I only have 30G on /dev/sda2. It won't be enough as I will be running the test on large dataset, therefore I need to mount sdc disk (200G) to /dev/sda2 to have more space. Could ...
1
vote
1
answer
1k
views
Command for setting permissions on Windows mounted volume
We have several large storage servers running Windows Server 2008 R2. Due to program limitations each server has several disk that had to be broken up into 1TB volumes. These volumes are all mount ...
1
vote
0
answers
2k
views
nfs/rpcinfo fails (timed out) on Ubuntu 16.04 server
Trying to establish an NFS mount between some openstack instances, using this ansible playbook. All Ubuntu, server is 16.04, 4.4.0, clients are 18.04, 4.15.0. I have set the security groups to be able ...
1
vote
0
answers
25
views
Server Speed for specific appliaction with an mounted network share
I have a windows server running windows server 2019
This server is hosting an emby server [media streaming]
The media is hosted an a mounted disk from an s3 provider with rclone
When trying to watch ...