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
15
votes
2 answers

How do I mount sub-directory to a hard drive in Linux?

Let us assume that I have two hard drives (A,B) and have the following directories: /var/www /var/www/upload Currently if I upload a file to /var/www OR /var/www/upload ; it will be saved in drive A. How do I make the folder /var/www/upload point…
-provideralbarak
15
votes
5 answers

With virtualization, does it still make sense to use multiple mount points?

In 2013, does it make sense to still have multiple mount points on a new Linux image, or does allocating all space to / make more sense? I'd prefer to avoid the reboot required to increase the size of a mount point. I'd also prefer to monitor a…
Jeremy Mullin
  • 303
  • 1
  • 6
15
votes
2 answers

/tmp used 100% where is files?

On Centos 6.3 server I noticed that /tmp has no longer free space to store files. [root@]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg0-lv_root 99G 11G 84G 12% / tmpfs 16G…
Ken Tang
  • 289
  • 1
  • 2
  • 8
15
votes
5 answers

How to make s3fs work with IAM roles?

We are using IAM roles to maintain the machines. We now planning to mount the s3 to our ec2 instances and do the processing as per our need. We been using s3fs tool for mounting. But that doesn't seems to be working with the IAM roles. Are there any…
sriram
  • 277
  • 2
  • 3
  • 9
15
votes
2 answers

Improving SSHFS performance when reflecting changes in host directory

I have an SSHFS mount from a Ubuntu Server VM guest, mounting a host Mac OS X directory. Changes made directly in the Mac OS X host directory take approx 5 - 10 seconds to reflect in the Ubuntu Server VM guest mount. I am using the following…
chattsm
  • 329
  • 2
  • 3
  • 7
15
votes
7 answers

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, connected to the secondary IDE and set up in hardware raid…
Harel
  • 630
  • 2
  • 7
  • 18
15
votes
2 answers

Unable to mount an XFS filesystem from Linux RAID6 array ("Log inconsistent")

First time poster - my apologies if I don't get the etiquette correct. I have a ~200TB RAID6 array with 30 disks and I'm unable to mount it - I just get the message: mount /dev/md125 /export/models mount:/dev/md125: can't read superblock If I run…
Bob
  • 151
  • 5
14
votes
2 answers

Should we mount with data=writeback and barrier=0 on ext3?

We've been running a server on a VM at a hosting company, and have just signed up for a dedicated host (AMD Opteron 3250, 4 cores, 8GB RAM, 2 x 1TB in software RAID, ext3). While running performance tests, we noticed that some SQLite transations…
NeilB
  • 243
  • 1
  • 2
  • 9
14
votes
4 answers

How to understand /etc/mtab?

/dev/mapper/VolGroup00-LogVol00 / ext3 rw 0 0 proc /proc proc rw 0 0 sysfs /sys sysfs rw 0 0 devpts /dev/pts devpts rw,gid=5,mode=620 0 0 /dev/sda1 /boot ext3 rw 0 0 tmpfs /dev/shm tmpfs rw 0 0 none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0 sunrpc…
yum
  • 569
  • 5
  • 9
  • 17
13
votes
2 answers

VM Inaccessible

So I had to remotely shut down my servers last night as the air conditioner crapped out on us. I shut down the VMs and then the hosts. Fired up the 2 hosts today which auto start the VMs. Datastores for the VMs are isci LUNs located on a Synology…
Reedee
  • 361
  • 1
  • 2
  • 11
13
votes
7 answers

Can't mount nfs volume - time out

I have an NFSv3 export from a Linux fileserver which used to mount fine. The fileserver had to go down for hardware maintenance. After bringing the server back up, the Linux client can no longer mount the nfs export. No configuration has changed on…
Nathan
  • 253
  • 1
  • 2
  • 9
13
votes
6 answers

Quick way to restore or reload /etc/fstab settings?

I'm working with a complex /etc/fstab on a RHEL 6.x-based server. The system has a variety of mount options in use across eight partitions, including several bind mounts. I'm testing options and their effect on the image I'm working on. e.g. options…
ewwhite
  • 197,159
  • 92
  • 443
  • 809
13
votes
4 answers

Read only bind-mount?

I use mount -o bind to mount directories inside chroots, which works really well. The problem is that I'd like some of these bind-mounted directories to be read only in chroot. Is it possible? If not - any other way to achieve it? I was thinking…
user13185
12
votes
5 answers

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 local dev server the mount fails with the following…
silenceandshadow
  • 121
  • 1
  • 1
  • 3
12
votes
7 answers

How can I check whether a volume is mounted where it is supposed to be using Python?

I've got a backup script written in Python which creates the destination directory before copying the source directory to it. I've configured it to use /external-backup as the destination, which is where I mount an external hard drive. I just ran…
Ben Hymers
  • 703
  • 2
  • 8
  • 12