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

learn more… | top users | synonyms

5
votes
1answer
93 views

bind mount /var with fstab

I'm messing around with having both /home and /var on a seperate partition which will be mounted in /myhdd. Next, I use mount --bind to mount /var on /myhdd/var and /home on /myhdd/home. With this ...
2
votes
1answer
90 views

per process private file system mount points

I was checking unshare command and according to it's man page, unshare - run program with some namespaces unshared from parent I also see there is a type of namespace listed as, mount ...
2
votes
0answers
29 views

Tool for dumping Linux VFS superblock

From the dumpe2fs man page: dumpe2fs prints the super block and blocks group information for the filesystem present on device. So dumpe2fs will dump the filesystem superblock. Is there any such ...
0
votes
1answer
102 views

NTFS drive not mounting in Debian

This drive has been working fine for a while, but I recall having had some slight trouble getting it mounted in the past. Anyway, it was disconnected from the machine for some time and when I ...
0
votes
1answer
61 views

Wrong mount point for internal SSD

I am having a problem with mounting an internal SSD. For some reason The mounting point is chosen as /media/user/Data instead of, as specified in /etc/fstab, /mnt/Data. The according line in ...
0
votes
1answer
85 views

Debian: Can I remount / read-only in single user mode?

I'd like to use fsarchiver in the safest way possible but have no live medium for booting from. I vaguely remember having read something like this though: Is it possible to remount / readonly when in ...
0
votes
1answer
74 views

Linux can't read and write, but windows can

I have a hard drive with a lot of back up files, that were created by PhotoRec. When mounting it with a windows computer I can read all the files perfectly fine. Under linux I get an error when ...
4
votes
2answers
61 views

Could you explain this “chroot” /tmp directory creation?

In the following linked article they explain how to create a "chroot" /tmp directory. I'm a bit confused by what they did. Could someone explain what the following commands are doing? Noexec and /tmp ...
1
vote
2answers
316 views

Safely removing flash USB drive

