mount command, allows mounting of a file system at a specified point in the file hierarchy.

learn more… | top users | synonyms

0
votes
1answer
4 views

Mount directory as read write partition to virtual machine

I've googled and didn't find any dicussion about this subject. There are some way I can think of, packing the directory to iso or img file which means make a copy of the directory, not the directory ...
2
votes
1answer
79 views

Mount linux mount in windows (without ftp)?

I successfully mounted my external hard drive (ntfs) to /mnt/seagate. I'm using debian and the server is connected over LAN to my PC. So how can I mount my hard drive in my windows explorer without ...
0
votes
0answers
14 views

how to visit the content of a directory that has been mounted to somewhere else? [duplicate]

As the title. I am sure that the directory is not emptied before the mount. Once it is mounted, only files in the mounted address will be displayed. This means that the files orginally stays in the ...
2
votes
2answers
38 views

How to mount a filesystem by 2 operating systems simultaneously?

I was wondering, is it possible to have my Raspberry Pi mount the SD that is also mounted by an digital camera? I have a scenario where I take pictures relatively fast (Raspberry Pi triggers the ...
3
votes
1answer
70 views

What is a bind mount?

What is a “bind mount”? How do I make one? What is it good for? I've been told to use a bind mount for something, but I don't understand what it is or how to use it.
2
votes
1answer
106 views

Two *different* mountpoints having the *same* absolute path (bind-mount problem)

Scenario a NFS share is mounted on /mnt/temp/dir (and other shares are mounted in subdirectories), I umount everything there but supposedly, it doesn't work well (maybe I start with umount ...
18
votes
1answer
408 views

What happens when you 'mount over' an existing folder with contents?

Right now /tmp has some temporary files in it. When I mount my hard drive (/dev/sdc1) on top of /tmp, I can see the files on the hard drive. What happens to the actual content of /tmp when my hard ...
0
votes
1answer
26 views

Make udisks2 clean up stale mount points?

udisks2 with udiskie are set up to automount USB storage devices. Connecting a pen drive labeled MYDRIVE, it is mounted to: /media/MYDRIVE When pulling the drive without prior unmounting, the above ...
0
votes
1answer
25 views

Deleting partitions without losing data

Case 1: Let's say I mount /dev/sda3 /var and this entry is not in /etc/fstab. After unmounting /var, if /dev/sda3 is an unused partition (no entries in the fstab), if I delete it I will not lose any ...
0
votes
1answer
16 views

Several specific configurations to the file system

Task: "You have to configure the /home's filesystem-mounting-method in such a way, so that all I/O operations will be always done in a synchronic mode, without the possibility of using the SUID ...
5
votes
2answers
1k views

Querying an overlayfs

I'm looking for a way to query a mounted overlay filesystem (overlayfs) in order to check it's upper and lower directory, but until now I haven't found any suitable command for that. Is there is a way ...
1
vote
3answers
40 views

My SD card has a partition but Linux doesn't create a device entry for the partition

OK, I don't know what's going on here, at first I thought it was a problem I remember having some time ago where I couldn't mount a vfat partition because it had some flag set that it had not been ...
2
votes
1answer
388 views

Can`t mount external hdd

I am using Debian and I`m using Windows as well (much longer). I loaded a external disk on Windows but when trying to mount on linux again I keep getting the same error: Error mounting: mount exited ...
1
vote
1answer
33 views

Automatically run command before umounting a filesystem

I want to execute a command automatically shortly before a filesystem is unmounted. The command still needs the filesystem to be mounted but I am interested in information as "new" as possible. ...
3
votes
1answer
1k views

Why does pam_mount ask for password?

I used the pam-auth-update tool in order to enable some pam configuration profiles: PAM configuration PAM profiles to enable: [*] encfs encrypted home directories [*] Unix ...
0
votes
1answer
14 views

How do I install cifs-utils? [on hold]

How do I install cifs-utils on Oracle Linux Server release 5.8 2.6.32 400.21.1.el5uek x86_64 GenuineIntel x86_64? I need to mount a Windows share on Linux. # yum -y install cifs-utils Setting up ...
2
votes
1answer
39 views

“mount: wrong fs type..” error when mounting USB

I'm stuck trying to mount a USB drive on a Raspberry Pi (Wheezy). I've reformatted it (ext4) and tried re-mounting it in /media/owncloud (following sudo chown -R pi:pi /media/owncloud), but hit an ...
1
vote
0answers
12 views

Virtualmin, mounted disk under home directory, but having permission errors

I have a virtualmin installation in debian 7. My hard drive was full so mounted a second under home directory (/home/disk2) using fstab file. I created a virtual server and moved it to second drive by ...
2
votes
2answers
1k views

busybox initramfs loop mount

I'm trying to loop mount my root filesystem (a loop file) within a busybox initramfs. I try to run the command: mount /rootfs.raw /root ... which works on my Ubuntu laptop, however, I simply get ...
2
votes
2answers
820 views

Mount windows share

I've just literally spent about 2 hours trying to simply mount a windows share on linux. Mounting with cifs causes deadly hangs as discussed here. So I tried to mount via nfs as discussed in this ...
1
vote
1answer
29 views

I can read from hard disk, but I can't mount it read only

I have some problems with my hard disk - maybe it is broken, maybe the SATA cable is broken, I am just investigating it. One thing is strange. I can read raw data from this device using: # cat ...
2
votes
1answer
616 views

Access files from BTRFS image on similar filesystem

Backgroud: Running XBian (Debian ARM distribution for Raspberry Pi), which uses BTRFS. I fragged my system and decided to start over. However, I ripped the image from the root filesystem device before ...
0
votes
0answers
38 views

Conceptual question about data corruption and mounting

If we have a partition /dev/sda1, and mount it to a mount point (i.e. /mnt), we can then use the files and folders under /mnt. Before changing the partition /dev/sda1 I umount /mnt, and then perform ...
0
votes
0answers
25 views

When does the “/mnt/username_home_dir” appear?

The problem I have to solve requires the access to the /mnt/username_home_dir directory, but there is no such directory present, despite me creating a user and auto-creation of his /home/username ...
2
votes
1answer
2k views

How can ubuntu/truecrypt be configured so users can mount volumes if-and-only-if they have proper permissions on the mount-point?

If I add the line: ALL= /usr/bin/truecrypt to the sudoers file this lets all users mount volumes at arbitrary mount-points. The problem is a user could create a truecrypt volume and then mount it at ...
3
votes
0answers
29 views

Run systemd service after automount but after it's accessed

Is it possible to run a systemd service that prepares an automounted file system for use? This service would need to run after the filesystem is mounted, but before whatever triggered the automount ...
22
votes
2answers
95k views

How to get the complete and exact list of mounted filesystems in Linux?

I usually use mount to check which filesystems are mounted. I also know there is some connection between mount and /etc/mtab but I'm not sure about the details. After reading How to check if /proc/ is ...
3
votes
3answers
6k views

Format windows (NTFS) hard drive on Ubuntu using command line

This is really a two part question. I've never formatted a hard dirve on Linux/Unix, so please bear with me. I had an old Windows machine which recently died. So I decided to put the hard drive into ...
5
votes
4answers
6k views

Mounting multiple devices at a single mount point on Linux

Is there a way to mount multiple hard drives to a single mount point? Let's say I run out of space on /home and decide to add an extra hard drive to the computer. How do I scale the space on a mount ...
2
votes
1answer
30 views

Clustered NFS server reply ERR 24: Auth Bogus Credentials (seal broken)

I have 4 servers on the VirtualBox. Two of the servers are a CentOS 7 cluster with Pacemaker(corosync), and they have an NFSv4 server in Active/Passive mode. There are also 2 clients with CentOS 6, ...
0
votes
1answer
13 views

run a script from rc.local, that exists on an autofs nfs share

I mount some nfs exports from a fileserver to my workstation. The workstation is ubuntustudio 64bit 14.04. in order to make the mounts as transparent as possible, I have inserted the following in my ...
13
votes
2answers
317 views

Is there anyway to automatically mount a filesystem when I open a symbolic link to a directory on that filesystem?

I am using Arch with Xfce. Recently, I have created a symbolic link to a directory on a filesystem. But I don't want to mount the filesystem during boot or manually mount it before I open the ...
1
vote
1answer
29 views

Can't write on recently created EXT4 partition

On a new external hard drive (Intenso 05-1204-18A), I made (with GParted) two partitions : Disk /dev/sdc: 931.5 GiB, 1000204883968 bytes, 1953525164 sectors Units: sectors of 1 * 512 = 512 bytes ...
0
votes
2answers
50 views

Where are all the disks used?

This is almost a little embarrassing to ask, but I just can not figure this one out myself really. I'm trying to find out where the disks of my machine are used and if they are actually used at all. ...
2
votes
1answer
29 views

Why was it necessary to restart apache webserver to copy files via php on newly mounted filer?

Scenario allready running Apache Webserver 2.4.2 on Solaris 5.10 newly added nfs mount as target for copying files via php executing cp via shell with the same user as the webserver works copying ...
3
votes
2answers
876 views

group option in fstab not working

I'm trying to take advantage of the "group" option for fstab entries and not having any success. From the mount man page: Normally, only the superuser can mount filesystems. However, when fstab ...
1
vote
0answers
41 views

Mount partitions read only in pantheon-files on ElementaryOS

I've currently dual booted my laptop with windows 8.1 and ElementaryOS Freya. As I've enabled the fast bootup feature in Windows, I can only mount the NTFS Windows partition on ElementaryOS as ...
0
votes
1answer
37 views

Force Filesystem Reread / Remount

Is it possible to force a complete re-read of a mounted filesystem (EXT4) from disk in a blocking manner? I have a potential situation where independent and external hardware can modify a filesystem ...
0
votes
1answer
15 views

Running mount -a generates this error

This is my fstab # # /etc/fstab # Created by anaconda on Mon Dec 29 13:09:14 2014 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), ...
1
vote
1answer
71 views

Permission denied on mounted devices

I have checked many similar questions but the solutions didn't work for me. On my previous Debian wheezy installation I could mount devices from GUI with no permission problem and also after upgrading ...
0
votes
0answers
26 views

Unable to mount hard disk partition in ubuntu 12.04

I accidentally unmounted my hard disk partition, and then clicked on "edit partition" to further break the partition. Now there's no option to mount and fdisk -l says: Disk /dev/sda: 160.0 GB, ...
1
vote
1answer
738 views

SliTaz, usb stick, unable to mount iso or to find a filesystem on it rootfs.gz

I deleted every partition on my system, even the partition on my usb stick. Then I created a partition with SliTaz which I'm currently on. But then I found out that my usb stick didn't get discovered ...
1
vote
0answers
73 views

USB Stick recognized but not mountable

I have a USB Stick which is recognized by my laptop but there is no partition to mount. The device is listed in /dev/ as sdb but no partition /dev/sdb1. fdisk -l also displays nothing about /dev/sdb. ...
1
vote
1answer
46 views

Problem mounting mmcblk

I'm using Lubuntu 14.04 on a Vaio laptop. When I insert my card it is not automatically mounted. I need to remove and insert around 3 or 4 times until the file manager opens. So I'm trying to mount ...
0
votes
0answers
30 views

Permission to execute denied for every file in /tmp: [duplicate]

When I try to execute any program from the /tmp directory, it shows me /tmp/file_name: Permission denied. The same error is shown when I simply enter /tmp. The file system for /tmp is ramfs. I've ...
0
votes
0answers
19 views

how to mount samba dir into lxc container

I want to have access to samba dir inside lxc container. I found, that i can't mount directly, but have to mount samba to host, than use bind mount in container's config. I add ...
3
votes
3answers
7k views

Cannot mount samba share: Mount error (22)

I am trying to mount a password protected samba share. When I access the share via smb://server/share in nautilus there is no password/user promt, it seems I am logged in as a guest and I can browse ...
5
votes
1answer
164 views

what does mount -o remount,ro / actually do (under the hood)

To remount a mounted filesystem to read-only, I can use following command: mount -o remount,ro /foo This is used for example in the shutdown sequence, where root filesystem (/) is remounted ...
1
vote
2answers
686 views

Can I mount a microsoft mirrored dynamic disk?

I'm testing out sw raid in windows 7, but I almost always use linux and I would like to know if it's possible to mount such a mirrored dynamic disk. I can already mount each members separatly but ...
3
votes
1answer
4k views

Mounting a multi-partition (GPT/HFS+) USB 2.0 harddrive on Debian

I have a 3TB USB 2.0 hard-drive which has two HFS+ (Mac) partitions using GUID partition table for the partition records. It was partitioned with Mac OS Disk Utility. How can I mount these partitions ...