Attaches a file system to a specified point in an existing filesystem hierarchy

learn more… | top users | synonyms

2
votes
2answers
116 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
178 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
740 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 ...
1
vote
1answer
197 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
4k 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 ...
0
votes
0answers
29 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
76 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
62 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 /dev/...
0
votes
1answer
308 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
185 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
442 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 ...
16
votes
2answers
2k 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
248 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 "read-...
0
votes
2answers
110 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. ...
3
votes
1answer
3k 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 ...
1
vote
1answer
1k 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 ...
6
votes
1answer
975 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 read-...
0
votes
1answer
127 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
93 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
1k 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
104 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
265 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, ...
3
votes
1answer
1k 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
2k views

Mount iscsi drive at boot - system halts

I am running Oracle Linux 7 (CentOS / RedHat based distro) in a VirtualBox 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 ...
5
votes
1answer
3k 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
6k 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
1answer
24 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), mount(...
0
votes
0answers
260 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
183 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
2k 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
67 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
116 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 ...
2
votes
1answer
471 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
116 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
1k 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
48 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.
4
votes
2answers
20k 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: http://forum.xda-developers.com/showthread.php?t=...
0
votes
1answer
152 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
34 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
235 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 username="user",password="pass",dir_mode=0777,file_mode=...
5
votes
1answer
3k 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 ...
2
votes
2answers
678 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
176 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
482 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 ...
1
vote
1answer
33 views

Storing documents and backups on several different drives

Currently I have Ubuntu installed on a 120GB SSD. However I also have 3 more hard drives installed on the computer, 2 x 640GB in aRAID array and a 60GB SSD. What I am trying to achieve is to use the ...
1
vote
1answer
349 views

Is it possible to mount a file with different ownership/permissions?

I have been experimenting with privilege escalation using the mount command and would like to know if it is possible to create a suid file owned by root without having access to any external device. i....
0
votes
1answer
899 views

NFS File Mounting error in centOS

I'm trying to mount server filesystem using NFS in centos. But I'm getting Connection timed out error. Below are the steps I followed. At server side: [centos@ip-172-31-46-199 landingzone]$ sudo vi ...
2
votes
2answers
96 views

Concatenate two files to loop-mount the filesystem inside them

I have two files diskimage.part1 and diskimage.part2 on an external slow (USB 2) hard drive and I need to do the equivalent of cat diskimage.part{1,2} > diskimage mount -o ro,loop diskimage /tmp/...
1
vote
0answers
345 views

How to mount sdb directly or using LVM partitions on sda?

I am new to LVM and VM yet, and I need to be able to access sdb like /mybackup/ 1 - should I have sdb1 created then mount? 2 - should I mount sdb as whole disk without LVM? 3 - create lvm and than ...