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

learn more… | top users | synonyms

6
votes
6answers
43k views

Mount network drive as physical drive

Is there a way to mount a network location so that it appears as a local physical disk? e.g. \\computer\share as D: (not a network drive)
5
votes
3answers
3k views

bind mounting read-only using fstab?

I'm using mount --bind to attach a certain directory under another path (it is part of a system that holds multiple copies of mirrors where some copies are slightly different then others but I don't ...
0
votes
0answers
9 views

Gluster fuse client not mounting :24007 failed (Connection refused)

Somehow one of the glusterfs servers does not mount through fuse client anymore while still beeing able to mount through nfs client. /etc/fstab has following entry: gs2:/volume1 /data/nfs glusterfs ...
2
votes
3answers
1k views

is there any advantage mounting an LV by UUID instead of by path?

I know I can specify mounts in fstab by either putting their path (like /dev/sda1 or /dev/mapper/myvg-logicalVolume1) or by fs label (LABEL=root) or by UUID (UUID=1234-5678-...). I see a clear ...
-1
votes
1answer
4k 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
24 views

Detect which application mounted a device

On my system, from time to time there is an automatic mount/unmount of a plugged device. I guess it's done by some software on the machine. is there any way to monitor PnP mount/unmount events on the ...
0
votes
1answer
28 views

Data are copied in wrong directory [on hold]

Fedora 11. I have s bash script that checks if usb stick is plugged in, then creates directories on it and copies there some files, then unmounts. In some very rare cases those directories with files ...
29
votes
5answers
15k views

How useful is mounting /tmp noexec?

Many people (including the Securing Debian Manual) recommend mounting /tmp with the noexec,nodev,nosuid set of options. This is generally presented as one element of a 'defense-in-depth' strategy, by ...
2
votes
1answer
1k views

NFS mounts not visible for other users in system

Recently I faced an issue of limited visibility of mounted NFS shares on windows 2008 server. Situation is like this: as user A I have mounted NFS share (from linux server) as User A I'm executing ...
-1
votes
0answers
27 views

Messed up chown in /usr/bin. Caja won't allow me to mount drives [migrated]

