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
12
votes
5 answers

Why do you have to create a directory before you can mount a share?

Why do you have to create a directory before you can mount a share to it? Eg: I've never understood why mkdir is needed here: mkdir /Volumes/foo mount -t afp afp://username:pass@pretendco.com/foo /Volumes/foo
username
  • 4,755
  • 19
  • 55
  • 78
11
votes
9 answers

How can I mount an FTP to a drive letter in windows?

I'd like to mount an FTP to a drive letter in windows, I've used Novell's NetDrive, but there are two main problems, 1) it tends to slow down computer alot 2) it doesn't seem to work at all under Vista. Are there any applications that will allow me…
Unkwntech
  • 1,760
  • 4
  • 19
  • 24
11
votes
5 answers

Mounting a partition from a raw DD image file of a physical disk

I have a DD image taken from the raw HDD image (/dev/sdb). This image file contains an XFS filesystem that I need to mount. It is much too large to restore to disks (2.6TB img file) so I would like to mount it using loopback. However, the partition…
coderego
  • 175
  • 2
  • 8
10
votes
1 answer

Samba (CIFS) mount error(9): Bad file descriptor

I had successful connections from my main workstation PC (which uses Fedora 29 Workstation) to my mother's laptop (Windows 7 HP) network share few times using mount.cifs, but since not too long it has become impossible for me to do it. For example,…
10
votes
1 answer

Remount root RW without reboot

Today I did something stupid on production xen vm server. I mounted the external device mapper as read only to make a copy of the filesystem. This process went well but then the rootfs / become read-only inside the guest machine. /dev/xvda on / type…
posixcompliant
  • 101
  • 1
  • 1
  • 3
10
votes
4 answers

Secure way to mount a password protected cifs share in mac

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. Actually, I already have a working perl script, however, the password seems is part of the command…
icasimpan
  • 616
  • 3
  • 6
  • 15
10
votes
8 answers

How can I mount a hard drive as read-only on Windows XP?

I recently had reason to move a hard drive from a computer that blew up to another computer for the purpose of recovering data. Under the (unfortunate) circumstances, both the donor and the recipient were Windows XP SP3 machines. I wanted to be…
eleven81
  • 417
  • 6
  • 13
  • 29
9
votes
1 answer

Mount a partition to two mount points

I have a partition called sda4. And I want to store the mysql data and xml files on that partition because the partition which mysql and domain are installed has little space. So I'm planning to have two subfolders under the sda4, one for mysql and…
Pelang
  • 413
  • 5
  • 9
  • 15
9
votes
3 answers

How To Prevent Access To Unmounted Mount Point

Ok, I have this in fstab //windows_mashine/Backup /backups cifs credentials=/root/.credentials,rw,_netdev,iocharset=utf8,uid=1000 0 0 I have rsnapshot in my cron which backups /etc/ and /usr/local/ and some other files to /backups Recently I…
jonny
  • 357
  • 1
  • 3
  • 15
9
votes
4 answers

How to mount a .bin image file in linux

I used the AWS import service to import a large (2TB) drive, and they dropped two .bin files in my S3 account. Their instructions say to stripe together to EBS volumes to make a drive large enough to hold the image and then to just use that. Well…
UltimateBrent
  • 469
  • 2
  • 7
  • 13
9
votes
2 answers

Is there a flag I can pass to either `df` or `mount` to make them display results for only locally-mounted file systems?

I'm getting mighty tired of having to manually egrep out NFS- and SMB-mounted file systems whenever I am checking on the condition of locally-mounted file systems. Is there some combination of flags that I can pass to either df or mount that will…
ZaMoose
  • 299
  • 1
  • 3
  • 9
9
votes
1 answer

Is remounting same file system with different options disruptive for current operations?

I want to remount a file system with optimized options (noatime,nobarrier,etc.) on SLES11. I was going to do it by updating /etc/fstab first and then do something like mount -o remount /srv/share. The problem is that there are images of several…
dtoubelis
  • 4,677
  • 1
  • 29
  • 32
8
votes
2 answers

Mount dd image with multiple partitions

I have created an image of a disk using dd using the command dd if=/dev/sdb of=/jobs/image.dd. The SATA drive /dev/sdb has 3 partitions on it (one NTFS, two FAT32). How do I mount the complete image with all its partitions in one go? I actually…
Luke Bibby
  • 137
  • 3
  • 6
8
votes
2 answers

Is there a way of exporting fstab info for device which is currently mounted?

Does there exist any tool which can tell you what the fstab line for a mount should be? Ie. it looks at something which has been mounted manually and tells you the line which you would have to add to /etc/fstab to have the same mount be…
jwg
  • 181
  • 6
8
votes
5 answers

zfs - two pools with nested mountpoints and conflicting mount order

I have a problem with automounting separate pools, that have nested mountpoints. I am using ZfsOnLinux 0.6.2. The siuation currently is as follows: zpool1 ---> /var zpool1/log ---> /var/log zpool1/mail ---> /var/mail Now I need to add a…
Paweł Rumian
  • 183
  • 1
  • 6