On CentOS (5.5 and others) I need to transfer quite big files to a FAT32 USB flash drive to get the data on a Windows 7 machine (each file is below 4GB, so I guess FAT32 shouldn't be an issue then). ...
2
votes
1answer
79 views

Mounted a USB to /home and lost all the sub-directory's

I have been searching for a about a hour but I can't find a answer if someone knows another thread that will help I would gladly look through it. So what happened is I am learning about how to mount ...
2
votes
2answers
50 views

mount is not executed when called by udev

I tried to create some udev rules to mount and unmount my USB flash drives; the rules for the moment are very simple: ACTION=="add",KERNEL=="sd[b-z]",RUN+="/root/scripts/plug_flash_drive.sh %k" ...
3
votes
1answer
50 views

Repeated filesystems and mount points in df output

when I type df -h to see the storage of my system the following is the result root@kch-rsp:/home/pi# df -h Filesystem Size Used Avail Use% Mounted on rootfs 13G 2.4G 10G 20% / ...
0
votes
0answers
45 views

Is there any suggestion to my bash script that (un)mounts an ISO file in order to make it better and safer?

I am new to bash script, and I wrote a script to mount / umount an iso file by detecting whether the /media/iso-file-name exists. Is there any suggestion for the script as below in order to make it ...
3
votes
3answers
53 views

Why is the exec option not listed in /proc/mounts?

My understanding is /proc/mounts should list all mount options for a filesystem, including kernel defaults, so I was surprised to see that exec (among others) is not listed here? For example, my root ...
2
votes
0answers
32 views

Why is there no rootfs file system present on my system?

The linux kernel documentation claims: Rootfs is a special instance of ramfs (or tmpfs, if that's enabled), which is always present in 2.6 systems. You can't unmount rootfs … On all linux ...
1
vote
3answers
420 views

Samba: mount error: could not resolve address for XXX: Unknown error

I've read several guides on mounting samba shares, but no luck yet. I'm able to "login" to my samba share with the following command: smbclient //vvlaptop/Documents It asks for password, but there ...
-4
votes
1answer
113 views

android partition and kernel 3.14

I mount a cell phone to my debian i can browse android SD card and internal memory, So i the following output of mount command when i browse android sd card: sysfs on /sys type sysfs ...
0
votes
0answers
225 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 ...
0
votes
4answers
78 views

How to check a particular directory is mounted?

How to check a particular directory is mounted on the Linux machine. For instance there is a folder named test, I want to check if it is mounted or not.
0
votes
1answer
75 views

puppet mount a loopback device

I was taking truability test to assess my skills. I got the below question. Create a puppet manifest in /root/puppet/lad.pp to mount the filesystem located in /root/files/LAD/disk.ext2 that: will ...
3
votes
1answer
51 views

Mounted volume name in terminal is different from in GUI

The basic problem is that in the GUI shows a directory name with no space but when I cd to it in the terminal, the directory name has a space in it. What would cause the names to be different? The ...
1
vote
0answers
61 views

How can I replace root / filesystem with another filesystem?

When the Linux kernel starts up, it uses initrd as the root / filesystem, then replaces that with a filesystem partition in fstab. Based on a test in an early init script, I want to replace that root ...
0
votes
0answers
54 views

Mount var to another directory, Mysql Database not found

I had an issue with rootfs and /dev/root/ because it was full at 100%. I did this command: du -h So I read this post: How to increase the size of rootfs? And I decided to mount /var to ...
0
votes
1answer
135 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 ...
3
votes
2answers
52 views

How to copy to a formatted image without root privileges?

I have formatted an image file using the mkfs command, and I would now like to copy files to that image file without root privileges. I have already tried to mount the image to a local directory, ...
2
votes
1answer
95 views

mounting/converting v2i image in linux

Is it possible to mount a v2i image in linux? Is there any mount.v2i program? Or is there any convertion tool to convert v2i image to something else like iso ? How can i Mount/Convert a v2i image? ...
1
vote
0answers
105 views

Cifs mount a windows share that goes offline

I have a windows share on my workstation that I need on my CentOS 7 server. I have this set up in my fstab as the following: //XXX.XXX.X.XX/Share /mnt/workstation cifs ...
2
votes
0answers
21 views

Defining Languages Available at boot - LiveCD

I am trying to create a refined version of the buggy uck for customizing Ubuntu LiveCD ISO, here it is if you're interested in helping. NOTE: The process is straight-forward, except when customizing ...
3
votes
4answers
101 views

mount info for current directory

I can do df . to get some of the info on the mount that the current directory is in, and I can get all the info I want from mount, but get to much info. I can grep it down, but am wondering if there ...
16
votes
1answer
387 views

`mount -o loop` changes mounted ISO image file

It looks like mount -o loop changes the mounted image file. I downloaded the ISO image file and checked its SHA-1 checksum. Then I mounted that ISO file and the checksum changed. Here are the exact ...
2
votes
2answers
204 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
3answers
131 views

Mounting /dev/dvd /media on VirtualBox

I have installed Scientific Linux on VirtualBox and I am trying to follow some exercises on a book I picked up. The first thing I need to do is: mount /dev/dvd /media But when I do that, I get ...
0
votes
2answers
54 views

Can the Operating System access a particular filesystem after it has been unmounted?

I have mounted a filesystem at a particular directory and I replace a file present in the filesystem.I now unmount the filesystem. Is there any possibility of Operating system accessing the replaced ...
2
votes
1answer
30 views

mount with cifs fails but destination is still accessible with sftp

I had remote backup space mounted to my machine (Hetzner extra backup space for dedicated server). It was mounted with cifs. After restart I found that the mounted folder not accessible. ls -l: ...
4
votes
2answers
121 views

What is the long ID that Linux assigns to a disk in /media/?

For example, when I plug in an external hard drive disk enclosure via USB, sometimes the disk is automatically mounted in /media/. For example, the disk might be mounted to ...
0
votes
1answer
57 views

Storing a keyfile in an encrypted LVM

I'm using RHEL 6.5 and I want to encrypt some of my logical volumes (LVM). In order to not have to enter the passphrase multiple times, I want to store a keyfile in an encrypted LV. Example: ...
0
votes
1answer
34 views

Providing ftp access (of selected files) to users from a hashed repository of unique files

We have a portal where each user has an account and a file repository that goes with it. Whenever any user uploads a file using a form, the php app hashes the file contents first and checks to see if ...
0
votes
2answers
44 views

Will mount search fstab for a best match?

I have several external harddrives that I want to mount to the same point: /media/ext_hd So I have this in my fstab: # EXTERNAL HDS LABEL=Elements /media/ext_hd ntfs-3g ...
2
votes
1answer
95 views

systemd mount volume using device symlink

I'm trying to have systemd mount a volume by symlink. Unfortunately when I try it times out waiting for the systemd device to show up. # systemctl start mnt-ephemeral0.mount A dependency job for ...
0
votes
1answer
758 views

mdadm raid doesn't mount

I have a raid array defined in /etc/mdadm.conf like this: ARRAY /dev/md0 devices=/dev/sdb6,/dev/sdc6 ARRAY /dev/md1 devices=/dev/sdb7,/dev/sdc7 but when I try to mount them, I get this: # mount ...
1
vote
0answers
61 views

Cannot mount second 1TB harddrive in Linux, works fine in Windows 8.1

So I have this problem with my second hard-drive that I have been trying to fix for quite awhile now with no luck. I have searched around to try to find solutions to my problem but nothing seemed to ...
1
vote
0answers
29 views

Mounting Ext3 in linux different user

I am trying to mount an ext3 based memory stick in Linux based development board. I used mount with -u and -g for mounting the fat based memory stick with different user. When I tried the same ...
0
votes
0answers
37 views

copy mount from one server to another

I'm trying to copy the mount point from server1 to server2. So I copy the file, which I found in /etc/fstab, and did mount -a. It gives me the following error: mount: special device /dev/dX/dY does ...
0
votes
0answers
41 views

Error when trying to mount Xen LVM2 volumes

I have a hard drive which used to be part of a server running Citrix XenServer 5.6.100 SP2 with a Software RAID1 (I only have one of both hard drives). This hard drive is now physically attached to a ...
3
votes
1answer
337 views

mounting a SD card without a partition

I try to mount a SDHC card under GNU/Linux. Unlike what happens usually, /var/log/syslog doesn't mention sdb1, just: Jul 26 16:07:53 xvii kernel: [ 159.404842] scsi 6:0:0:0: Direct-Access Singim ...
3
votes
1answer
38 views

Remount an SSHFS mount without umounting it

What is the equivalent to mount -o remount,ro in an sshfs mount? The only way I know is to do fusermount -u and then mount it again with sshfs -o ro.
6
votes
1answer
439 views

Difference between 'sync' and 'async' mount options

What is the difference between sync and async mount options from the end-user point of view? Is file system mounted with one of these options works faster than if mounted with another one? Which ...
3
votes
2answers
58 views

How to view files hidden by a mount on Debian 6

I have been trying for a while to view files, hidden by a mount on my device sporting Debian 6, to no avail, and being new to Linux, I am compelled to ask the question: How do you view files hidden by ...
3
votes
1answer
76 views

Does “mount -o remount,ro” flush filesystem buffers?

On Linux, does mount -o remount,ro flush filesystem buffers/cache, or should I also run sync to achieve that?
2
votes
1answer
99 views

Changing file permissions on an HFS+ filesystem

I ran the command fdisk -l to find out what my external drive is formatted to, I found out it's uses GPT partitions and the filesystem is HFS+. When I try and create a new folder on the external ...