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

learn more… | top users | synonyms

0
votes
1answer
904 views

External Hard-Drive not visible in /media

I cannot seem to ssh into my external Hard-drive on "/media" it used to show up there, but now it doesn't. I have erased the Disk and verified it (on MAC OSX) and it still does not show. I have ...
0
votes
0answers
17 views

New files in a mounted directory are being created with a different user and removing write permission for other users

I am running a python script that outputs files into a mounted directory on a different computer. The script can be run multiple times in a way that overwrites the contents of created files. However, ...
2
votes
1answer
34 views

How can I fix /dev/pts after mounting it?

I made the same mistake as in this question: Debian chroot blocking PTTYs on host I mounted a "devpts" filesystem inside a chroot, and now urxvt can't create ptys. Oddly enough xterm still can. ...
0
votes
1answer
47 views

How to finally mount FAT16 USB flash drive

I have 4GB USB flash drive stick plugged into laptop on debian 8.1. It contains one bootable partition 2GB created and formatted as FAT16 in Windows. What only I did try everything didn't. Maybe I am ...
1
vote
1answer
78 views

Why can't I write to my ext4 partition even with 777 permessions?

When I touch a new file for example I get: touch: cannot touch 'file': permission denied It is a partition that is mounted in the /media directory on demand. I am the owner and I've had it's ...
6
votes
4answers
16k views

How to properly export and import NFS shares that have subdirectories as mount points also?

Server A exports directory /srv via NFS with option nohide. A subdirectory within /srv, /srv/foo, is a mount point for another location on the NFS server using --bind option, like server# mount ...
0
votes
1answer
1k views

Unable to mount root fs over NFS

I am attempting to set up the first (of many) Raspberry Pis running Pidora (a Fedora Remix) to boot from an NFS share. It is my goal to eventually place a dozen or more Raspberry Pis in the datacenter ...
1
vote
1answer
25 views

NTFS partitions with high IO load causes consuming all processor time

My system (linux 3.16, ntfs-3g 2013.1.13AR.1) has 2 NTFS partitions and 2 ext4. I have 2 hard drives, each of them has 1 ntfs and 1 ext4. I've noticed that high inpit-ouput on NTFS partitions causes ...
2
votes
1answer
178 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 ...
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 ...
2
votes
2answers
1k 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 ...
2
votes
1answer
50 views

Multiple questions about mounting multiple partitions (in Ubuntu 14.10)

I've got questions about how the Linux mount command works when used multiple times. Through an unfortunate series of events (multiple crashes in Ubuntu), I've decided that I wish to simply back up ...
3
votes
1answer
2k 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 ...
1
vote
0answers
32 views

GlusterFS how to failover (smartly) if a mounted Server is failed?

In GlusterFS, lets say i have 2 Nodes (Servers) on a Volume. Lets say the volume info is something like this: Volume Name: volume-www Brick1: gluster-server-01:/volume-www/brick Brick2: ...
3
votes
3answers
11k views

How to remount as read-write a specific mount of device?

How to remount as read-write a specific mount of device? (one folder) The file is "Read-only file system", rw-r-r, so it not allow to change permissions. I need to replace that file, then change ...
2
votes
1answer
121 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 ...
1
vote
2answers
65 views

Mac drive in use, understanding lsof

I am trying to repair permission on my external HD as I can not empty my trash when its plugged in because I get a bunch of "such file is in use". I read online that this might be resolved by ...
8
votes
2answers
17k views

How to fix boot failure due to incorrect fstab?

It seems that I have added incorrect record to /etc/fstab: //servername/share /mnt/share cifs defaults,username=myuser 0 0 When I did mount -a, it asked user password to mount network ...
5
votes
1answer
2k views

mount.cifs error(2): No such file or directory when using a prefixpath

I tried this command: mount -t cifs //server/share/directory /mnt/directory -o credentials=/path/to/cifs.credentials --verbose Response is: mount.cifs kernel mount options: ip=<IP of ...
2
votes
1answer
60 views

