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

learn more… | top users | synonyms

1
vote
1answer
649 views

How can I create an encrypted, file-system–agnostic, mountable volume?

At work, we have an iMac (running OS X) that shares a partitioned hard drive over the network. I'd like to back up to my partition from my Linux machine. I've attempted connecting via cifs, then ...
3
votes
2answers
1k views

Option “user” work for mount, not for umount

I am experimenting mounting options for a program I am writing. I am running Linux Mageia 2. I added the following line to /etc/fstab /dev/sr0 /mem auto user,noauto, 0 0 and I removed all other ...
3
votes
1answer
58 views

Why aren't CD image files listed when mounted in current directory?

When mounting a disk image in the current directory using : sudo mount -o loop -t iso9660 wall.iso ./ Listing files in current directory only returns wall.iso . To view the actual files on the disk ...
1
vote
1answer
301 views

Resolving an alias to a remote server

I have what I think is called an IP alias, which is used to access a Windows file server from a Unix server. The path on Unix looks something like: /folder/file.txt which is somehow resolved as: ...
5
votes
2answers
896 views

Querying an overlayfs

I'm looking for a way to query a mounted overlay filesystem (overlayfs) in order to check it's upper and lower directory, but until now I haven't found any suitable command for that. Is there is a way ...
5
votes
1answer
753 views

btrfs and the discard mount option on an ssd

I can't seem to find an answer to this so I thought I would ask here: In /etc/fstab and when using the mount command in ext4 you would add the option discard to activate TRIM on an SSD. Similarly ...
2
votes
1answer
578 views

Problems with accessing files on a Sansa Clip mp3 player

I have problems with accessing my mp3 player (Sansa Clip) on my Linux Mint. When I plug in the player, it does mount, but seems to be empty - well ... there are built in directories and config files, ...
0
votes
1answer
675 views

Installing a secondary drive in CentOS 6

I am new to Linux and CentOS so I may not be sure of the exact question to ask. It may be best for me to tell you what I have done. I installed a secondary 500gb HD to use for file share storage. I ...
10
votes
2answers
442 views

What are these commands for?

Yesterday I had to install a Windows with its Grub override. Well, it's not the first time I had to fix Grub, so I used LiveCD, mounted the root partition (I don't have boot, just / and home) and ran ...
0
votes
0answers
149 views

Why can't users besides root create files in a samba share?

I am sharing a directory on one Red Hat machine via samba, and mounting it on another Red Hat machine with the following command: mount -t cifs -o guest <remotepath> <localpath> The ...
0
votes
2answers
680 views

Why could mount.cifs mount an empty folder?

gentoo, kernel 3.7.10 samba 3.6.12 SMB/CIFS server: Windows Server 2003 3790 Service Pack 2 I've encountered the situation when mount.cifs behaves differently from smbclient program. The following ...
0
votes
2answers
6k views

Linux, how to change HDD state from ReadOnly after temporarly crash?

At this time no ansver for this problem. Usually after some problems with readings or writings to block device, kernel decides to switch flag for WHOLE DEVICE as read-only. After this any writings to ...
1
vote
2answers
97 views

mount defaults and various filesystems

I read on the man page defaults Use default options: rw, suid, dev, exec, auto, nouser, async, and relatime. Do the options set depend on a mounted filesystem or not?
2
votes
2answers
2k views

Unable to change permissions of file system root

When I write ls -la the output is : tusharmakkar08-Satellite-C660 tusharmakkar08 # ls -la total 88 drwxr-x---+ 10 root root 4096 Apr 18 19:43 . drwxr-xr-x 4 root root 4096 Mar 18 17:35 .. ...
0
votes
1answer
2k views

How do I mount a CloneCD .img file?

CloneCD is proprietary. I have a bunch of images that were created with in. Inside of the .CCD file it says. [CloneCD] Version=3 How do I mount this?
0
votes
1answer
3k views

External HD: “Permission Denied” on file write

I have a 3TB external hard drive that I plan to use for backups. I originally tried formatting with cfdisk, until I learned that only GPT supports 2TB+ partitions. So I converted the drive to GPT ...
2
votes
2answers
790 views

group option in fstab not working

I'm trying to take advantage of the "group" option for fstab entries and not having any success. From the mount man page: Normally, only the superuser can mount filesystems. However, when fstab ...
4
votes
1answer
1k views

Debian: Mounting NFS Volume at boot with fstab not working, How to change when this is attempted on boot

So there are a bunch of NICs and vlans on the server and after adding the last ones the auto mount of a network volume is not working. I can do it all right if i SSH in and use mount however it doesnt ...
3
votes
2answers
758 views

Error mounting drives

