Questions tagged [mount]

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

A mount is the process of attaching a file system to a computer so that it can be accessed. Depending on the operating system, a mount could be local or remote, via a network, read-only or read-write, or many other options.

1212 questions
5
votes
4 answers

mount.cifs: mount error(112): Host is down

I am trying to mount a windows samba share on CentOS and RHEL 6 machines, but gives following error. ~]# mount.cifs //example.com/Linux_Support /mnt -o credentials=/root/cifsauth,noserverino,vers=3.0 mount error(112): Host is down Refer to the…
Arun Krishnan
  • 379
  • 2
  • 3
  • 13
5
votes
1 answer

Why very slow / no directory caching with SSHFS?

I have the below in /etc/fstab and when I cd ~/dat0 and then do anything in there e.g. tab complete, it takes 10 seconds every time. I.e. it doesn't cache anything. Is there something that can be done to speed this up? ss@dat0: /home/ss/dat0…
Jasmine Lognnes
  • 2,520
  • 8
  • 33
  • 51
5
votes
3 answers

Getting NFS clients to retry mount if NFS server down when client boots

I have an NFS server that several clients mount. I am using the following in my /etc/exports on the server: /content *(rw,no_root_squash) and on the clients in my /etc/fstab I have: content.prd.domain.tld:/content /content …
z0mbix
  • 251
  • 1
  • 3
  • 10
5
votes
1 answer

error on ec2 volume mount

Am getting the following error while trying to mount a ec2 volume [ec2-user@ip-172-XX-XX-XX-XX ~]$ sudo mount /dev/xvdf /mnt mount: /dev/xvdf is write-protected, mounting read-only mount: unknown filesystem type '(null)' Also, tried to mount the…
virtuvious
  • 271
  • 2
  • 8
5
votes
2 answers

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 /home/ -bash: cd: /home/: No such file or…
surfcode
  • 245
  • 2
  • 6
  • 16
5
votes
1 answer

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 just hangs on server2. Typical Scenario: Server1 is…
Corepuncher
  • 191
  • 1
  • 3
  • 9
5
votes
1 answer

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 realizing what happened, I force-unmounted the client…
n0pe
  • 363
  • 5
  • 13
5
votes
1 answer

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 these flags are set on a particular…
larsks
  • 43,623
  • 14
  • 121
  • 180
5
votes
2 answers

Exclude mounted folders from tar archive

we want to backup our server and this seems to be pretty simple thing to do except one. Currently we use something like this: tar cvpjf backup.tar.bz2 --exclude=/proc --exclude=/lost+found --exclude=/backup.tar.bz2 --exclude=/mnt --exclude=/sys…
user2984570
  • 51
  • 1
  • 2
5
votes
4 answers

How to unmount when umount is not available?

Imagine you accidentally use mount --bind to hide /bin so that umount (and most other binaries) is not visible any more. How would you get out of this situation? Is there any way except a hard reboot?
nh2
  • 818
  • 3
  • 11
  • 21
5
votes
1 answer

Is umount -f on non-nfs volume always evil?

Edit: Executive summary (--verbose version below): I need a machine to shut down quickly in a power outage due to short battery life. Is there any reason I should not use 'umount -f' (embedded in a power-failure-case script) on a scratch drive…
5
votes
2 answers

Heterogeneous environment "roaming" profiles

By "roaming profiles" I really mean "shared home directories". So, I set up an AD pair, and shared a folder on \\ad-1\homes. Then set the AD user object to mount H:\ = \\ad-1\homes\%username%. This works fine on Windows (as you'd expect). I also…
Tom O'Connor
  • 27,480
  • 10
  • 73
  • 148
5
votes
2 answers

Mount TrueCrypt encrypted system drive on other computer?

I have bought a new HDD for installing a new operating system. Can I, in case I'm missing files, attach the old TrueCrypt-encrypted hard disk to USB and mount it in TrueCrypt? Or doesn't this work for system-encrypted hard disks?
Stefan Schultze
  • 153
  • 1
  • 1
  • 4
5
votes
3 answers

Move /var directories to to /mnt on an EC2 instance

I am trying to work on a standard configuration for a set of EC2 instances running ubuntu 12.04. These servers are going to be primarily web servers for a Ruby on Rails application. When you configure a new large instance, you are given a primary of…
5
votes
1 answer

Mounting an old LVM hard drive in Fedora 17 gives error message

On Fedora 17, I am trying to mount a hard drive as slave using the following command: mount /dev/sda5 /mnt/fedora8 And I get this error: mount: unknown filesystem type 'LVM2_member' How do I mount this hard drive?
Eric Leschinski
  • 4,211
  • 4
  • 21
  • 27