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

learn more… | top users | synonyms

14
votes
2answers
3k views

Can the same ext4 disk be mounted from two hosts, one readonly?

I know that mounting the same disk with an ext4 filesystem from two different servers (it's an iSCSI vloume) will likely corrupt data on the disk. My question is will it make any difference if one of ...
1
vote
1answer
688 views

Why is my unmounted USB disk still seen by `fdisk`?

I've mounted my USB disk to /mnt/kingston/ dir, and umounted it from there by typing in umount /mnt/kingston/. But I can still see my USB disk after issuing the fdisk -l command. Why? If I type ...
1
vote
1answer
4k views

fstab not mounting VirtualBox shared folder?

I have a virtual machine here which I use for development, so as not to mess anything up in my existing environment. I've made a share named "web" available to the guest OS (Ubuntu 12.10 Server) ...
0
votes
1answer
358 views

Moving stuff off of SSD to HDD after installation. Using mount --bind? LiveCD?

I installed Ubuntu 12.10 on my SSD. /dev/sda1. No other partitions. No swap. Then I went about reading how to optimize usage, and have come to the conclusion I want my /home, /var and /tmp mounted on ...
0
votes
0answers
90 views

Span a directory on an SD card and an attached USB stick

Can I span a folder on the SD card on my Raspberry Pi with a folder on an attached USB device? I'd like to basically extend the size of a directory by using an attached USB memory stick. I'm running ...
2
votes
0answers
460 views

remount chrooted read-only subdirectory (non-mountpoint) to read-write from within jail?

I'm trying to do the same of this question (multiple linux installation on same filesystem) but I get this result (root filesystem mounted as read-only) . I'm using debian/sid, have successfully ...
1
vote
3answers
1k views

How to mount multiple partitions

Is there a way to mount multiple partitions, or even all partitions, of a disk with a single command in Linux? Is there, perhaps, an option that the mount command accepts that would facilitate this? ...
8
votes
2answers
25k 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
2answers
956 views

Mount a folder without noexec

Is it possible to mount a single folder without the noexec option. I have a situation in which a web app in the users home folder on the server has to be mounted without noexec to run correctly, ...
1
vote
1answer
168 views

/dev/shm/ecryptfs-$USER-Private keeps climbing in Kubuntu 12.10 Install

I'm having a problem with an installation of Kubuntu 12.10 with an encrypted home directory. I've been trying to figure it out for several weeks. For transparency, I'll note here that I posted this ...
4
votes
2answers
3k views

Mount HTTP Server As File System

I have a machine on which I wish to mount multiple remote servers to access them all centrally. For remote Linux based systems I am using SSHFS which works fine. But for Windows systems, or systems ...
4
votes
1answer
337 views

how to prevent reboot being stopped by nfsmount?

I can't imagine there isn't a simple strategy to solve this issue of stale nfs handles preventing a machine from shutting down normally, but I'm not sure what that would be. It's pretty annoying to ...
7
votes
1answer
5k views

How to get UUID for a USB drive?

I want to mount my USB to a mount point which holds the UUID name. But I don't know how to express this in a command line! Can someone help me how to do it? I have searched and found that I have to ...
4
votes
1answer
1k views

How to mount an encrypted TrueCrypt partition always in the same point?

I just formatted my external HD and divided it in two partitions: an ext4 where important information will be, and a ntfs for "compatibility" things (i.e. movies, music, etc). I encrypted the ext4 ...
1
vote
0answers
445 views

Not mounting after restart?

I am mounting a drive via SSH, and then editing the fstab to reflect the changes, however after I reboot, the drive doesnt mount? I dont understand what I'm doing wrong? This is my fstab and its ...
1
vote
2answers
2k views

[mntent]: line 15 in /etc/fstab is bad

it works fine mounting manually from the cli but when running sudo mount -a after editing the fstab im getting errors. It seems right to me, any one have a suggestion. my fstab is: # ...
0
votes
0answers
202 views

Device mounted read/write, but can't delete files

Please have a look on the attached. What could be done to solve it? [root@LAB-oam-blade-3 tomcat]# mount /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw) [...] /dev/mapper/TOMCATp1 on ...
2
votes
1answer
3k views

How to mount USB stick on Debian Sid?

I've just installed Debian Sid on my computer but I cannot mount external USB drives as you can see in the image. Mounting failed Cannot mount "SENZATITOLO" Not authorized What should I ...
3
votes
3answers
185 views

Creating a local workspace for development/testing

I want to be able to mount, say /home/$USER/workspace to /usr/local/workspace. Right now I'm using the python package pyfilesystem which uses fuse to do that. My problem is, that inside that mount I ...
0
votes
1answer
134 views

NFS configuration redhat6.3 64bit

I'm getting this error on the client: [root@localhost /]# mount -t nfs 192.168.18.144:/linuxcast-nfs /mnt/ mount: wrong fs type, bad option, bad superblock on 192.168.18.144:/linuxcast-nfs, ...
1
vote
2answers
2k views

Redhat: non-root user needs to copy files to a NFS share

Typically non-root users cannot mount directories. Running Redhat Have 6GB tar.gz (/dir/somefile.tar.gz) Need to move to a NFS share on another box (//somebox/somefolder/) We have no other access. ...
1
vote
0answers
655 views

file_mode and dir_mode do not work when sharing ext3 drive via cifs

I have a ext3 drive connected to my router and shared via CIFS protocol. I wan't to mount it with certain permissions for each file/directory. Permissions are 2770 for both. Here's my /etc/fstab ...
8
votes
2answers
8k views

When mounting, when should I use a loop device?

According to the following question: What is a "loop device" when mounting? A loop device is a file that acts as a block-based device. While I can understand that conceptually, how is this ...
1
vote
1answer
273 views

A drive changes device file name after resuming from suspend (Linux Mint 14)

I'm running into a very odd problem: When I resume Mint 14 from suspend, one of my drives (/dev/sdc) changes letter / device file name (to /dev/sdd). fdisk -l shows that it has the same partitions, ...
1
vote
1answer
667 views

Having owner access on files upon mounted NFS directory

I have a Linux RedHat server and a Solaris 10 client. I have mounted a directory which locates on the RedHat server, in the Solaris system with RW(read/write) option. I already have some directories ...
0
votes
0answers
149 views

Creating a Safe Web Server

Web server hosts multiple websites. Multiple users update each website. User home directory /home/user1 /home/user2 Web directory /var/www/site1 /var/www/site2 Each user uses SFTP to upload ...
36
votes
7answers
6k views

Why does mount require root privileges?

Why does Linux require that a user be root/using sudo/specifically authorized per mount in order to mount something? It seems like the decision as to whether to allow a user to mount something should ...
0
votes
1answer
112 views

/var has most of the drive space. Need / to have most of it

So when my host setup my dedi, they seemed to apply most of the drive space to /var I am on cpanel, and need most of the space for the /home directory where all the accounts and data are. But on ...
2
votes
1answer
2k views

How do you mount an ext2 formatted qemu disk image?

I am having issues mounting an image I created with the qemu-img program. Every time I attempt to invoke mount upon the subsequent file, it responds with failed to setup loop device: No such file or ...
6
votes
3answers
28k views

How to mount/recover data on a disk that was part of a mdadm raid 1 on another machine?

Some background The disk itself was "worked on" by a friend and is said to be still intact, undamaged and still mountable/recoverable The disk was part of a software raid 1 on Ubuntu 12.04 The other ...
3
votes
1answer
108 views

md5sum change after mount?

I have a ext3 filesystem on a .img file. After mounting and unmounting it, I noticed that the md5sum is changed, even if no file inside was changed! md5sum myfilesystem.img XXXX myfilesystem.img ...
6
votes
5answers
10k views

Mounting external drive does not work anymore

~$ dmesg | tail [ 479.558062] usb 1-1: SerialNumber: S07F1601A00000090095 [ 479.559231] scsi7 : usb-storage 1-1:1.0 [ 480.557093] scsi 7:0:0:0: Direct-Access Ext Hard Disk PQ: ...
3
votes
1answer
3k views

Mounting USB drive on 3G dongle

I've got an Huawei HiLink E303 USB G3-internet dongle that I'd like to use to connect to the internet. I'm using Arch Linux. According to this page, the Linux drivers are actually on the device and ...
1
vote
1answer
95 views

Really umount external drive

I had a USB drive mounted on /dev/sdb1 and I want to reformat from NTFS to ext3. I did umount -l which unmounted the disk. I deleted the old partition using cfdisk. I ran mkfs.ext3, but got the error: ...
2
votes
2answers
781 views

dynamic file system with hooks

Is there anyway in linux (I don't care which distribution or flavor) to have a dynamic file system with read/write hooks? For example I would like to mount a dynamic file system at /dynamic and ...
1
vote
2answers
5k views

UUID Of A drive that won't show up in /dev/disk/by-uuid or blkid

I have a USB drive that is not receiving a UUID. When I look at the contents of the /dev/disk/by-uuid it doesn't exist there. The dev point that the partition lives in is on /dev/sdb. I am able to ...
3
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 ...
2
votes
0answers
1k views

The NTFS partition is in an unsafe state

I try to mount a NTFS partition in nautilus, and it refuse to mount it and suggests resume and shutdown Windows fully (no hibernation or fast restarting), the problem is that I have already disabled ...
0
votes
0answers
890 views

/media, /mnt, /run and automounting

As of Fedora15, a new directory under root was introduced. A couple of quotes: i.e. /var is "persistant runtime data" and /run is "volatile runtime data", and /etc is "persistant system config ...
4
votes
1answer
352 views

How to mount some folders on a different partition

I recently got an SSD for my computer. Therefore I reinstalled my system and mounted / on /dev/sda1 (which is a partition on the SSD). To protect the SSD, I managed to mount /tmp on the RAMdisk. ...
3
votes
2answers
209 views

How to umount permanently /home

To install Linux Mint, I used two partitions: /dev/sda4 for / and /dev/sda5 the other contains /home. However, the contents of /media/elvis/Home/elvis and /home/elvis are not the same. So, I don't ...
1
vote
3answers
300 views

Can a mounted encrypted filesystem be safe from root?

I have access to a shared remote computer from which I would like to run some code I have written which uses an interpreter (not a compiled code). I would like to protect this source code from other ...
4
votes
1answer
2k views

How can I mount a directory of the host system for use inside a FreeBSD jail?

I am performing the following on FreeBSD 9.0-STABLE: mount_nullfs /foo /jail/foo After that, from within the host system, the mount works. So this works: touch /foo/bar && ls /jail/foo/bar ...
2
votes
1answer
2k views

How to mount a virtual disk in Linux (on VMWare)

I am running Ubuntu 10.04.4 thru VMWare Workstation. I added a second virtual hard disk drive, which is found under /dev/sdb , as shown below How do you mount this to anywhere? (e.g. /mnt/sdb). ...
5
votes
3answers
683 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 ...
8
votes
3answers
26k views

Best way to mount remote folder

I have two RasberryPi running debian wheezy and I would like to mount a folder from computer A on computer B. What is the best (as in most efficient) way to do this? I can do it via SMB, but that is ...
6
votes
1answer
919 views

Mounting from dolphin vs commandline

I have been wondering how this is possible (i.e. how this works internally). When you want to mount a directory you have to be root. sudo mount /dev/something /mnt/somedir I know you can get around ...
2
votes
2answers
2k views

Mount a USB disk in Linux which was not properly unmounted in Windows

I would like to know if there is a software solution in Linux for the following situation: Connect a USB disk to a Windows host (could be XP, Vista,7 , etc). Copy a big file to the USB disk. ...
0
votes
2answers
383 views

Problem mounting my iRiver story HD on Ubuntu

I would like to connect my iRiver Story HD to my ubuntu 12.04 machine but as I connect it I get this error: Unable to mount Story HD Error mounting: mount: wrong fs type, bad option, bad ...
2
votes
0answers
203 views

/home is Read Only after coming out of screensaver (intermittent)

I am using Linux Mint 13 (Maya) and I have my "/home" partition formatted as ext4 and mounted at "dev/sdc1". Occasionally I have a strange problem coming up that looks a lot like this bug that I ...