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

learn more… | top users | synonyms

30
votes
1answer
834 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 ...
2
votes
2answers
46 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 ...
1
vote
1answer
44 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. ...
1
vote
3answers
79 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 ...
0
votes
1answer
42 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 ...
2
votes
1answer
148 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
22 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 ...
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 ...
0
votes
0answers
49 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 ...
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 ...
0
votes
1answer
20 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 ...
3
votes
0answers
41 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 ...
1
vote
1answer
36 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 ...
14
votes
2answers
338 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
0answers
89 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
2answers
61 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. ...
1
vote
1answer
118 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
33 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
88 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
46 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 ...
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 ...
5
votes
1answer
188 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 ...
0
votes
1answer
41 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 ...
2
votes
1answer
34 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 ...
1
vote
0answers
145 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. ...
4
votes
2answers
39 views

Can I mount a case-insensitive tmpfs/ramfs?

I would like to utilize the performance of tmpfs/ramfs for some file operations, but the programs/processes that use these files assume a case-insensitive file system. I cannot find any documentation ...
2
votes
1answer
47 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, ...
2
votes
1answer
91 views

bind mounting and df output

I have a partition, /dev/sdb1, that gets mounted at /data. In /etc/fstab I have: /dev/sdb1 /data ext4 defaults 1 2 After that partition gets mounted, I then have the following ...
2
votes
1answer
22 views

Mount iscsi drive at boot - system halts

I am running Oracle Linux 7 (CentOS/RH) in a Virtual Box VM on a Mac with OS X 10.10. I have a Synology Diskstation serving as an iscsi target. I have successfully connected to the Synology, ...
3
votes
1answer
84 views

Remount a busy disk to read-only mode

I want to force a disk partition to read only mode and keep it read-only for more than 30 minutes. What I have tried: mount -o remount,ro (partition-identifier) (mount-point) -t (filesystem) ...
0
votes
0answers
346 views

mount exFAT HDD on CentOS 7

I'm running CentOS 7 on my server. I can't yum install fuse-exfat exfat-utils so I installed exfat-utils 1.0.1-1.el7.nux and fuse-exfat 1.0.1-1.el7.nux via RPM. I have a WD Green hard disk, which is ...
0
votes
0answers
16 views

Could a defunct Oracle backup script cause the database to be unavailable?

I have a backup script running on RHEL 6 backing up my Oracle environment that I found defunct this morning. I don't have any more information on the defunct process yet, but I might tomorrow morning ...
0
votes
1answer
17 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), ...
0
votes
0answers
34 views

Cannot mount LVM partition after restoring LVM metadata

I have resized two LVM partition (/var and /home) and somehow resize process went wrong. After reboot system wasn't able to mount /var and /home. I have used RIPLinux to check if I can mount those ...
0
votes
1answer
42 views

mount times out with iptables --policy OUTPUT DROP

I previously ACCEPTed all output traffic by default. Recently changed the policy to DENY output by default, only opening ports needed for server/application functionality. When I tried to mount a ...
1
vote
2answers
129 views

Debian: umount /media/usb0: “Operation not permitted”

I recently moved from Ubuntu 14.10 to Debian Testing. Under Ubuntu I had a shell script for backing up my home folder to a USB stick. The last line of the script unmounts the USB stick. Adapting it to ...
0
votes
0answers
40 views

How to make OS to mount USB as user

In debian jessie KDE, when I plug USB stick and click it in dolphin (it mounted automatically), stick mounted as root, while I am using standard user account. So I need to get superuser to manipulate ...
0
votes
1answer
24 views

Make nginx the owner of a file when mounting to VBOX

My issue is when I mount a folder from my desktop to virtualbox on Mac osx Yosemite It sets the permissions to drwxr-xr-x. 1 root root Using the command: sudo mount -t vboxsf sharename mountpoint ...
1
vote
1answer
64 views

Remount sshfs directory - how to handle this?

There are a bunch of files in a remote directory which I want to access over sshfs and then script some operations. In practice, I wish to access different files at different times, and perform ...
1
vote
0answers
34 views

Compiling ntfs-3g from source doesn't yield ntfs-3g binary

I've been battling ntfs-3g for a day now. My goal is to be able to add a non-auto entry to fstab such that I can type mount /media/kael/my-ntfs-partition and have it mount rw without any weird ...
4
votes
6answers
333 views

Which partition is mounted to where? [duplicate]

How can we check the mount points for partitions listed in /dev/sd*? For example, I would like know if the partition for my home is /dev/sda4.
1
vote
1answer
27 views

Scheduling a task whenever the system starts

I've installed Ubuntu alongside Windows 8.1. I want to create a task that mounts some of my Hard disk drives whenever the system starts. What Linux command can I use? Thanks in advance.
1
vote
1answer
565 views

Mount MTP Android Device in Linux Mint 17.1

I need help in mounting my ASUS Android device in Linux Mint 17.1 (MTP). My pc didn't see my device, so I tried following the answer in this page: ...
0
votes
1answer
41 views

How to properly mount a USB flash drive from the console?

I want to know what are the mount options that I require to mount a USB flash drive. sudo mount -t auto -L ultra_fit ~/usb_flash -o ? I mount it and when I try to cd to a folder within the drive, it ...
3
votes
0answers
30 views

how to see original and --bind mountpoints [duplicate]

Lest say I mount a usb drive to /mnt and next I run this... mount --bind /mnt /tmp/test.d It's a successful bind, but now when I run lsblk only the bind point shows. How can I get all bound and ...
0
votes
1answer
95 views

Mount permissions

I want to do this: Mount a network folder. Read files from that folder. I'm doing something like: mount //10.19.6.40/folder/ /mnt/folder/ -o ...
3
votes
1answer
341 views

What does the 'seclabel' mount option do?

I use Nagios and check_mk to monitor some servers. I get several warnings about the mount options of a couple of servers. The message is: 'OK - missing: seclabel'. I can't find documentation about ...
1
vote
1answer
45 views

How to mount automatically sshfs when RSA authentication is not an option?

I would like to mount a file system on a remote machine automatically at each Linux startup. However I always need to use password authentication because I cannot use ssh-copy-id. How do I make this ...
2
votes
2answers
51 views

How does one permissibly access files on non-booted system's user's home folder?

I have a dual boot system with Mint 17.1 and Centos 6.6 I want to access a file in my CentOS user's home directory from Mint. (I cannot boot CentOS right now.) What is a clean/standard method for ...
2
votes
2answers
74 views

How do I prevent Ubuntu from writing ANYTHING to an external harddrive?

There are two reasons you would want to prevent Linux from writing anything to an external harddrive or USB drive when you plug it in: To recover accidentally deleted files from now "empty" part of ...