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
33
votes
9 answers

In windows, how to mount folder as a drive

I have some folder, say C:\foo I want to mount as drive M:\ In linux I would do this with a bind mount.
Ian Kelling
  • 2,661
  • 6
  • 23
  • 21
32
votes
4 answers

Can we mount multiple disks as one directory?

Is there a way to mount the different disks as one directory? Assuming I have some disks with ext4 partitions: /dev/sda1 1Tb mounted as /store1 /dev/sda2 2Tb mounted as /store2 /dev/sdb1 2Tb mounted as /store3 /dev/sdb2 2Tb mounted as /store4 I…
Arman
  • 575
  • 2
  • 8
  • 18
29
votes
1 answer

Cannot mount block device /dev/loop read-only

I've got a ubuntu 14.04x64 VM running on Virtualbox on a Windows 7 x64 host machine. I'm trying to mount an image for forensic uses, and am trying to run this command in particular: mount -o ro,loop,offset=1048576 -t xfs…
Maumee River
  • 415
  • 1
  • 4
  • 5
28
votes
5 answers

CentOS thinks Disk is busy, can't mount or fsck

I'm a longtime user, and first time question submitter. I've spent a full day searching this and many other sites for a solution, but I must resort to requesting assistance to resolve my situation. History: Our HP Proliant, Centos 5.9 server was…
TripSixes
  • 383
  • 1
  • 3
  • 6
28
votes
5 answers

Why is an nfs server mounted as rw returning read only filesystem errors

I am working on a Ubuntu Server 64bit. I have mounted an nfs as rw, but whenever I try to edit anything on the mountpoint in question, I get a read-only filesystem error my etc/fstab reads: #
stupac8908
  • 393
  • 1
  • 3
  • 5
24
votes
4 answers

ln -s vs mount --bind

Is there any practical difference between using ln -s or mount --bind? I want to move some folders to another partition, without changing their daemon setting, and wonder what approach I should take. I prefer ln -s as it requires minimum setup (no…
SyRenity
  • 3,179
  • 11
  • 57
  • 79
24
votes
4 answers

Differences between /dev/sda and /dev/sda1

I know that /dev/sda is the raw device, and that /dev/sda1 is the partition or virtual device. But I'm a little confused as to why the sda# only comes up some of the time, or only on certain systems. What causes this to occur? Perhaps the times when…
decoy
  • 393
  • 2
  • 3
  • 6
23
votes
3 answers

Mount a SSHFS volume into a Docker instance

I use SSHFS to mount a remote filesystem on my host and I want to be able to access it from inside a Docker container. I mount the remote filesystem sshfs -o idmap=user,uid=$(id -u),gid=$(id -g) user@remote:directory /path/to/sshfs And, using…
Ralph
  • 333
  • 1
  • 2
  • 5
23
votes
6 answers

How to clean up an unprocessed orphan inode list?

I tried to mount a formerly readonly mounted filesystem read-writeable: mount -o remount,rw /mountpoint Unfortunately it did not work: mount: /mountpoint not mounted already, or bad option dmesg reports: [2570543.520449] EXT4-fs (dm-0): Couldn't…
bmk
  • 2,339
  • 2
  • 15
  • 10
23
votes
4 answers

fstab and cifs mounting, possible to store authentication information outside of fstab?

I am currently using cifs to mount some network shares (that require authentication) in /etc/fstab. It works excellently, but I would like to move the authentication details (username/pass) outside of fstab and be able to chmod it 600 (as fstab can…
TJ L
  • 474
  • 3
  • 7
  • 18
23
votes
2 answers

Is it safe to mount the same partition to multiple VMs?

I'm using ubuntu 20.04 with Xen Hypervisor. On my machine I have an SSD that hosts my VM images, and then four sata drives which I have data on. My current set up is to mount the data on my domain0 and then provide that data to the other VMs over…
curios
  • 363
  • 2
  • 9
22
votes
3 answers

How do I pass credential file to mount.cifs?

I'm maintaining a heterogeneous network of mac and linux so I decided to create a little perl script to unify mounting strategies across machines. The current implementation in linux is in /etc/fstab works fine: //myserverhere.com/cifs_share…
icasimpan
  • 616
  • 3
  • 6
  • 15
21
votes
4 answers

How to use "Instance Store Volumes" storage in Amazon EC2?

According to AWS I got 850 GB storage with the Medium EC2 server. But when i create an Amazon Linux AMI, I am unable to use the 850 GB provided. While creating it does show in Storage Device Configuration in Instance Store Volumes that its device…
rahulg
  • 407
  • 1
  • 4
  • 10
21
votes
3 answers

How do I forcibly unmount when I'm getting stale nfs file handles?

Got myself into a tricky situation. Have aufs mounted at /mnt/1 aufs on /mnt/1 type aufs (rw,relatime,si=daab1cec23213eea) I can't unmount the thing: sudo umount -f /mnt/1 umount2: Stale NFS file handle umount: /mnt/1: Stale NFS file…
UsAaR33
  • 1,096
  • 3
  • 11
  • 20
21
votes
1 answer

Birth time of files are missing if file is created in a logical volume with size less than 512 MB

I have a volume group in my system, created with single physical volume. I'm creating two logical volumes - one with size 100M and one with size 512M. Any file created on LV with 100M size does not display birth-time attribute. LV with size 512M…
m.divya.mohan
  • 333
  • 1
  • 6
1
2
3
80 81