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
6
votes
1 answer

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 user guide. But I don't know the command to run once…
Lay González
  • 175
  • 1
  • 7
6
votes
1 answer

remount /tmp for the current shell

I have a command which is hard-coded to use /tmp as its working directory. /tmp is rather small, and the command is certain to fill it up, which will cause problems for other system processes. I can't modify the command, so I would like to remount…
bryan_basho
  • 91
  • 1
  • 5
6
votes
3 answers

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 something changed, the temporary mount is busy and refuses…
Michael J. Evans
  • 173
  • 1
  • 1
  • 5
6
votes
1 answer

How to reference an NFS share by UUID in the client's /etc/fstab

I have the following NFS export on my server, with fsid set to a newly generated UUID. /etc/exports: /mnt/data client(ro,fsid=b07f5af6-6b10-11e3-b4c1-00248115724d) I would then run exportfs -rav which returns no errors, but I don't know how to…
v25
  • 764
  • 1
  • 6
  • 14
6
votes
2 answers

How to update-grub on a system running overlayroot?

We ship boxes configured with overlayroot, using the following overlayroot.conf: overlayroot=device:dev=/dev/sda6,timeout=20,recurse=0 Which produces the following mount configuration: $ mount overlayroot on / type overlayfs…
mikepurvis
  • 1,067
  • 2
  • 9
  • 18
6
votes
2 answers

inconsistency between du -sh and df -h

I know this is a common occurrence when the result of du -sh is smaller than that returned by the file system with df -h. (Because some files are still open in processes etc..) But in my case I have the opposite. I'm running Ubuntu 12.04 and trying…
D.Mill
  • 379
  • 5
  • 15
6
votes
1 answer

Why is mount is forcing me to specify -t ext4 for one partition, but not the other?

I have two very similar partitions, /dev/sdb1 (labeled 'bigb') and /dev/sdc1 (labeled 'bigc'). I used to be able to mount both of them using mount -n -L bigX /mnt/donottouch/localX (with X being b or c). However, mount has recently started requiring…
pflaquerre
  • 171
  • 1
  • 5
6
votes
3 answers

How to recover data from a corrupted ext3 partition?

A server of mine had a drive failure of some sort which caused the OS (CentOS 5) to crash and stop working (it refuses to boot). So we put another drive with a working OS and from there we try to mount the partitions in the old drive. Most…
GetFree
  • 1,500
  • 7
  • 23
  • 37
6
votes
1 answer

Cannot create a EC2 server root volume greater than 8 GB

I am trying to create an EC2 large instance. AWS claims to say I shall get 850 GB instance storage if I go for Large Instance. I configure the VM to have the Root Volume size of 100 GB. But, when I start the EC2 VM and ssh to it, it just shows me 8…
rahulg
  • 407
  • 1
  • 4
  • 10
6
votes
2 answers

Symbolic Links and Multiple Mount Points

I am sure this may seem like a simple question, but I cannot seem to ask Google the correct question for the life of me. In short, I am having trouble understanding how symbolic links function when a given filesystem is mounted at multiple…
MysteryMoose
  • 281
  • 1
  • 2
  • 6
6
votes
2 answers

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 vboxsf Desktop /var/www/shared Seems to work, except by…
dmmd
  • 415
  • 4
  • 17
6
votes
1 answer

using chained automount to mount home directory

I have set up two directories mounted with automount (via LDAP): in the /home directory automount is configured to mount * -fstype=bind :/network/srv/home/& in the /network directory one entry srv …
Andreas Roth
  • 307
  • 2
  • 9
6
votes
1 answer

How do I disable NFSv3/v2 connections to a FreeBSD NFSv4 server?

I am using a Kubuntu 11.10 client with a FreeBSD 9.0 server. The server has the following lines in /etc/rc.conf nfs_server_enable="YES" nfsv4_server_enable="YES" nfsuserd_enable="YES" and the following in /etc/exports V4: / / I am not using any…
Utkonos
  • 416
  • 4
  • 15
6
votes
1 answer

VirtualBox: vboxsf filesystem wrongly detected as readonly?

I have VirtualBox (Windows XP host) running a CentOS 6.0 virtual machine, with one shared folder. Here is the list of mounted devices: [root@localhost ~]# mount -l ... www on /media/sf_www type vboxsf (gid=501,rw) Looks like it's read/write. Now if…
BenMorel
  • 4,507
  • 10
  • 57
  • 85
6
votes
1 answer

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 the iPod so that I have permission to read and…
Norman Ramsey
  • 665
  • 2
  • 10
  • 24