How to save a file from an initramfs emergency shell?

I can't boot because of some strange error. There is an error report file generated for me, to supposedly submit it along with a bug report, or whatever. So to help me figure out what the problem is, ...
6
votes
1answer
2k views

ntfs-3g: Input/output error

For the past 3 days (after an update) my Debian Jessie refuses to mount NTFS disks. I reinstalled libfuse2 and ntfs-3g, yet I get the same Input/output error I tried the same disks under Windows 7 ...
7
votes
2answers
3k views

CD disk not detected by Fedora on my Laptop

I rarely use cd's on my laptop, but I recall having the same problem a few months ago. When I put a cd in my DVD drive nothing happens. It kicked in last time without me doing anything but I don't ...
8
votes
4answers
2k views

How does Bash path completion work with sudo?

Tab path completion does not work (at least on Ubuntu and AFAIK Arch) with sudo mount <whatever> The iso file I am trying to mount is not in /etc/fstab. If I just type mount <whatever> ...
0
votes
3answers
43 views

Can't mount partitions!

I have currently installed Debian in my system alongside Windows 8.1. I have a problem in mounting my other partitions in debian. When trying to open it the following error pops up: Error mounting ...
23
votes
2answers
4k views

Where do the files go if you mount a drive to a folder that already contains files?

I just accidentally mounted a new drive to a folder that already contained files. I don't care about them and have them somewhere else, but that folder appears empty now. I'm curious what happened ...
1
vote
0answers
45 views

how do I mount an external hard drive connected via SATA Wire to CentOS 7

I have CentOS 7 installed as a guest OS inside VirtualBox running on a Windows 8.1 machine. There is a SATA Wire connecting the machine to an external hard drive that used to contain a dual boot ...
5
votes
2answers
108 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 ...
6
votes
1answer
140 views

How do I change automatic mounts of removable vfat / fat32 drives/partitions to use “noexec”?

When I plug in a USB drive it is automatically mounted on /run/media/user/fslabel. This is done, I guess by some udev/dbus/thunar/nautilus/gvfs or other system, and I find this convenient and do not ...
1
vote
1answer
310 views

“wget --restrict-file-names=windows” seems to fail converting links for NTFS

I've downloaded a website from the net using the wget command-line tool with --restrict-file-names=windows so that once the download is complete I could copy the downloaded files to a mounted Windows ...
1
vote
0answers
27 views

How should I distribute files/packages/software across multiple drives?

I am primarily a Windows user, but I am starting to use Linux more as I realize all the features it has. In Windows, I install my software that I use regularly on my 120GB SSD, along with the OS, ...
-1
votes
1answer
47 views

What does this /etc/fstab entry mean? [closed]

What does this /etc/fstab entry mean? UUID=e67dc3e4-1ac3-4a68-b43f-c77c4dc965d9 / ext4 errors=remount-ro 0 1
1
vote
1answer
33 views

How can I find out which mounted filesystems a running process sees?

After having a long debug session and finally finding out that in Fedora (and CentOS) php-fpm has its own mounted /tmp filesystem, which was caused by a systemd setting, PrivateTmp, I am wondering if ...
2
votes
1answer
23 views

DD-WRT and mount command

I want to mount my usb drives using UUID or Labels. The busybox provided mount does not support these functions. I installed mount-utils from entware. However the busybox mount overrides the mount ...
0
votes
1answer
25 views

Disk mount on a linux VM , mounted elsewhere

Hi I am using a slightly unnecessary(maybe?) kind of a set up ... A debian build_VM The build_VM ran out of space so I formatted and mounted a disk on to the build_VM But before mounting the ...
1
vote
0answers
62 views

mount.nfs: access denied by server while mounting <IP>:/

I am working on a metasploitable 2 tutorial: Rapid7 Mestasploit Tutorial Link I am attempting to perform the following actions: Getting access to a system with a writeable filesystem like this is ...
0
votes
1answer
28 views

