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

learn more… | top users | synonyms

1
vote
3answers
4k views

Allowing a user to mount a samba share from fstab

I am unable to get mount.cifs to respect the user flag passed to mount. The entry in /etc/fstab is //10.0.1.205/rm /home/robert/remote/rm cifs ...
3
votes
2answers
3k views

How to mount vfat drive on Linux with ownership other than root?

I'm running into trouble mounting an iPod on a newly upgraded Debian Squeeze. I suspect either a protocol has changed or I've tickled a bug, which I don't know where to report. I'm trying to mount ...
1
vote
1answer
2k views

Ubuntu 12.04 glusterfs volume failed to mount at boot time

I have just setup 7 KVM guests, all running Ubuntu 12.04 LTS 64bit Minimal server to test out glusterfs 3.2.5 from the Ubuntu official repo. Two of them form a mirrored pair (i.e. replica 2), and five ...
1
vote
1answer
42 views

I have to “fudge” a change in /etc/exports in order to get mount -a to execute, what's the issue?

Whenever I have to reboot server1, the only way I can get NFS mounts back up on server2 is to change one of the "fsid" integers in the /etc/exports file on server1. Otherwise, the mount -a command ...
0
votes
0answers
12 views

Mounting network drive after network is ready

I'm trying to mount a samba network share to a local directory on startup. The following line in /etc/fstab works fine when I run mount -a: //share/folder /media/folder cifs ...
0
votes
1answer
21 views

is it possible to mount a host directory as a volume on a running docker container?

I only found instructions on how to run a container and mount a volume at the same time: $ sudo docker run -d -P --name web -v /src/webapp:/opt/webapp training/webapp python app.py Taken from the ...
0
votes
1answer
28 views

Hetzner script, configuring SSD + RAID1 image installation

I am trying to figure out how to set this configuration on my Hetzner server. The hetzner installimage script provides a default configuration (with comments: http://pastebin.com/tBqezpFn): # ...
0
votes
2answers
11k views

mkfs fails complaining that: “/dev/sdb is apparently in use by the system; will not make a filesystem here”

This is Ubuntu server 11.10. /dev/sdb is not mounted (see outputs below) and is not used by any process that I can see. Its not used for swap as well. This is a 2nd IDE drive in the server, ...
0
votes
0answers
23 views

AWS Linux RHEL instance unable to format and load new storage partition

I have an AWS RHEL instance. Following are the storage devices on it: $lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 20G 0 disk xvda1 202:1 0 6G 0 part / I ...
0
votes
0answers
16 views

How to gain access to Windows Users folders on a read-only backup medium [migrated]

I have created a backup of a main (C:) volume of my old (Windows 7) computer and I am able to mount it as a read-only volume on my new (Windows 8.1) computer. When I try accessing a user folder under ...
2
votes
1answer
4k views

mount: mount to NFS server 'IPADDRESS' failed: RPC Error: Program not registered

I've got two Redhat5/CentOS systems which share a folder. I'm trying to change the shared folder location, but I ran into this error on the machine on which the folder is mounted... How can I correct ...
0
votes
1answer
14 views

How to remove entries from lsblk?

I have an AWS EC2 instance and I tried to attach and mount couple of EBS volumes on it. Somehow mount command was taking very long time so I deleted those volumes using AWS console. Now problem is ...
-1
votes
1answer
27 views

How to change volume mount

I have two volumes in my EC2 ubuntu instance: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvdb 202:16 0 40G 0 disk /mnt xvda1 202:1 0 400G 0 disk / I want the 400GB one to be the main ...
0
votes
0answers
21 views

Partition mounts

I had a problem with a corrupt grub config. I recovered it with Rescatux and was able to boot up. It appears thought that I am mounting the wrong partition because I can't find my old programs. Here ...
3
votes
3answers
1k views

mounting ZFS zvol snapshot locally gives “Invalid argument”

I'm trying to mount a snapshot of a ZFS zvol. The zvol should have a ext2 partition on it (as evidenced by the CentOS VM to which the zvol is currently shared by iSCSI): [root@test-vm ~]# file - ...
0
votes
1answer
34 views

rsync: how will rsync react to a file copy from a mounted share to a remote location?

I have a task to create a passive sync between a production server and a staging server which are located in two different geographical locations. The environment is fully Linux based (CentOS/RHEL) ...
1
vote
1answer
30 views

How to mount a smb drive with different credentials (user name and password) on Linux?

Ok, I have here a laptop on which runs Linux (CentOS 7). The laptop will be used from different user's (which have all different login's on the laptop). We have in our network a Samba server. All ...
0
votes
1answer
22 views

