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

learn more… | top users | synonyms

2
votes
1answer
4k views

Can fstab options uid and gid be the user-group name or must they be numeric?

I'm learning how to set up a tmpfs in fstab for my www-data user and I was wondering if I can use the actual user/group name instead if the numeric ids (personal preference)? I'm on Debian with ext4, ...
2
votes
0answers
3k views

Permission denied for user accessing mount

Using root I can mount another Linux share no problem. root@crunchbang:/mnt# mkdir javalib root@crunchbang:/mnt# mount -t cifs //10.1.3.7/javalib ./javalib -o username=guest Root can read/write to ...
3
votes
1answer
184 views

How can I override the kernel default options for mount?

I'm struggling with a program that creates a file system in a file and mounts it as a loopback device. The purpose of the program is to create a clone of the root file system and it thinks it's being ...
3
votes
1answer
196 views

What would happen if we mounted a file system that e2fsck is already running on?

It is generally a bad idea to e2fsck a file system while the file system is mounted (the man page mentions one specific situation where it is safe: -n given, and -c, -l or -L not given, and even then ...
3
votes
1answer
227 views

mount --no-canonicalize?

Neither man nor info page provide more information on this than: mount --no-canonicalize Don't canonicalize paths. The mount command canonicalizes all paths (from command line or fstab) ...
3
votes
2answers
2k views

understanding /dev/disk/by- folders

Question: What does /dev/disk/by-pathdescribe? And where is this documented? Going through the meaning of what is displayed in the folders /dev/disk/by- I've got that far, and I wonder is this ...
1
vote
2answers
953 views

How to access through terminal to a ntfs partition mounted?

Using Debian 7, I can access (and mount, indeed) to a ntfs partition of my hard drive.I do this by clicking on the 446 GB Filesystem shorcut in the "Files" applicacion which comes with Debian. How ...
2
votes
1answer
188 views

FreeBSD: Partition with Multiple Mount Points

On the latest FreeBSD installation, how can I make a partition have both /var/ and /tmp/ as a mount point? That is, one partition would contain /var/ and /tmp/. Is that even possible? I know of course ...
1
vote
2answers
786 views

Cannot modify files in my home directory

I have a laptop running Ubuntu Server 12.04 and suddenly, yesterday, I don't know what happened, but all the permissions changed of my home directory, so when ever I try to create a file, it says ...
3
votes
2answers
451 views

Mount a device as another user

Is there a command (on Debian Wheezy) that a testuser that belongs only to the group testuser can run (maybe he needs to be listed in sudoers first) in order to mount a USB stick as if he belonged to ...
2
votes
2answers
63 views

Mounted own filesystem instead of USB?

I am completely unfamiliar with how *nix handles partitions, but I needed to get a file off of my USB drive so I followed an online post that said you could mount a USB stick with: sudo mount -t auto ...
0
votes
0answers
498 views

Issues mounting a NTFS share on Centos 6.3

We have a web server running on Centos 6.3 and we intend to mount a shared Windows drive (Windows 2008) so that we can do our daily backups on to the shared drive. This is how I am mounting the drive ...
4
votes
1answer
118 views

Are there any security risks when mounting as root?

Are there any security related risks when mounting with root privileges compared to mounting with regular users? I have a script which does some ecryptfs mounting with non-root privileges (by design), ...
1
vote
2answers
169 views

Debian 6 and the old Pentium II

I have an old Pentium II with 300 Mhz computer just to run/test old DOS applications. It have two hard drives, a 2 GB for DOS and a 40 GB for Linux. First I installed Debian 6 with GRUB, but it failed ...
2
votes
0answers
211 views

aufs with lower writable branch

I'm trying to hide some directories on a mounted file system (it's not about security, just aesthetics). I've mounted the file system regularly on /mnt/data and wanted to use aufs to overlay a ...
2
votes
1answer
2k views

Finding correct information to update mtab and fstab?

Is there an automated way to update my mtab and fstab? Or a command I can run so that I can copy the output into these files? I'm just nervous about tampering with these files because I know they are ...
2
votes
1answer
490 views

EBS Volumes Mounted On Wrong Directory After Reboot

I have three EBS RAID 10 volumes in my /etc/fstab on an Amazon AMI hosted with AWS/EC2... Everytime I reboot the instance, the volumes get mounted to the wrong mount points. Any ideas on how I can ...
3
votes
1answer
1k views

