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

learn more… | top users | synonyms

8
votes
2answers
21k views

Mount cifs Network Drive: write permissions and chown

I have access to a cifs network drive. When I mount it under my OSX machine, I can read and write from and to it. When I mount the drive in ubuntu, using: sudo mount -t cifs -o ...
1
vote
0answers
12 views

USB umount stats: inappropriate ioctl for device [migrated]

I'm writing some code for my program to mount a flash drive using mount("/dev/sda", "/media", "vfat", MS_NOATIME, NULL) and unmount using status = umount2("/media",MNT_DETACH); qDebug("USB unmount ...
14
votes
6answers
15k views

Check if folder is a mounted remote filesystem

What is the best way (reliable, portable, etc.) to check if a given folder is on a mounted remote (nfs) filesystem within a shell script? I am looking for a command that would look like: ...
4
votes
1answer
8k views

What does 'mount point' mean in a Linux installer?

While installing Linux, it asks for a 'mount point' selection. I gave it /, but I don't know the exact meaning and aim of this. Also, now I want to create one more mount point, /home in my machine ...
0
votes
1answer
516 views

NFS server optimization for maximum performance

I'm looking for maximum of performance for a NFS mount. I'm on local network, it could be completly unsecure, the performance is the most important in my case. What I already found : In /etc/export ...
4
votes
2answers
10k views

Mount USB drive (FAT32) so all users can write to it

I have a USB FAT32 drive that is on /dev/sda2. I've mounted it as /media/bigdrive however, I get permission denied whenever I try to touch a file there as a non root user. When I run mount I can see ...
0
votes
0answers
31 views

Linux dual boot wiped Windows data

I have a Windows Vista/Debian Linux dual boot on my computer. Yesterday I did a bunch of work on Windows, while Linux was hibernated. Today I logged into Linux and tried to look at the data in the ...
0
votes
0answers
27 views

Cannot mount external hard drive after using Clonezilla

Linux Mint 17 Qiana 64-bit. Cinnamon. Yesterday I tried to back up my internal (where Linux resides) hard drive's image to my external USB hard drive using Clonezilla. Last month this operation went ...
5
votes
5answers
13k views

Ubuntu 13.04 does not recognize USB drive

Using Ubuntu 13.04 (with Gnome 3), my new USB stick (details see dmesg/lsusb) doesn't show up automatically. Situation: The drive does not show up at fdisk -l The drive does appear when running ...
5
votes
2answers
896 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 ...
2
votes
2answers
40 views

Linux sloppy mount

Could anyone describe to me what sloppy mount is? There's two mount points on my server but I have no idea how to erase the sloppy one. I hope some one could explain to me the potential faults or ...
2
votes
1answer
31 views

chroot with unionfs-fuse, can't access /dev/*

I have created the a chroot jail in combination with unionfs-fuse so that I don't need to install another system inside it. However, the resulting system's /dev entries are not readable.This is ...
0
votes
1answer
377 views

Cannot mount exFAT even though I installed exfat-fuse

So, I installed exFAT support (Lubuntu 14.04) and it all works fine in a file manager (PCManFM), but I want to mount a disk in terminal, and it says exFAT is not found? It must be if its mounted ...
1
vote
1answer
32 views

How to delete a file in QNX4 format when a CF card is mounted as read-only in Linux?

Recently, the DMA device of our lab is broken and the suspected problem is in the CF card which is in QNX4 format. I want to delete a file named 'calforce.dat' and recreate it by calibrating the ...
3
votes
1answer
430 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 ...
2
votes
1answer
3k views

NFS Mounting Error

From ServerA I shared directory /u001/app/oracle/FolderA and trying to mount this on SeverB under /media Contents of ServerA /etc/exports file /u001/app/oracle/FolderA ServerB(rw,sync) When I ...
2
votes
3answers
1k 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 ...
0
votes
1answer
440 views

Trouble getting Exfat formatted drive to mount

I've just performed a new install of arch linux (3.15.3-1) on a macbook pro 8.2 All of my data is on an exfat drive, and I've installed exfat-utils. However, when I try mount -t exfat /dev/sdb1 ...
1
vote
1answer
59 views

Mounting a NFS file system by changing default owner

I want to mount a NFS file system with user/group ownership of <admin> . How it can be done ? mkdir /cert chown admin.admin /cert mount -t nfs 192.168.2.149:/portalweb /cert/
2
votes
1answer
419 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 ...
2
votes
2answers
790 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 ...
0
votes
1answer
34 views

Mounting hard drive from FreeBSD Live CD?

Before my question, a little background info, as I'm not sure whether it might be pertinent or not: I am trying to set up full disk encryption using GELI, booting from an external thumb drive, on ...
5
votes
3answers
616 views

Gedit cannot save in shared folder (Virtualbox)

I'm getting the "Cannot save _ Unexpected error: Error renaming temporary file: Text file busy" in Gedit 2 when I try to save in a shared folder with Virtualbox (Debian). I've searched and apparently ...
3
votes
1answer
774 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 ...
2
votes
2answers
955 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
1answer
81 views

specify mount option in /etc/fstab (mode=1777)

I have following line in my /etc/fstab: /dev/mapper/tmp /tmp ext4 noexec,nodev,nosuid,mode=1777 0 0 When I try to mount /tmp, I get following error in dmesg: EXT4-fs (dm-1): ...
0
votes
0answers
14 views