Can I find the filesystem a file is going to be installed to? [duplicate]

I have a list of files along with their filepaths, that I'm planning to copy into a server. Is there a way, I could figure out before I copy, which filesystem it actually would go into? assuming the ...
16
votes
2answers
4k views

Why doesn't mount respect the read only option for bind mounts?

On my Arch Linux system (Linux Kernel 3.14.2) bind mounts do not respect the read only option # mkdir test # mount --bind -o ro test/ /mnt # touch /mnt/foo creates the file /mnt/foo. The relevant ...
0
votes
1answer
110 views

Why does my SD card need authentication to access?

I'm running Ubuntu 14.04 on a Toshiba Chromebook 2 via crouton. I recently reformatted a 256GB SD card that I keep in my chromebook at all times. My problem is that every time I try to access my SD ...
0
votes
0answers
17 views

How do I identify which disk(s) make up a vxfs disk group?

In case it matters, system in question is Solaris installed on SPARC. System contains two HDDs, same make/model/capacity. On one HDD are the root and var partitions/slices. /etc/mnttab shows me that ...
1
vote
0answers
45 views

In a Sun Disk Label scheme, what are partitions of type E and F?

I am working with an image (dd) of an HDD removed from a Sun server that was in use circa 2006. Using fdisk on a Debian system to view the partition table it shows 3 partitions: Partition 2: A type ...
1
vote
1answer
3k views

RHEL 7: mount windows cifs share failed

It may look like it is duplicate question but in context of RHEL 7, it is not. As RHEL 7 does not have mount.cifs binary present in /sbin, I want to know what else can be done to mount windows cifs ...
5
votes
4answers
7k views

Creating mounting point

I am mounting an image, and just realized that I have to create the directory for mounting point first. The command mount won't mount to a non-existing directory. But I seem to remember in some ...
4
votes
2answers
88 views

how to execute a script everytime any USB get mounted

I use a script that writes all mountpoints of my devices to a textfile using df. How can I execute my script everytime any device (especially USB) is mounted? script to execute: #!/bin/bash # save ...
2
votes
2answers
790 views

How to mount a dd-image which was created via fmem (memory dump tool)

I'm quite new to Linux. I've used the tool fmem for creating a memory dump dd-file. That works fine. But how can I access this image? I've tried it with mount but it says I have to specify a ...
2
votes
2answers
10k views

Can't access Windows drive: “Windows is hibernated, refused to mount”

I'm using Fedora 20 along with Windows 8. However, I'm unable to access the contents of the drive in which Windows 8 is installed. It shows: Error mounting /dev/sda2/ The NTFS partition is in unsafe ...
3
votes
1answer
875 views

How do I mount a shared VMWare folder on startup?

So I'm following this article on how to mount a shared vmware folder. I can successfully mount with the following command: mount -t vmhgfs .host:/foo /home/user/Documents/foo However, I can't seem ...
-1
votes
1answer
68 views

Difference between extracting an iso or mounting it

I'm trying to create a customized Ubuntu installation CD. In the official documentation of Ubuntu it says “Copy the CD to your hard drive” using this command: mount -o loop /path/to/iso ...
2
votes
1answer
9 views

How is locally-stored data handled when mounting/re-mounting a directory in CentOS?

I have a CentOS 5.x server and I initially had it configured with a mount point. The netfs service is enabled on boot. /etc/fstab has an entry pointing to a cifs share: //foobox.example.com/share ...
0
votes
1answer
66 views

Windows to RHEL 6 File copy - mount error 13 = Permission denied

I am fairly new to linux Administration for forgive me if I say anything that sounds crazy or if this question has been asked before. I did a search on the StackExchange and Unix & Linux site but ...
2
votes
1answer
54 views

Detect remote sshfs mounts on local machine

I would like to get back the question of this post. When a user in a remote client mounts a directory from a local server on his filesystem through sshfs, he is not visible in the server through who ...