How to mount two windows shared folders in linux?

I'm using OpenSuse 12.2 x64. I have tried this in /etc/fstab: //192.168.6.80/shared/folder1 /mnt/folder1 cifs rw,user=guest,password=,uid=1000 0 0 //192.168.6.80/shared/folder2 /mnt/folder2 cifs ...
2
votes
1answer
45 views

Mounting by block address

Is it possible to do a partial mount in Linux? Lets say that you have 1 partition or one device file that contains 50 blocks. You want to write one file system to blocks 0-24, and something else in ...
1
vote
2answers
292 views

Setting up a RAID 1 in Funtoo [closed]

In short Following the guide How to Set Up a RAID 1 Under GNU/Linux, I have setup a RAID 1. Checking the RAID Array for validity in various ways, appeared to be normal. However, after rebooting the ...
3
votes
2answers
271 views

Mount harddrive under different name?

When I plug a external HDD into my Rasberry Pi (running Raspbian) it automatically mounts as /media/2ad496774-3eb8-47bb-2bf5e-788f8eb89e54 where folder underneath it are then accessible by going ...
2
votes
0answers
2k views

Permission denied when Ubuntu is attempting to mount to a remote Windows share folder

Fellow guys, I encountered the error when I's mounting my Ubuntu server to a remote Windows share folder, the following is the error on terminal after I typed command line 'mount -a': mount ...
6
votes
2answers
9k views

how to find the type of img file and mount it

I have to mount a .img file but I don't know what type of .img it is. How can I figure out what type of .img file it is? # mount -t auto -o ro,loop gmapsupp.img /mnt/iso/ mount: you must specify the ...
3
votes
3answers
17k views

Linux: clnt_create: RPC: Program not registered

NFS mounts recently automatically got un-mounted. When I checked, the NFS service status it was shown to be running. [root@hsluasrepo]# service nfs status rpc.svcgssd is stopped rpc.mountd (pid 4083) ...
1
vote
1answer
52 views

Lightweight userspace sandboxing of filesystem

