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

learn more… | top users | synonyms

2
votes
3answers
2k views

Can't mount EXT4 hard drive after mounting it in windows

I have a 2TB Western external HDD. Its original filesystem was NTFS but I formatted it to EXT4. I had no problem in Linux; But today after I mounted it using ext2fsd in a windows box, I cant mount it ...
8
votes
4answers
1k views

Preferred mount points for internal HDDs

I am relatively new to Linux and I apologise if this is a silly question. I read the Linux FS Hierarchy document but it didn't answer my question. I would like to know if there is a typical drive ...
5
votes
2answers
1k views

Where should I mount my external harddrive?

I've got an external harddrive that I'd like to auto-mount. It will be present most times when my laptop boots. Where is the "correct" place to mount it? /media/my-hd: Will litter /media with an ...
1
vote
0answers
507 views

How can I determine how directories/filesystems have been mounted?

I have access to a VM which on a different network at work using NIS. (Debian by the way) This VM has about 10 extra /directories in / when I log in. They do not exist on that VM alone, they are ...
1
vote
1answer
528 views

usb thumbdrive not mountable

I am new at linux and currently I have a problem with my USB thumbdrive (can't access it either in windows - no volumes are shown). cat /proc/scsi/scsi shows the following: Host: scsi8 Channel: 00 ...
4
votes
3answers
8k views

How to properly export and import NFS shares that have subdirectories as mount points also?

Server A exports directory /srv via NFS with option nohide. A subdirectory within /srv, /srv/foo, is a mount point for another location on the NFS server using --bind option, like server# mount ...
3
votes
3answers
8k views

“mount: / is busy” when trying to mount as read-only so that I can run zerofree

I am trying to run zerofree on Ubuntu 11.04 so that I can compact the VirtualBox vdi image using: VBoxManage modifyhd Ubuntu.vdi --compact In order to run zerofree the disk image has be mounted as ...
5
votes
4answers
2k views

How can I mount partitons in a full disk image (i.e. image with partition table) with fuse?

It's a bit indirect, but it's possible mount a partition with a disk image using mount or losetup's "offset" parameter. I'm looking to be able to use fuse to do the same thing in user space Use ...
4
votes
2answers
919 views

Network file sharing between Linux and OS X

I want to share a drive/folder over the internet from my Debian machine back home, such that I can mount it on my Macbook when I am on the move. Basically I want to store my music at home and just ...
20
votes
2answers
2k views

Where do the files go if you mount a drive to a folder that already contains files?

I just accidentally mounted a new drive to a folder that already contained files. I don't care about them and have them somewhere else, but that folder appears empty now. I'm curious what happened ...
3
votes
1answer
3k views

Mounting a multi-partition (GPT/HFS+) USB 2.0 harddrive on Debian

I have a 3TB USB 2.0 hard-drive which has two HFS+ (Mac) partitions using GUID partition table for the partition records. It was partitioned with Mac OS Disk Utility. How can I mount these partitions ...
2
votes
1answer
519 views

How to mount FreeBSD 9.0 iso file writable mode?

I want to edit bsdinstall script of freebsd 9.0 iso file. I tried to extract files,edit and recreate iso but I couldn't boot it.I realized that some of files missed while extracting. I also use ...
2
votes
4answers
11k views

Device is Mounting as Read Only (Can Copy Files as Root)

I am attempting to mount my Amazon Kindle, 3rd Edition. It automounts correctly and when I run mount -l, I get the following output: /dev/sdg1 on /media/usb0 type vfat ...
2
votes
2answers
4k views

Fedora 17: plugged in iphone, but nothing happens

The title says it all but to expand a bit; I upgraded to fedora 17 from a fresh install. On f16, I had an issue mounting when they had the issue with the lockdown, but I was able to resolve that. ...
2
votes
1answer
603 views

Error mounting dir from ext4 file system

I am trying to mount a directory on a ext4 type file system onto another linux box. Both boxes are on the same network [root@localhost]# mount -o rw x.y.z.w:/home/lab /devbox mount: wrong fs type, ...
3
votes
3answers
5k views

Mount NTFS image file created using partimage

From an old disk which I don't have at hand, I have created a file named winxp.img using partimage. As the filename suggests, the partition contained Windows XP and was formatted with NTFS. (The ...
5
votes
1answer
855 views

Partition not mounting from fstab

I have mounted a partition and add it to fstab file and then rebooted but I see that the partition is not mounted although it was added to fstab. What is wrong, and how can I solve it? fstab line: ...
2
votes
2answers
8k views

How to check if a filesystem is mounted with a script

I am new at scripting ... I can do very basic stuff, but now I need a hand. I have a local filesystem that only will be mounted when I need to do a backup. I'm starting with this. #!/bin/bash ...
1
vote
1answer
784 views

Partition mounted noexec even though not specified in /etc/fstab

I'm using Linux Mint 12. There I have several partitions which I auto-mount on startup. pysdm says that /dev/sda6 should permit execution of binaries. Also the /etc/fstab says it should. /dev/sda7 ...
1
vote
1answer
175 views

How to get a list all the “aliases” of a file (including of type directory) efficiently?

How can one get the list of all the aliases of a file (including of type directory) efficiently, given that a file: may have multiple hard links, multipe soft links, multi-level soft links may be ...
1
vote
2answers
2k views

mounting to non-empty directory, then later deleting original files

I have some unused space on my disk, and decided to use a little of it to create a separate /var partition. There might be an easier way to do this, but my idea is to copy the existing /var ...
2
votes
5answers
1k views

sda and sdb block specials point to same device and get mixed up (hardware RAID doesn't work after new installation of 12.04)

I just installed the latest Ubuntu 12.04 and obviously it screws something up. I'm not sure if this has anything to do with the fact that I have a Raid 1 but at the moment, I have sda and sdb which ...
30
votes
9answers
32k views

Mount Google Drive in Linux?

Now that Google Drive is available, how do we mount it to a Linux filesystem? Similar solutions exist for Amazon S3 and Rackspace Cloud Files.
1
vote
2answers
4k views

Linux, fat32 and etc/fstab

I mounted a FAT32 drive onto my Linux computer using the following terminal command: > sudo mount /dev/sdb1 /media/exampleFolderName -o dmask=000, fmask=111 I did this so I could share / edit ...
1
vote
4answers
2k views

When to mount /tmp (and other temporary directories)

When is the right time to mount /tmp (on Debian)? For /home I would not feel bad just to echo "/dev/foo /home type defaults 0 0" >>/etc/fstab - but can I be sure that /tmp is not used by any ...
2
votes
1answer
384 views

Qmake not working in a mounted smb dir

I'm trying to use qmake in a samba mounted directory. Here is what I get jj@deb32-6:~/smbShare$ qmake . QFSFileEngine::currentPath: stat(".") failed QFSFileEngine::currentPath: stat(".") failed ...
1
vote
2answers
2k views

Can I mount NTFS flash drive on linux

Hi I'm using RHEL 6 an WIN 7. I have a flash drive of 16GB. To copy the files which are above 4GB size I changed it to NTFS(FAT32 is allowing only file size below 4GB). But now I am not able to use in ...
3
votes
2answers
280 views

filesystem image mounted with lofiadm looks smaller than expected

I have a .gz file and I'd like to see the content of it. I used lofiadm to mount it. lofiadm /backup/file.gz ->> returned /dev/lofi/1 mount -F ufs /dev/lofi/1 /mnt Then I checked the content ...
4
votes
1answer
3k views

What is the difference between a symlink and binding with fstab?

In Eric Hammond's article Running MySQL on Amazon EC2 with EBS he shows how to add a second drive (/vol/) and then progresses to move mysql's config and data there. /sdh gets mounted as /vol by ...
2
votes
2answers
590 views

Partitioning Ubuntu and Windows 7 once and for all

I am dual-booting Windows 7 and Ubuntu (installed with wubi). So far there have been no problems, but now it says the disk is out of space all the time (I think that is because /dev/loop0 is used 100% ...
1
vote
1answer
7k views

How to restore a Fat32 filesystem under Linux

Here is what happened: I used the Laptop and accessed some data on my usb stick. Then I closed the Laptop putting the system into sleep mode. The USB-Stick was still plugged in. After the laptop was ...
3
votes
4answers
3k views

What is the concept of Drives in Unix Systems?

In windows, we have C drives where all the softwares are installed and other partitions e.g; D, E etc to store our data. Now once we reinstall the windows for some reason, we install everything again ...
2
votes
1answer
2k views

How can ubuntu/truecrypt be configured so users can mount volumes if-and-only-if they have proper permissions on the mount-point?

If I add the line: ALL= /usr/bin/truecrypt to the sudoers file this lets all users mount volumes at arbitrary mount-points. The problem is a user could create a truecrypt volume and then mount it at ...
5
votes
2answers
2k views

Mount ubuntu one or similar web storage services without their clients

I want to mount a folder to sync with my Ubuntu One account. The only restriction is that I don't want to use the client provided. I use Arch Linux if it counts. And if you can provide a general ...
4
votes
3answers
3k views

Is there a command to see where a disk is mounted?

Is there a simple command that takes a disk's device node as input, and tells me where (and whether) that disk is mounted? Is it possible to get the mount point by itself, so I can pass it to another ...
2
votes
2answers
1k views

Flash drive in OpenBSD: “specified device does not match mounted device”

I'm a relative BSD newb. I have a small server running OpenBSD 4.4. I'm trying to plug in a 16GB USB flash drive to move some files. I followed the guidance of the Disk Setup documentation, and found ...
5
votes
1answer
498 views

To sync /var or not?

It seems in a hard crash, in particular failure of a UPS to keep a system running, that some of the contents of logs get lost due to file system caching. As an experiment, I tried mounting the /var ...
2
votes
1answer
1k views

Mount drive from redhat to a windows share with CIFS

I have been trying to mount a drive, but anything i do i get 'Access Denied', I tried: mount -t cifs //192.168.x.x/m -o username=user,password=mypass /mnt/mymount mount -t cifs //192.168.x.x/m -o ...
2
votes
2answers
2k views

Show established samba mounts

showmount only list me NFS mounts. I also want such a list for samba shares. How can this be done?
5
votes
3answers
4k views

Mounting multiple devices at a single mount point on Linux

Is there a way to mount multiple hard drives to a single mount point? Let's say I run out of space on /home and decide to add an extra hard drive to the computer. How do I scale the space on a mount ...
0
votes
0answers
135 views

problem exporting /media as an nfs share: why does it happen?

I've got two netbooks. One netbook has two installed Linux systems: openSUSE 11.04 and Debian testing. By default, in Debian, gnome mounts the /home filesystem for openSUSE, which shows up in gnome's ...
0
votes
1answer
220 views

Volume manager tries to mount device while reformatting in gparted

When reformatting a USB drive with gparted, my volume manager attempts to mount the device. This results in some error messages telling me the device could not be mounted. The only way I know to turn ...
1
vote
0answers
627 views

Hanging at “Running Transaction Test” when trying to install php-soap

I have here a CentOS 5 and I'm trying to run yum install php-soap but the installer hangs on and the last step is Running Transaction Test. I found out that NFS shares are the problem. See here or ...
6
votes
4answers
7k views

Mount an loop file without root permission?

Can i mount a loop file without root permission , normally i do: mount -o loop DISK_IMAGE FOLDER Without setting up sudo or suid mount program , is there any suitable way to do this ? I know i can ...
18
votes
5answers
15k views

Is it possible to mount a gzip compressed dd image on the fly?

I like create an image backup for the first time I'm backing up a system. After this first time I use rsync to do incremental backups. My usual image backup is as follows: Mount and zero out the ...
3
votes
1answer
856 views

Create iso image of ext3 type

I want to create an ISO image which can be mounted with an ext3 partition type. How can I do that? I am using this command: [root@manage upload]# dd if=testParti.txt of=./diskImage.iso 41+1 records ...
1
vote
1answer
694 views

Unable to mount usb drive, but computer sees that it's there.. PNY (MIPS Lemote)

The computer being used is a Lemote Yeeloong, and the OS is currently Debian Wheezy (mipsel) with no X windows system. So the computer can only be operated with unix commands right now (until I ...
3
votes
3answers
491 views

Problem with mount namespaces under Fedora

I've run into an odd problem regarding mount namespaces on Linux. I have two systems, both X86_64 running kernel 3.2.3-2 under Fedora 16. I am attempting to mount a tmpfs filesystem in a child ...
6
votes
4answers
2k views

How does Bash path completion work with sudo?

Tab path completion does not work (at least on Ubuntu and AFAIK Arch) with sudo mount <whatever> The iso file I am trying to mount is not in /etc/fstab. If I just type mount <whatever> ...
6
votes
2answers
18k views

mount error “is not a block device”

I am trying to make olddir accessible from newdir with the mount command: mount olddir newdir Why do I get the following error? mount: olddir is not a block device