I am not able to mount the disk. It is showing error. Error mounting system-managed device /dev/sda3: Command-line `mount "/media/tusharmakkar08/Local"' exited with non-zero exit status 1: [mntent]: ...
2
votes
1answer
59 views

Readonly in mounted partition's root

/etc/fstab UUID=<someuuid> /mnt/data ext4 defaults,relatime,data=ordered 0 2 and /mnt$ ll drwxr-xr-x 2 manuel users 4096 15. Apr 18:25 data /mnt$ mount -a /mnt$ ll drwxr-xr-x 4 root root ...
1
vote
5answers
16k views

USB mount doesn't work on Centos 6.4

I have a problem. After an update, my USB drives are not mounted automatically and I'm unable to mount them manually... The output of my fdisk -l command is: Disk /dev/sdb: 15.8 GB, 15762194432 ...
1
vote
2answers
1k views

cannot mount .img file - “not a directory” error

I try to execute the following command on an ubuntu 12.04 system: sudo mount minix203.img -o loop -t minix /mnt/myminix/ in order to mount an .img file with minix partition; and get the following ...
3
votes
2answers
583 views

How do I name a partition?

Currently, I have a partition where Crunchbang is installed, which shows up as a folder in Mint named either 0d71227f-66fc-45ac-8bfc-93280b93dc8c or "10.0 GB Volume". First question is, of ...
14
votes
6answers
15k views

Check if folder is a mounted remote filesystem

What is the best way (reliable, portable, etc.) to check if a given folder is on a mounted remote (nfs) filesystem within a shell script? I am looking for a command that would look like: ...
3
votes
2answers
943 views

file still read-only after a mount --bind from a rw partition

I use mount --bind to "overlay" a file from one ext4,rw filesystem onto another file in ext4,ro filesystem. For example, /etc/hosts is on a read-only / partition, but I have another partition where ...
3
votes
2answers
15k views

Correct way to mount a hard drive

I have a 2nd hard drive SDB but not sure how to mount it under linux. mount -a did not seem to mount all. Also would like to mount this RO for recovery.
0
votes
0answers
52 views

User mounted secondary drive as /var

I have a drive that someone else mounted using mount /dev/sdc1 /var At some point they complained that all the data was missing Now: mount /dev/sdc1 /media/testdrive df -h shows 130GB used du -h ...
1
vote
1answer
404 views

Can you mount UFS partitions made in Solaris (Sparc) on Solaris (x86)?

I am reading about Endianness and it seems both systems save their data differently. Sparc uses big endian and x86 uses small endian, meaning the byte order is different. That makes me wonder... is ...
1
vote
0answers
1k views

How to mount samba rw because everything fails

I'm trying to mount windows share on my laptop and everything mounts ok but somehow I get permission denied when I try to create new file inside mounted folder. I tried noperm, uid, gid, noacl etc. ...
5
votes
1answer
3k views

Listing both ls information and mount points of a directory?

On my Ubuntu Natty, typically all new drives inserted (e.g. USB Flash thumbdrives) are mounted under /media. So, on my system, I can do something like this: $ mount | grep '/media' /dev/sda6 on ...
0
votes
2answers
130 views

Mount 2 directories on other servers to the same partition of local server

I have 3 servers, same OS (redhat 5.5 x64). There's the same package installed on these servers. Server 01 and 02 store their files at the directory /A (cause they use the same package, the directory ...
3
votes
1answer
543 views

What's the use dirsync option for mount?

Today I stumbled upon this mount's option: dirsync All directory updates within the filesystem should be done synchronously. This affects the following system calls: creat, link, unlink, ...
1
vote
0answers
189 views

unionfs filesystem

I recently learned about unionfs and aufs and would like to put it to some real use. The scenario I have in mind is the following. Boot a machine with ubuntu on it which will serve as our base. Make ...
2
votes
1answer
499 views

Error while mounting directory from host via NFS

I've been looking around the site but I couldn't find anyone with the same problem. On VirtualBox, I have a machine with IP *.28 and another one with IP *.20. The latter should mount a directory ...
8
votes
4answers
8k views

What is the fastest way to extract an ISO?

Currently I'm mounting an ISO to a (readonly) directory (using mount -o loop command) and then copying the contents to another normal directory. This takes lot of time as the ISO is large. Is this the ...
1
vote
1answer
86 views

Is disk space wasted when an ISO is mounted?

When we do mount -o loop filename.iso /path/to/mountdir, is twice the memory required to store the files? If no resources are used, can I mount hundreds of ISOs at a time? As in, is it like a softlink ...
1
vote
3answers
2k views

/etc/vfstab in Solaris 11

I would like to mount a folder from the remote server 10.12.13.2. When I type: mount -F nfs 10.12.13.2:/username /remote/username, the folder username gets mounted in the directory /remote/username. ...
0
votes
1answer
517 views

NFS server optimization for maximum performance

I'm looking for maximum of performance for a NFS mount. I'm on local network, it could be completly unsecure, the performance is the most important in my case. What I already found : In /etc/export ...
0
votes
1answer
223 views

LXC: How can I mount a drive/directory without restarting the container?

If I configure LXC's fstab and restart, there's no problem with the mount, but do I have to restart?
9
votes
2answers
6k views

LXC: How do I mount a folder from the host to the container?

I'm trying to mount a folder on the host to an LXC container. The host has a folder /mnt/ssd/solr_data created (this is currently on the root filesystem, but later I'll mount an SSD drive there, so ...
3
votes
1answer
2k views

Obtain device name and mount point if partition label is known

How to obtain the partition device name and mount point when the file system label is known? There are several possibilities: Linux File system label to device name The device name can be obtained ...
14
votes
2answers
2k 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
630 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
3k 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
339 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
86 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
420 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
21k 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
865 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, ...