I would like to trick a non-malicious process to think that it is writing to directory $HOME/abc/def/ while it writes in fact to $HOME/xyz/def (the former path is hardcoded and it does not work for my ...
2
votes
0answers
181 views

What caused this ext3 filesystem / mounting problem?

((K)Ubuntu 12.04, kernel 3.2.0-38-generic, fstype ext3) I recently came across the 'great idea' of using hibernation to save state in my main OS, while I boot another OS. I've done this without ...
3
votes
0answers
397 views

sshfs breaks symlinks from SFTP server

Does anyone know how to mount a remote SFTP path via SSHFS so that you can work with symlinks? When I do this, all the symlinks I create point to the wrong files (not the ones I linked to.) All the ...
2
votes
3answers
241 views

Automated mounting for usb drives in linux

I have a five 4TB usb drives. I want to setup a mount point, /mnt/backups so that when I plug in any of those drives, they get automatically mounted to /mnt/backups. The problem is that when the ...
1
vote
2answers
6k views

mount: could not find any free loop device

When I try to mount an ISO image with mount -o loop I get mount: could not find any free loop device Running losetup -a shows /dev/loop0: [0005]:2464 (/dev/sda1) /dev/loop1: [0005]:3439 ...
0
votes
0answers
267 views

43 seconds to mount swap on /dev/mapper/cryptswap1

My Linux Mint takes longer than I would expect it to boot. Checking dmesg I see the following consecutive entries: [ 8.335668] Adding 9767484k swap on /dev/mapper/cryptswap1. Priority:-1 ...
1
vote
1answer
264 views

Access Remote files through http path

I am using lamp on CentOS 6. Application code is written in CakePHP. Application files path is "/var/www/html/my_app". Another file server is mounted with an Application Server. Mounted path on ...
2
votes
2answers
259 views

How to mount remote file system

I want to mount my Windows NTFS share C:\ to Linux ext4 file system, so I can see the file system tree as part of my Linux file system and transfer my files. PS. I am using rhel6.
3
votes
1answer
169 views

I need an fstab example for archivemount (want to umount without my password)

I am using archivemount to mount one of several tar.bz files in Ubuntu. It works very nicely for me. I mount and umount frequently (I'm in a testing phase). I want a solution that will allow me to ...
8
votes
3answers
19k views

Mounting a squashfs filesystem in read-write

I have a Clonezilla installation on a USB stick and I'd like to make some modifications to the operating system. Specifically, I'd like to insert a runnable script into /usr/sbin to make it easy to ...
5
votes
2answers
522 views

mount options shown in /proc/mounts

IIRC then the mount options shown in /proc/mounts have changed. Some time ago acl and user_xattr were shown, now it seems that only noacl and nouser_xattr are shown if these features are turned off. ...
3
votes
2answers
443 views

How to mount an OpenBSD hard disk image on Linux?

First, I'll start by explaining how I got my problem, this will help me get across what I need. A few months ago, my laptop hard disk broke. I had no quick replacement, but I needed that laptop the ...
3
votes
6answers
6k views

How can I solve the issue about mounting my Windows 8 NTFS partition on Linux Mint?

I used Ubuntu for long even along Windows and SOMETIMES I got this problem for mounting the corresponding NTFS partition at the beginning, however with a pair of command lines to the console I got it ...
0
votes
3answers
3k views

Unable to mount ext2 hard drive

I have been trying to mount an ext2 hard drive in ubuntu server, but when i run sudo mount /dev/sdb /media/mynewdrive -t ext2 I get wrong fs type, bad option, bad superblock on /dev/sdb1, missing ...
1
vote
0answers
598 views

SliTaz, usb stick, unable to mount iso or to find a filesystem on it rootfs.gz

I deleted every partition on my system, even the partition on my usb stick. Then I created a partition with SliTaz which I'm currently on. But then I found out that my usb stick didn't get discovered ...
4
votes
3answers
347 views

How can I unmount bad mounting?

I have did a wrong thing. I mounted /dev/mapper/vgpool-lvstuff7 to / , that is bad. How can I unmount that thing?
-2
votes
1answer
555 views

LVM to extend a partition? [duplicate]

I tried to extend my partition with LVM, but not having much success. These are my HDD's in my server. The 2000GB is the new HDD. I would like to add it for my first HDD. root@webstar:~# fdisk -l ...
13
votes
3answers
4k views

What mount option to use for ext3 file system to minimise data loss or corruption?

I have an embedded setup using an initramfs for the root file system but using a custom ext3 partition mounted on a compact flash IDE drive. Because data integrity in the face of power loss is the ...
2
votes
0answers
468 views

USB SD card reader recognized with lsusb but no storage device shown with lsblk

I have a 2GB Micro SD card and a USB card reader. When I run lsusb I can see the card reader is recognized, but when I run lsblk I see no additional storage devices. [lane@Lane-ArchSystem 19:38:08 ...
2
votes
1answer
178 views

Can I remount as readonly if there's a swap image in use?

When am playing with my Android phone (CyanogenMod 10.1 with kernel 3.0.78), I found this: A script in /etc/init.d/99system.swap.sh It remount /system as rw, and creates an image file in ...
0
votes
2answers
1k views

Mounting a drive and accessing it

I have created a partition on /dev/sdb I want to be able to go to this drive when I type: cd /name What I did, which did not work. mkdir name in /mnt mounted the /dev/sdb on /mnt/name updated ...
1
vote
1answer
782 views

USB DVD device type, /dev designation

What is the device type of an external USB DVD player to use when using the Linux mount command? ISO9660 is the type for the internal CDROM. What is the corresponding type for a DVD drive? Are ...
4
votes
3answers
6k views

How to mount a NRG file on Linux?

I'm trying to mount an old NRG image file in my Arch Linux box. In Windows 7 I can mount it using PowerISO without problems. When I try to mount it in Linux I get the following error messages: $ ...
0
votes
1answer
2k views

cannot mount usb

I have a compiled arch kernel. As there are some files in the /root, the user has enabled usb mounting. as dmesg shows it identifies two usbs. one is plugged to keyboard. I tried these commands, but ...
1
vote
3answers
907 views

NFS server dropped connection momentarily, now df, ls, and umount all hang

I have this fstab entry: machine.local:/srv/files /res/files nfs defaults 0 0 It was working great until machine.local dropped the connection momentarily. Now, the share isn't accessible. df, ...
0
votes
1answer
103 views

Execute in Place an encrypted ram drive

I have found a few old posts claiming that tmpfs can execute in place. Is this true? If so, how? If not, is there a ram drive alternative? Can this be done with a ram drive that is encrypted? If ...