Stale NFS handle, but nothing is mounted

I have an nfs server (192.168.1.180) that is sharing a directory to my rapsberry pi (192.168.1.32). I have had this working before. Recently, the server went down - but not the client. After ...
0
votes
0answers
36 views

Recover partition after tonight GCE problems

Hi tonight my Gitlab instance on GCE stopped responding, before I figured out that it was a global problem, I took a snapshot of the drive, deleted the old instance and attached the disk to a new ...
0
votes
0answers
58 views

CentOS 7 - Systemctl dependency problems with network mount and OpenSM

I have the follwoing problem. I want to mount a glusterfs share over Infiniband on an CentOS 7 client. The glusterfs share '/data' is severed by a host called storage1. For the client I I setup and ...
0
votes
1answer
30 views

Forcing user in both directions using bindfs

I have a specific OS user called 'app' which runs Dropbox. The app is deployed (in the same server) for multiple sites. But the Dropbox of the 'app' user has info about all sites. The dropobox has a ...
1
vote
1answer
18 views

FreeBSD pre-mount script for gnop device?

How do I run a script in FreeBSD before filesystems are mounted? I want to install a gnop device and mount it (no, not for ZFS). Is there any canonical place where I can put a gnop create ...?
1
vote
1answer
44 views

Unmounted directories still behave like mounted - NFS Server Ubuntu 14.04

I am working on two virtual machines, running Ubuntu 14.04. So, one VM is the server and the other the client. Here's what I've done till now: Server VM: sudo apt-get install nfs-kernel-server sudo ...
0
votes
1answer
30 views

Linux/windows mount on boot issue

We have a Linux system and several Windows system on our network. The Linux system has mounts on two different systems currently defined in fstab like this: //mandi/aaronbackup /media/backup smbfs ...
1
vote
2answers
3k views

Can't mount samba share, but can access using smbclient

I have a network share on Windows server in my local network. I can access this share using smbclient on my Ubuntu 13.10 (with installed cifs-utils package) desktop like this: smbclient ...
0
votes
1answer
23 views

Hardware Raid6 - Which FS and mountoptions + basic questions

I've got a new system (Ubuntu 14.04 on an SSD), including 2*Megaraid 9271-8i controller+cachecade & BBU connected to the backplanes of the case. Each controller has 8 WD RED 3TB (4096 Physical ...
0
votes
1answer
53 views

File name too long mount_nfs

I have a FreeBSD Vagrant box that looks like this: # -*- mode: ruby -*- # vi: set ft=ruby : VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = ...
1
vote
1answer
1k views

NFS and mounted subdirectories

I have two physical disks mounted as such: sda1 -> /mnt/storage sdb1 -> /mnt/storage/homes I've exported /mnt/storage as an NFS share. The client sees all of the contents of /mnt/storage, ...
0
votes
1answer
46 views

pam_mount on centos won't mount cifs

so I have this problem that pam_mount won't mount my cifs home dirs pam_mount has this in /var/log/messages: Feb 3 15:49:18 centosy nslcd[1278]: [3c9869] <passwd="tomas"> (re)loading ...
0
votes
0answers
17 views

AWS volume from snapshot missing data

This is a weird one. On a new ec2 instance + new data volume attached at /dev/xvdb mounted with: mkfs -t ext4 /dev/xvdb mkdir /mnt/xvdb mount -t ext4 /dev/xvdb /mnt/xvdb I take a snapshot of ...
-1
votes
0answers
23 views

Ubuntu 14.04: add physical space drive to folder with existing content [migrated]

system: a VPS running Ubuntu 14.04, apache 2.4.7 I added a virtual disk drive to my VPS server. I would like that the OS (Ubuntu 14.04) resides on its own "system" drive, and my clients files reside ...
0
votes
1answer
897 views

Mounted NFS directory not writable by Apache / PHP

Need some help here with NFS. Here's what I have (all servers running CentOS 5.6 with SELinux): 172.17.20.1 - Primary server with static IP. Varnish redirects requests to the web servers. 172.17.20.2 ...
0
votes
1answer
32 views

