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

learn more… | top users | synonyms

1
vote
0answers
23 views

Simple automount USB devices with fstab: is it normal behaviour?

I notice that adding this in /etc/fstab: /dev/sdb1 /media vfat nofail 0 0 will automount any SD card of my USB SD reader, and even auto-remount if I remove the card, and insert a new ...
2
votes
1answer
22 views

How can I (easily) map a block device node to the directory it's mounted on?

I need to find (in C or C++) the used space on a filesystem (Linux) when being provided only with the disk block device name and the partition number. For most filesystems I can go: Craft a dev ...
2
votes
1answer
16 views

Slow root / mounting time

By running dmesg -t -d on my Raspbian/Debian Jessie, I see that this is a bottleneck in my booting process: [< 4.777880>] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. ...
1
vote
0answers
11 views

How to debug an udev rule (in /etc/udev/rules.d/…)

I'm creating a new basic rule /etc/udev/rules.d/10-myrule.rules containing: KERNEL!="sdb*", GOTO="auto_mount_end" ACTION=="add", RUN+="/usr/bin/mount /dev/sdb1 /media" LABEL="auto_mount_end" I ...
0
votes
0answers
12 views

Force mounting, bypassing fsck

When I try to mount some SD card, it fails and dmesg displays: [ 124.121735] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run ...
1
vote
1answer
22 views

Login to user's session with chroot

I have an USB thumb stick with the following partition scheme: sdb sdb1 -> root partition '/' sdb2 -> /home partition If I boot from a live CD, or just from my current Ubuntu OS ...
0
votes
0answers
13 views

flash drive boot questions [closed]

I have an old (256 mb memory) stable pc running Win XP on its C drive, and some new 8gb usb2 flash drives. Although I have internet access through my apartment manager's office, my old pc has no ...
0
votes
2answers
37 views

Debian : Mounting a raid array

I have a Debian system on which we migrated to a SSD for faster execution. Before that we had a 2.0Tb hard disks in RAID. Now we want to use the RAID drives to perform storage generated by the ...
1
vote
0answers
22 views

New SSD only mounts after issuing blkid command. [Ubuntu 14.04]

I have a new Intel SSD Pro 2500 installed on a SATA3 port as a secondary drive. It is formatted as a primary ext4 partition. My fstab line is : UUID=1e33881a-d6cf-4933-be70-0aa837641af6 /mnt/ssd ...
4
votes
2answers
52 views

Prevent the Gtk file dialog from listing mount points

When I open the Gtk file dialog, there is a box called “Places” on the left-hand side which lists “Search”, “Recently Used”, a bunch of directories, and several things that appear to be volumes. I ...
0
votes
0answers
21 views

Contract file to mount iso?

I use contract files in /usr/share/contractor to add context menu options to the Pantheon file manager of Elementary OS. What would be the content of a such file for a menu entry like 'Mount iso'?
1
vote
1answer
20 views

Mount host directory in a virtual machine

I have a directory on a system which is the host for a virtual machine. I want to make this directory accessible from the guest of the virtual machine. There are some way I can think of, packing the ...
0
votes
0answers
17 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 ...
3
votes
1answer
96 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.
0
votes
1answer
33 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
18 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 ...
2
votes
1answer
88 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 ...
30
votes
1answer
783 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
41 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
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. ...
1
vote
3answers
59 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
30 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
68 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
16 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
46 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
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 ...
3
votes
0answers
33 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
31 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
328 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
62 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
52 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
96 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
29 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
58 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
27 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
169 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
40 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
31 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
88 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
36 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
35 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
59 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
18 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
60 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
146 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
15 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
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), ...