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.

0
votes
0answers
13 views

How to mount Apple RAID on Debian server?

I have two Samsung ssd's in a RAID 0 configuration. It was made with Disk Utility on macos Mojave. I would like to mount them on a Debian server but I can not figure out how or if it is possible at ...
0
votes
0answers
8 views

Unable to Detect Size of Brand new Hard Disk [migrated]

I just purchased a 8TB hard drive today. I just put it in my USB enclosure. fdisk -l did see the device: Disk /dev/sdc: 1404.5 GB, 1404493455360 bytes, 2743151280 sectors Units = sectors of 1 * 512 ...
3
votes
1answer
27 views

ZFS - Use a file as l2arc cache

I have a CentOS server that is using zfs to manage a big, slow, network attached volume. We read quite a lot from this volume, hence I would like to optimize the read performances. The idea is ...
1
vote
1answer
21 views

LVM with same mount points

I have a volume group called 'encrypted' and its device name is /dev/xvdj. [root@s-mysql /]# lsblk xvdj 202:144 0 3T 0 disk └─xvdj1 202:145 0 3T 0 part ├...
0
votes
0answers
27 views

Mounting tmpfs on Linux creates 2 mount points

On Amazon Linux 2, I mount a tmpfs with this command: mkdir /tmp/tableau_secrets_build && mount -t tmpfs -o size=1M,rw,user tableau_tmp /tmp/tableau_secrets_build As a result, I see the file ...
0
votes
0answers
15 views

Identifiy stale mount points - built in linux program?

I want to monitor a couple of network share mount points, some of them are cifs others are nfs shares. Sometimes it happens that these mount points become stale, due to the ip switching on the share ...
1
vote
0answers
39 views

Migrating mounted ntfs folders to another installation

I'm using server 2012 r2 + drivepool + jbod 4u60, the drives are mounted to 20ish ntfs mount folders, and now i want to migrate to another machine with better specs. The idea is just to swap the sas ...
0
votes
0answers
6 views

Raspbian compile single kernel module gfs2 [migrated]

I'm trying my best to get GFS2 mounted in dual-primary on Raspbian, but I'm hitting an issue. Whenever I try to mount the GFS2 volume, I get an error: mount -t gfs2 -o noatime,nodiratime,noquota /dev/...
0
votes
1answer
34 views

ls command hangs after I pause the destination folder

I have two instances of RHEL 7 Linux, machine 1 and machine 2. Machine 2 has a folder that is mounted to a remote folder from machine 1. It is done with command: mount -t cifs -o user=aaa,pass=...
1
vote
0answers
10 views

Show bindfs target

When creating a FUSE mount: bindfs -u joe -g users -r /files /home/joe/files After the mount is done, what command can I use to see the target? Eg, how can I see that /home/joe/files points to /...
0
votes
0answers
52 views

How can I mount cephfs on proxmox 5.3?

I have added the pxmx-cephfs.secret (the admin keyring) to /etc/pve/priv/ceph/. Then I proceeded to add cephfs through gui with id pxmx-cephfs and the monitors. While it is added successfully ...
10
votes
1answer
2k views

Samba (CIFS) mount error(9): Bad file descriptor

I had successful connections from my main workstation PC (which uses Fedora 29 Workstation) to my mother's laptop (Windows 7 HP) network share few times using mount.cifs, but since not too long it has ...
1
vote
2answers
169 views

mount: wrong fs type, bad option, bad superblock on /dev/xvdf1, missing codepage or helper program, or other error

I am Unable to mount more than one EBS volumes in an EC2 instance. I have 3 EBS Volumes which are 'root-volume' leftovers from previously terminated EC2 instances(Named: /dev/xvdf1,/dev/xvdg1, /dev/...
1
vote
1answer
61 views

Shared folder between two docker containers

I would like to share a folder from a docker container1 to a docker container2, without any persistence. Sharing this folder with the host is not necessary. I read that there is a volume_from option ...
0
votes
1answer
43 views

getcifsacl does not work with CIFS mount versions 2 or 3

When I mount CIFS share with vers=1.0 I can perform getcifsacl sucessfully. # mount -t cifs //example.com/Users/milo /mnt/cifs -o vers=1.0 # getcifsacl /mnt/cifs/file.png REVISION:0x1 CONTROL:0x8504 ...
1
vote
0answers
42 views

fsck.ext4 complaining that the device is in use. Can't find what exactly is using it

Our setup is a 3-node RHEL 7.3 bare-metal Kubernetes cluster running on Docker. We have a multipath FC SAN block device discovered on all three nodes. This device is used as a Kubernetes Persistent ...
2
votes
1answer
231 views

Mount a SSHFS volume into a Docker instance

I use SSHFS to mount a remote filesystem on my host and I want to be able to access it from inside a Docker container. I mount the remote filesystem sshfs -o idmap=user,uid=$(id -u),gid=$(id -g) ...
0
votes
1answer
39 views

Synology NAS can only be mounted (as nfs) when connected by cable

I bought a Synology NAS DS216se on Wed. Dec. 26th. After first tests with samba, which were very slow, I mounted it as nfs. It got better. But during a huge rsync it came to my mind that probably ...
2
votes
1answer
72 views

remount as read and write

Yesterday my CentOS Linux 7 (Core) server experienced a hard disk problem. The HDD has since been replaced but the main partition is in read-only mode. I'm trying to get the main partition usable ...
0
votes
0answers
27 views

How to bind mount a subdir of a RO file system as R/W, and keep it as R/W

I have a read-only root file system and I want to make a subdir (let's say /home) writable. For this I do the following: mount --bind /home /home mount -o remount,rw /home This works fine. Now let'...
0
votes
0answers
96 views

Using a FUSE-mounted directory as a docker volume

I have a mount (/mnt/xyz) which is mounted with FUSE, and I want to use it as a docker volume docker run image -v /mnt/xyz/container-dir:/container-dir But I get the error docker: Error response ...
2
votes
2answers
213 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-...
-3
votes
1answer
49 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
17 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
86 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
150 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
48 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
83 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
319 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 ...
1
vote
0answers
45 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
308 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
471 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
127 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
42 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
105 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
23 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....
2
votes
1answer
112 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
100 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
231 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
306 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
28 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
346 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
148 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
58 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
202 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 ...
3
votes
3answers
114 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
134 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
206 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 ...