Ubuntu mount-point map Windows Share gets permissions denied error

We have an EMC storage appliance that serves Windows Shares via CIFS protocol. On Ubuntu I need to create a mount-point that maps the Windows Share. When I run this shell script : sudo apt-get ...
0
votes
0answers
16 views

NFS: settings for a non concurrent environnement

We have a 100% non concurrent access to an NFS share. Each client accesses its own files, separated in directories. So a client will make read and write operations on its own directory, but will never ...
1
vote
0answers
123 views

glusterfs: failed to get the 'volume file' from server

I have a GlusterFS volume hosted on a remote fileserver. I can mount the volume from my webservers in the same DC as well as other servers in other DCs however when I try to mount the volume on my ...
1
vote
1answer
218 views

Mounting /home as noexec [closed]

Does mounting /home with noexec really add security? All it does is disable binary execution right? So that means other scripts can still run and execute shell code into services. Run shared ...
0
votes
1answer
3k views

Mount FTP folder on Synology (not CIFS)

I am trying to mount folder using the FTP protocol on my Synology. What I managed to do so far is to use the option mount remote folder of the file station, but you can only mount folders with CIFS ...
1
vote
1answer
8k views

“Stale NFS file handle” after reboot

On the server node, it is possible to access an exported folder. However, after reboots (both server and client), the folder is no longer accessible from the clients. On server # ls /data Folder1 ...
0
votes
0answers
52 views

Linux FSTAB error mounting corrupted SD card

i've problem. I've a linux embedded system with an Sd Card that i mount at startup using fstab. This is a commercial produt of my company, so i can't know in advance if i've a bad sd card. # ...
0
votes
0answers
29 views

Fedora: Mount davfs as user under home directory

Is it possible to mount a user's remote files, via davfs2, within the user's home directory? I've found, as a test case, that I can accomplish this if I have an individual line in fstab per user ...
2
votes
0answers
152 views

cifs Required Key Not Available

I have joined to a zentyal domain (AD Domain) using PowerBroker IS and I want it to mount my remote home directories when a remote user logs in. this is the config for PBIS: AllowDeleteTo "" ...
0
votes
1answer
56 views

rsync to unmounted webdav share

if I want to transfer files to a webdav share, can I do that directly to the server that the share originates from, or does it need to be mounted on the machine that I send the rsync to? The thing is, ...
3
votes
0answers
22 views

How can I introspect the “shared subtree” mount flags for a particular mount?

Under Linux, the shared subtree flags control how a mountpoint is shared with parent and child mount namespaces. These flags include MS_SHARED, MS_PRIVATE, and MS_SLAVE. How can one see which of ...
41
votes
12answers
55k views

What's the best way to check if a volume is mounted in a Bash script?

What's the best way to check if a volume is mounted in a Bash script? What I'd really like is a method that I can use like this: if <something is mounted at /mnt/foo> then <Do some ...
10
votes
5answers
29k views

Determine if filesystem or partition is mounted RO or RW via Bash Script?

Is there an easy way to determine if a mounted filesystem is mounted as Read-Only or Read-Write? I was thinking just to pipe mount but I thought there might be an easier way.
4
votes
2answers
842 views

Create directory before binding via /etc/fstab

I have this line in my /etc/fstab: /mnt/tmp /tmp none bind,nobootwait On EC2 however, /mnt may be lost during restarts causing the mount to fail due to non existent /mnt/tmp. So is there a ...
3
votes
1answer
103 views

Directories inside /var are on root partition not /var partition

Few weeks ago I installed Opensuse 13.2. I partitioned the disk so that root '/', /var, /tmp and /home are on different partitions. Today I noticed that although /var is on partition sda8, all ...
3
votes
1answer
2k views

Mount shared folder (vbox) as another user

I'm trying to mount my vbox shared folder every time my ubuntu starts. So, I added an entry on /etc/init with this: description "mount vboxsf Desktop" start on startup task exec mount -t ...
0
votes
1answer
64 views

Chain NFS sharing [closed]

We have a storage server which for some reason cannot be reached directly (and of course not in same network). So we thought that we need to create some kind of chain NFS sharing like; ServerA ...
1
vote
3answers
98 views

mount a root disk in mnt

How can I mount a root virtual disk from another VM on my CentOS ? In order to change some files on it, not to use it as a real root disk. there are 2 partitions on my virtual disk : /boot (Linux ...