Copy ISO to folder, then back to ISO cause an error

I've got an ISO image, which include install file. I use AcetoneISO to unpack ISO to my folder. Then, I overwrite file I need and: genisoimage -o myImage.iso /my_folder Where my_folder is ...
0
votes
0answers
22 views

udisks cannot read label - force to recognize (and mount under) partition labels?

This is kind of similar to How to mount removable media in /media/<LABEL> automatically when inserted, without any desktop environment?, but not exactly. For a while, I've had a setup with an ...
1
vote
0answers
19 views

Tuning NFS: Identifying source of getattr requests

we run some Linux NFS clients against a NetApp NFS storage system. Currently we have over 50% getattr requests running against the NetApp using up precious CPU cycles. Using the netapp-top.pl script ...
2
votes
3answers
6k 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 ...
4
votes
4answers
33k views

mount.nfs: access denied by server while mounting on Ubuntu machines?

I am a linux newbie and I have a very basic question. I have three machines in production - machineA 10.66.136.129 machineB 10.66.138.181 machineC 10.66.138.183 and all those machines ...
4
votes
1answer
153 views

Is it possible to look 'behind' a mount point while still mounted? [duplicate]

I have two partitions, one mounted at / and one at /crypt. I'm using a bind mount to mount /crypt/home at /home/ (and various others). Problem is that I kinda need to look at the original /home dir ...
2
votes
0answers
41 views

Weird mount behaviour

I have a weird thing happening and I can't explain. first take a look at the attached picture. As you can see I have a CentOS based AMS-ASPERA01 server in the DMZ, and I have 6 machines in our ...
1
vote
1answer
17 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 ...
0
votes
2answers
23 views

How to properly mount new hdd, to free up the old one

I installed a new hdd /dev/sdb1, and mounted to /home/ubuntu/new1, and moved some files there to free up the old hdd, but when I do du -h new1 is still takes space in the old hdd, below are my fstab ...
2
votes
1answer
29 views

Is it possible to mount two different external nfs filesystems into 2 directories with the same radix (overlapping)?

I'd like to know if it is possible to mount two different external filesystems via nfs into two directories that overlap. Do the overlaping directories cause any issues? /usr/proj/projectA ...
4
votes
2answers
411 views

Unable to delete files to trash in a bind-mounted filesystem

I'm trying to set up shared home directory for two Linux installations and thus I'm using bind-mounts. My user is named dbz and his home directory is /home/dbz. I also have shared directory ...
1
vote
1answer
24 views

FAT file-system between the MBR and first partition

I have an old 64MB USB flash-disk which seems to have MBR: root@3:~# fdisk -lu /dev/sdd Disk /dev/sdd: 64 MB, 64880640 bytes 2 heads, 54 sectors/track, 1173 cylinders, total 126720 sectors Units = ...
3
votes
0answers
287 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
56 views

How do I figure out what is preventing a bind mount from unmounting?

I have a problem with a mountpoint being too busy to unmount. Normally, lsof or fuser would tell me what process is using it, but this is a bind mount, so lsof and fuser show what is using both the ...
2
votes
1answer
32 views

Problem mounting additional partitions after kernel update

Today I upgraded my pretty ancient Debian Linux kernel (3.2-23) to 3.16-7. The machine boots okay, except that some fstab entries are suddenly causing issues. # /etc/fstab: static file system ...
3
votes
1answer
52 views

How to catch mount events on Linux?

I want to somehow get notified if a mount or unmount occurs for a USB drive. At the moment I use udev and then wait for x seconds for a new entry in /proc/mounts. This works ok if the mounting is ...
1
vote
0answers
19 views

Mounting synology disks in ubuntu

I have some files on synology disk that I would like to recover with extundelete. I have mounted the raid1 setup. So on the disk is two raid storages (md2 and md3) and they are connected to one with ...
0
votes
0answers
16 views

Sharing MySQL data between Windows and Linux?

I'm trying to share my MySQL database files between a Windows and a Linux distro (Mint). I have a dual boot plus a separate data partition (NTFS). I've tried mounting the partition with ownership on ...
0
votes
2answers
46 views

How can I mount a drive under my home directory at boot?

In my current setup, I have a RAID0 array of 2x3TB HDDs with btrfs, two partitions: / /home Under the /home directory, there are two users, both admin, one of which is myself. So far, this setup ...
3
votes
2answers
857 views

NFS partition mounted as read only

(Disclaimer: I've read "NFS sharing is read only" and I think it's not the same problem) I have just setup NFS on my raspberry (Raspbian) and I'm trying to access it from OSX. So far so good, I can ...
2
votes
1answer
28 views

Automate a mount without linux password to mount a remote cifs filesystem

I have a directory in my Debian home: /home/myuser/pchome/ which i want to use as a mount point for a remote cifs filesystem. So i have a bash script, which is run on every myuser login. This script ...
2
votes
2answers
417 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
3answers
111 views

how should I mount my ext4 partition in fstab

so that it appears in Thunar's sidebar under the name 'Schijf-2'? I am running linux mint13 xfce and this has been a headache causer for the last couple of days. the UUID of this partition is: this ...
1
vote
0answers
18 views

Is there a reason I can't mount with a prefixpath in this scenario?

I'm not sure why this scenario is so weird, but I have a particular combination where this command won't work: mount -o username=guest //192.168.1.70/Volume_1/Movies/Library /storage/movies I get ...