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

learn more… | top users | synonyms

4
votes
1answer
110 views

How can I get information about remote directories mounted through sshfs?

If I mount a directory from a remote server on my local machine using sshfs, how can I find out such details as: Whether any such mount is currently mounted; The user who mounted it; The remote and ...
0
votes
1answer
492 views

How to mount btrfs partition?

I've installed xbian distro on RPi. I want to edit the files in my SD card using my computer, Ubuntu 14.04. However, when I insert the SD card, the Ubuntu cannot mount the Xbian partition, and gives ...
3
votes
2answers
408 views

mount ecryptfs without sudo

I am using the following script to mount an ecryptfs directory (from How To Recover Synology encrypted folders in Linux). tty -echo read -p "Enter passphrase: " PASS; echo stty echo sudo mount -t ...
2
votes
1answer
151 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 ...
0
votes
1answer
36 views

Copied Arch Linux partition broke original partition's mount point

I have an installation of Arch on an ext4 partition on a 250GB SSD. My intention was to copy the partition containing it to a different HD on my system, and resize the copy. So from a separate ...
1
vote
0answers
174 views

How to create separate usr partition during arch install?

How do I modify and add the hooks needed in mkinitcpio to have a separate usr partition? Also, am I mounting the other partitions correctly? http://imgur.com/Rxt6o1g Basically I'm using UEFI with GPT,...
6
votes
3answers
516 views

Mount directory onto root

I have a folder containing certain files. Is there a way to mount it onto /, so that the contents of a given directory appear in the corresponding locations in /? In my case, the directories contain ...
1
vote
1answer
2k views

Debian, Apache, 403 Forbidden Errors and Encrypted Drives

I have set up Apache on my local Debian Jessie installation but can not get my VirtualHost to work. Accessing http://localhost works just fine and shows me the It works! page. But when trying to ...
5
votes
1answer
1k views

Unix NFS Mounts and Moving Files

Had a question on NFS mounts and how they interact with transferring files on a low level. I'm trying to understand the latency involved with transferring files from within the same mount. Say you ...
1
vote
0answers
368 views

Unable to mount a partition on an SSD over USB

I'm trying to mount a 120GB SSD connected externally via USB to the new server. The SSD is full of data and I can't format it. mount /dev/sdd1 /mnt/sdd1 mount: wrong fs type, bad option, bad ...
2
votes
0answers
37 views

Bind a directory as me

Analogous for a regular user running a thin FTP server (where others can access the file system with his/her permissions), can a regular user (through fuse maybe) "mount" a directory for others to use ...
7
votes
2answers
9k views

NFS: mount.nfs: Protocol not supported

I want to mount the NFS share of a Zyxel NSA310s NAS. Showmount, called on the client machine, shows the share: $ showmount 10.0.0.100 -e Export list for 10.0.0.100: /i-data/7fd943bf/nfs/zyxelNFS * ...
3
votes
3answers
2k views

Disable NFSv4 (server) on Debian, allow NFSv3

How can the NFS server on a Debian 8 system be limited to NFSv3? By default, shares can be mounted with both vers=3 and vers=4. /etc/default/nfs-kernel-server: # To disable NFSv4 on the server, ...
1
vote
1answer
890 views

Mounting Google Drive with google-drive-ocamlfuse

I've followed these instructions to use google-drive-ocamlfuse to mount Google Drive folders on a headless server But I've encountered an issue, unless I run the command to mount my ~/drive folder as ...
0
votes
2answers
195 views

Unable to mount Volume Group [closed]

2 drives connected externally to a new server both are merged using LVM as one drive. vgscan Reading all physical volumes. This may take a while... Found volume group "vol_grp1" using metadata type ...
1
vote
1answer
1k views

Remount squashfs root filessytem read-write [duplicate]

I am working on an embedded device. The fstab shows the following info: <file system> <mount pt> <type> <options> <dump> <pass> /dev/root / ...
5
votes
1answer
597 views

Linux - mount command returns zero/0 but not working

Sounds strange, I have a shell script that it gets trigger by udev rules, to mount attached USB device to the system file tree. The script runs when an usb device attaches to system, so the rules ...
-1
votes
1answer
2k views

How to mount VMware-tools cdrom inside a VM

I know this should be easy, but I'm having a hell of a time figuring out where the vmware tools cdrom is (for instance it's not /dev/cdrom) and so I can't figure out how to mount it. I'm on Kali Linux,...
3
votes
3answers
1k views

Automatically mount a drive using /etc/fstab, and limiting access to all users of a specific group

I currently have an extra HDD which I am using as my workspace. I am trying to get it to mount automatically on reboots using the following line added to /etc/fstab /dev/sdb1 /media/workspace auto ...
3
votes
0answers
223 views