Ok so I did a bad boo-boo and did a chmod 755 on /usr/bin (it was by mistake, there was a folder in /usr i needed to do it on that started with "bi" and I stupidly did chmod -R 755 /usr/bi* cuz I was ...
1
vote
2answers
36 views

How can I create a GPT partition label and mount the partition using it's label in Ubuntu?

I'm trying to assign a partition label to a GPT partition, and use that partition label as an identifier for mounting in Ubuntu 14.04. So first I setup GPT and created a partition on the volume: ~# ...
2
votes
3answers
9k views

USB drive not detected in Intel EFI shell

I must update an Intel S3420GPLC board. BIOS, BMC, FRU / SDR, the whole thing. Everything is pretty much automated in the Intel download. You're supposed to boot to the integrated EFI shell, mount ...
0
votes
1answer
1k 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 ...
49
votes
13answers
68k 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 ...
-1
votes
0answers
33 views

PPTP VPN Connection can establish Tunnel but can't ping LAN IP of Server [closed]

Using Microsoft's built in VPN software: route print from the Client's computer while connected. The 75.xxx.x.x is the WAN ip of the server. 192.168.0.x is the LAN of the server 192.168.1.x is the ...
-2
votes
0answers
33 views

Why mount with nfs is not work into my bash script?

I have got this code in bash script: if ! grep ^$hzvzenter_SERVER_IP:/linuxcoe /proc/mounts 1>/dev/null 2>&1; then mkdir -p /linuxcoe-iso CMD_ERR=`mount -t nfs ...
1
vote
1answer
3k 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
0answers
33 views

mounting subdirectory with mount.cifs gives permission denied, but gvfs works

On a windows file share we have a user "drone" who is given read write permissions to ONLY access a subfolder "child": /SHARE/parent/child But is not given read/write access to "parent" (however is ...
0
votes
0answers
21 views

Linux, dev-mapper: How to mount a folder with different options than parent folder

I'm using CentOS 7.1 with device-mapper, and /home mounted as /dev/mapper/centos-home on /home type xfs (rw,relatime,seclabel,attr2,inode64,noquota) I'd like to include in fstab an entry for ...
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 ...
2
votes
2answers
86 views

Setting up tmpfs `/run/lock` for hundreds of thousands of 0 byte lock files, and dealing with the inode limit

I have a situation where I need to create 100s of thousands of 0 byte lock files for concurrency control. I've tested creating them by using: for i in `seq 1 50000`; do touch "/run/lock/${i}.lock"; ...
6
votes
2answers
19k 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
1answer
48 views

Loop back mount a VMDK flat image on a Linux Box

I am trying to loop mount a VMDK flat image generated by VMware fusion. The VMDK file has the -flat extension. I am trying to use kpartx kpartx -av /path/to /my/vmdk but I get llseek error ...
0
votes
1answer
40 views

Docker best practice for storing application generated content and calling ffmpeg?

I have this setup container #1 "web" container #2 "db" Now this web container holds my application that uses ffmpeg to record streams. The problem is Im not quite sure where to store my recorded ...
0
votes
0answers
20 views

Mounting a remote filesystem using v9fs (client) and u9fs(server) does not give me write permissions

I am trying to mount a 9p filesystem on a linux client machine running v9fs as the 9p client with the following command sudo mount -t 9p -o ...
0
votes
1answer
62 views

How to mount network drive as local disk?

I have some resource, which I can open by address \\dir\bin. I want to mount this resource on disk Z. In other words, I want to have path like Z:\file1.txt and get file \\dir\bin\file1.txt. I tried ...
0
votes
0answers
95 views

Centos 7 autofs mount doesn't work right after reboot

I've setup autofs on Centos 7. However, it seems like after reboot, it took some time to mount /home/ directory, even when I 'cd' into it. It only succeeds after 3 tries: [root@localhost ~] cd ...
6
votes
13answers
4k views

Why have multiple partitions on a windows server?

With my IT outfit, we have templates to deploy servers with a dinky C drive/partition (10GB) and a larger D drive/partition. Why do this? Windows (at least until recently and at that minimally) has no ...
1
vote
1answer
55 views

Intermittent Permission Denied error when opening files from a SAMBA mount

As mentioned above, when I attempt to open files over a SAMBA mount, sometimes it works fine and vi opens the file up, but other times vi opens up and I get an error like this: "Windows/Custom2d.txt" ...
0
votes
1answer
212 views

Glusterfs: Initialization of volume 'fuse' failed, review your volfile again

I have a GlusterFS volume hosted on a remote server. I can mount it from one of my other servers when I try to mount the volume, I get following error [2015-04-15 20:52:24.149773] I ...
0
votes
0answers
79 views

How to mount a Mac OS X 10.10 shared volume with Ubuntu Server 14.04

I'm attempting to mount a Mac OS X 10.10 shared volume via Ubuntu Server 14.04.1. I've set this up successfully between two Macs but I'm having a problem Ubuntu to Mac. I've setup the shared volume ...
3
votes
3answers
13k views

umount Device or resource busy; already tried: mount, lsof, fuser, exportfs, ps axf

As part of an automated VM creation system a block device is mounted to a temporary folder ( /tmp/whatever ) . Various scripts install and configure the VM prior to it's first run. Recently ...
1
vote
1answer
28 views

Unwanted directory mounting on boot

Currently there is a directory that is mounting over another directory on boot. I cannot figure out for the life of me where this is coming from. The problem mount is the last mount on the df -ah ...
0
votes
1answer
27 views

Linux: Mount a remote disk stored on a custom storage

We have a non-standard storage (FS) on which we have flat disk images stored. We need to extract data from this raw image on a different host. The word "extraction" here means that I want to copy ...
0
votes
1answer
73 views

How to list all files of a partition on linux?

I am running out of disk on my rhel box. I am trying to find all files in /dev/sda2. Do we have a command which can give all files (ideally, with size) in filesystem /dev/sda2? /dev/sda2 31297508 ...
2
votes
1answer
34 views

creating new partition for backup

I got a new server form hosting company. It has 2x2tb hard drives. I told the provider I would be using one drive for data/OS and the other for backup.Before doing offsite backup. I moved all my ...
1
vote
1answer
62 views

Can't mount my hard drive

When I try to mount one of my hard drives, it can't locate the folder with the hard drive. This is the output for the command df: Filesystem 1K-blocks Used Available Use% ...
1
vote
0answers
113 views

boot2docker, docker mount.vboxsf: automount mounting failed with the error: No such file or directory [closed]

I am trying to automount a OS folder (win8) not in the user folder into boot2docker on it's init script, but run into the above error. Mounting works fine when I run it manually: sudo mount -t ...
0
votes
1answer
44 views

lxc - how to make a mount survive an external unmount / mount (eg. sharing folders on a USB key)

I have an LXC container, where I setup the fstab to use a directory situated on an external usb disk. I need this because I use this container for disk intensive computations on my laptop, and I need ...
2
votes
1answer
191 views

Mounting encrypted Samba share (linux server/client)

I'm trying to set up encrypted samba access. In order to achieve that I've added 2 lines to [global] scope in smb.conf: server signing = mandatory smb encrypt = mandatory But unfortunately I can't ...
1
vote
1answer
42 views

Recovering data from a drive

I have a server that was running Centos 6. It's been humming along for a few years and I have been backing up data off it on regular basis. All of sudden, and after a reboot, it came up in read-only ...
0
votes
0answers
17 views

How to mount disk in sheepdog cluster ?

In the documentation its given that, to mount the disk in the sheepdog node add following line in /etc/fstab /dev/sda1 /mnt/sheep/0 ext4 defaults,user_xattr,noatime 0 0 But I am facing some problem ...
0
votes
0answers
99 views

Mount a NTFS Raid0 disk under linux debian

In my new laptop I have a a RAID 0 configuration with a normal disk and a smaller SSD drive. I have removed the dvd bay and replaced the dvd player with a 256 GB SSD drive where I run linux debian. I ...
0
votes
0answers
32 views

Creating a grow-on-demand encrypted volume with LUKS

I am trying to create an encrypted, growing-as-needed file system in with Linux. I am familiar with LUKS and cryptsetup. I can create an empty file: fallocate -l 512M /root/image I can create a ...
0
votes
0answers
11 views

Linux server mount point issue [duplicate]

I have one file system that size is 5Gb, when I check with df -h /file system it shows threshold reached 98% but checking with du -sh /file system the size showing only 2gb. where is that other 3Gb ...
0
votes
0answers
27 views

CIFS samba autofs with spaces

I think that I'm having issues with autofs mounting a Windows share because it contains a space. As a matter of education, I don't want to remove the space. I want to get this working. I can mount ...
5
votes
4answers
1k views

Effectively handling 2+ million files

I have a file based DB that has about 2M files stored in 3 levels of subdirectories. 2/2/6253 2/2/6252 ... File a vary from 30 bytes to 60 KB. Whole DB is Read Only. DB is about 125 Gigabytes big. ...
1
vote
1answer
174 views

AUFS: How to create a read/write branch of only part of a directory tree?

AuFS (another union file system) allows us to merge two trees into one, even when those trees overlap. We can then direct writes to the merged tree towards one of the branches and reads to another. ...
32
votes
3answers
105k views

Mount Remote CIFS/SMB Share as a Folder not a Drive Letter

Is there any way to mount a remote CIFS/SMB/SAMBA share as a folder/directory and not as a drive letter. For example, I want this map: \\Server\ShareName -> C:\Folder\ShareName Instead of the usual ...
1
vote
2answers
1k 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 ...