Mount LVM volume as external usb drive? CentOS 6

I'm trying to mount my old 2x500GB drives to the new server which has the same drive volume. Both have LVM structure but it's not working. root@server [/mnt/usb]# ls /dev/sd* /dev/sda /dev/sda2 /...
2
votes
1answer
205 views

do I need fsck.ext4 before mounting a filesystem?

I have a script that mounts /dev/sdc1 to /home. I do not know the state of /dev/sdc1 in advance, it could possibly be "dirty". Do I need to run fsck.ext4 before mounting the filesystem, or has mount ...
0
votes
0answers
125 views

SMB/CIFS mount not working with exec() call

To mount CIFS presently I use system() call in source, this works. If I try to run command manually on shell it works too. $ mount -t cifs //IP/dir /mnt -o user=name,pass=PASS,domain=mydomain,nounix ...
1
vote
1answer
4k views

Cannot mount Samba share: Unable to find suitable address [closed]

I just moved house, and after putting up all my devices, on my RasPi, running Raspbian, I cannot mount my TimeCapsule's SMB file shares anymore. It used to simply work, but Now I get this: root@pi:/...
2
votes
1answer
46 views

Is it possible to mask a file with a different one?

I'm trying to solve the problem that I have two OS (Windows 7/Debian) which I want to enable to share certain data from lets say Firefox/Iceweasel. My Setup Basically there's profile folder A on an ...
3
votes
0answers
91 views

Trouble viewing iPod in Rhythmbox

Once in a blue moon, my ipod (160 GB) will show up in rhythmbox on my ubuntu 12.04 laptop when I plug it it, but most of the time nothing happens. It shows up when I do fdisk -l, but when I try to ...
3
votes
1answer
73 views

is mount command a user space command or kernel command

as I understand, most of linux command are user space. but at boot time the system mount its root file system using mount command. so is this command implemented within the kernel
2
votes
1answer
2k views

USB flash drive is read-only under Gnome on Debian

I have Debian on my PC. I insert a USB flash and it open just fine in my Gnome environment. But when I try to copy something in it I get: Error during copy.The destination is only for reading. ...
1
vote
2answers
689 views

Audio cd doesn't play

I'm trying to play an audio CD in Debian but each time I insert the CD, while there appears an icon with the CD in the screen, when I try opening it I get the message: Failed to mount "Audio CD". ...
2
votes
1answer
1k views

NTFS-3G: All files are an “unsupported reparse point”

I just connected my NTFS HDD to my homeserver and I have an odd problem. EVERY file on the HDD is displayed as an "unsupported reparse point" in ls -lsa I tried mounting with different permissions ...
3
votes
1answer
14k views

Run ./script.sh vs bash script.sh - permission denied

When I try to run ./script.sh I got Permission denied but when I run bash script.sh everything is fine. What did I do wrong?
2
votes
2answers
716 views

Can't mount second hard drive on CentOS 6.6 - Duplicate VG name

Yesterday I add a SSD to my PC configuration and I make on it a fresh installation. At the moment of installation I replace my old HDD and there was only the SSD. When the installation finish I make a ...
1
vote
1answer
69 views

Is it possible to reclaim files after incorrect unmount?

When I first began using Linux (~10 yrs ago) I used a USB univ. drive adapter to mount an external hard drive. Unfortunately, I was not aware of the unmounting procedure so, when finished, I just ...
0
votes
0answers
102 views

I use a shell script to mount several dirs that share from IBM N6040, it works on centos6 but not on centos7

First of all ,the username、password and the share dir's path is correct, it works on centos6 ,but not on centos7 The code in the shell script like this : mount -t cifs -o username=someone,password=...
1
vote
2answers
69 views

Create mount points automatically in /mnt, even though / is read-only

I have a requirement of changing my root partition to Readonly. After changing / to readonly in /etc/fstab, I rebooted the system. Mount points of USB devices is /mnt. But after above changes USB ...
1
vote
2answers
373 views

How do users mount .bin/.cue or .iso with loopback device as read only?

Can users mount any of the following image files as read-only using a loopback device? If it is possible then can anyone give me examples?
1
vote
1answer
351 views

What regulates user privileges for the `mount` command?

My installation of CentOS 6.5 has stopped auto-mounting DVDs in KDE (default) X Window desktop environment (e.g. with all the KDE helper functions). Trying to troubleshoot this unexpected change in DE ...
1
vote
0answers
91 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
397 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 ...
3
votes
1answer
293 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. ...
7
votes
3answers
3k 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 ...
1
vote
1answer
195 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 fsck....
1
vote
1answer
481 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
2answers
1k 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
166 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 ...
5
votes
2answers
184 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 don'...
2
votes
1answer
100 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
18 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 ...
53
votes
1answer
39k 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
340 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
22 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 ...