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

learn more… | top users | synonyms

1
vote
1answer
377 views

Mounting usb automatically & having usb's label as mountpoint

How can I mount my usb automatically when I plug it in? Also would like the mountpoint to be the usb's label each time it is mounted automatically. Edit: I am using Raspian (on Raspberry Pi) which is ...
33
votes
4answers
6k views

How can I mount a block device from one computer to another via the network as a block device?

Is it possible to export a block device such as a DVD or CDROM and make it so that it's mountable on another computer as a block device? NOTE: I'm not interested in doing this using NFS or Samba, I ...
3
votes
2answers
1k views

NFS partition mounted as read only

(Disclaimer: I've read "NFS sharing is read only" and I think it's not the same problem) I have just setup NFS on my raspberry (Raspbian) and I'm trying to access it from OSX. So far so good, I can ...
2
votes
1answer
619 views

Problems mounting a disk

I have a disk that has failed to mount on start up. I have commented out the line in fstab to try to diagnose the issue: # /dev/sdc /media/bigdrive ext4 auto,exec,rw,user,async 0 0 Then rebooted. I ...
-1
votes
1answer
165 views

I cannot use yum command and ssh after mount drive.(CentOS)

As the title above, I cannot use yum command after I mount like below. mount /dev/xvdb3 /usr Filesystem Size Used Avail Use% Mounted on /dev/xvda ...
1
vote
1answer
190 views

Is there a selinux, httpd, or PHP configuration that prevents reading mounted drives?

I'm moving a virtualized centos web server over that has an all-to-small hard drive to a new machine and I hooked up a bigger drive for hosting videos and downloads and stuff. W When I try to run a ...
2
votes
2answers
3k views

Allow NonRoot User to Mount a Particular NTFS External Hard Drive

I have a 4TB external hard drive connected to an Linux server. The fstab permissions on this drive are set so that only one particular non-root user has access to it: ...
1
vote
3answers
200 views

Is it dangerous to remount a partition rw/ro frequently?

I'm developing an embedded linux system running on a SD card. To protect the SD against corruption I've used a read only root filesystem as well as an extra partition where I mount /home, also in ...
4
votes
1answer
5k views

Can't mount samba share

I'm trying to mount a samba host located at 192.168.2.5. I can ping the host, I can open the share on Ubuntu and windows (with the credentials). When I try to manually connect: ...
2
votes
5answers
9k views

mounting mmcblk0p1 failed with Invalid argument

When I am running linux from sd card and try to mount sd card -no problem, works fine. But when I am running linux from flash memory I am unable to mount my SD card: # mount /dev/mmcblk0p1 /mnt/ ...
0
votes
4answers
192 views

What's the advantage of mounting a file system in the same file system

RE-EDIT: We can usually see mounting a file system to a mountpoint, like: /usr/bin/truncate -s 128M /tmp/foo chmod 0700 /tmp/foo mke2fs -t ext4 -m 1 -F /tmp/foo mount -t ext4 -o loop /tmp/foo /mnt ...
0
votes
0answers
172 views

Can't mount Samba share on Rasbian, works flawlessly on Debian

I have a samba share that I use in my home, this works fine on both Windows and Debian, but when trying to mount it on my Raspberry Pi I just get an error. /etc/fstab: //media.lan/public ...
4
votes
2answers
9k views

HDD no longer able to mount after editing /etc/fstab

I have an SSD which holds / and my home directory, but I also have a 1TB HDD with most of my music on. I tried to edit /etc/fstab to automatically mount the HDD to save me time. I am running Kubuntu. ...
1
vote
2answers
176 views

confusion about mount options

I feel confused about mount options such as: --bind, --make-unbindable and --make-shared and could you please help me explain the below commands? sudo "mount --bind #{vm_bind_mount} #{vm_bind_mount}" ...
2
votes
1answer
5k views

NFS Server changes in /etc/exports file need Service Restart?

I have NFSv4 Server (on RHELv6.4) and NFS Clients on (CentOSv6.4). Let's say in /etc/exports: /shares/website1 <ip-client-1>(rw,sync,no_subtree_check,no_root_squash) /shares/website2 ...
2
votes
2answers
328 views

disable sudo password prompt for boot script

I've got raspbian installed and need to mount a cifs path after boot is completed. In fstab I got an entry for this with the noauto parameter. When using auto, boot hangs. So in raspbian, the file is ...
2
votes
1answer
614 views

Access files from BTRFS image on similar filesystem

Backgroud: Running XBian (Debian ARM distribution for Raspberry Pi), which uses BTRFS. I fragged my system and decided to start over. However, I ripped the image from the root filesystem device before ...
4
votes
2answers
9k views

How to determine if NFS mount is mounted as v3 or v4?

Red Hat 5/6 when I do mount it says type nfs, I would like to know how to determine version if it isn't listed in mount options or fstab. Please don't say remount it with the version option, I want ...
4
votes
2answers
559 views

Unable to delete files to trash in a bind-mounted filesystem

I'm trying to set up shared home directory for two Linux installations and thus I'm using bind-mounts. My user is named dbz and his home directory is /home/dbz. I also have shared directory ...
2
votes
1answer
1k views

How to rename /dev/sdax(partitions) in Linux

I made a partition like /part on my machine with some important data... But I can't stand the name of it... I want a clear solution to resolve it and change the name of it to for example /test... ...
5
votes
1answer
267 views

mount --bind other user as myself

I'm using fstab to bind a folder that belongs to another user in one of my own directories. I know that I can map users when I mount an SSHFS, I've been doing some research and I can't find a mount ...
1
vote
2answers
3k views

CentOS 6.4: Unable to mount disc, doesn't like UDF

I'm trying to use a CD on CentOS 6.4, but I keep getting this error: Unable to mount Disc Error mounting: mount: unknown filesystem type 'udf' I've installed udftools I've tried changing the ...
5
votes
3answers
325 views

Can I make the O/S drive READ ONLY and prevent metadata write back?

Sorry to ask a (probably) stupid question. I am a hardware designer struggling with provision of safe shutdown power to an embedded system. I am aware the Linux normally makes a heavy use of the ...
1
vote
1answer
105 views

Resize Disk on Linux

df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/vg_cloud-lv_root 51606140 9985252 38999448 21% / tmpfs 515252 0 ...
1
vote
3answers
887 views

What makes the files in my home directory appear, when I log in through SSH then run ecryptfs-mount-private?

I'm a bit of a newbie when it comes to using Linux. I've recently installed Ubuntu 12.04 LTS (minimal virtual machine) on a VPS host. I've encrypted the virtual disk and encrypted the home directory ...
3
votes
1answer
660 views

How do I mount a shared VMWare folder on startup?

So I'm following this article on how to mount a shared vmware folder. I can successfully mount with the following command: mount -t vmhgfs .host:/foo /home/user/Documents/foo However, I can't seem ...
0
votes
1answer
221 views

Having difficulties mounting a rootfs for an embedded Linux

I want my Kernel to start a squashfs rootfs for an embedded Linux. The squashfs file is on a sdcard, therefor i put these parameters on it's command line: console=ttyS0,115200 root=/dev/sdb1 rw ...
4
votes
1answer
990 views

Edit file on image created with dd [duplicate]

I've a bootable USB with Debian. Normally I clone the disk with dd, write the image on a new USB disk, mount this disk on my filesystem and edit some files. Is it possible to edit files on the image ...
2
votes
1answer
68 views

Isn't /boot a separate mount?

My understanding is that /boot is being accessed by lower level tools (e.g. grub) during system startup and so it is formatted specially in a simpler format than the rest of the disk. But when I do: ...
0
votes
2answers
275 views

Fedora 18 in VM locks the CD drive

I have windows 7 and I installed VMware (VMware-player-5.0,2-1031769) and want to put fedora 18 in it but after complete installation is done I'm getting the below error: The guest operating ...
1
vote
0answers
128 views

sharing folders in virtual box

I'm trying to run a Linux Mint guest inside a Linux Mint host(both 64-bit). I've installed Guest Additions etc. But I'm not able to access the shared folder. sudo mount -t vboxsf kernel ...
0
votes
1answer
77 views

I had a folder full of files, then I used “sudo mount” to mount a Windows samba share. Where did the files go? [duplicate]

I'm using a raspberry pi. I didn't think mounting a samba share to a folder full of files would do anything - I thought it would copy the files to the samba share. Now the files are gone from this ...
0
votes
2answers
4k views

How do I mount an XFS partition via /etc/fstab and non-root users can r/w to it?

I have 2 XFS partitions I want to mount via /etc/fstab: /dev/sdb1 /media/data xfs defaults 0 2 /dev/sdc1 /media/backup xfs defaults 0 ...
1
vote
1answer
275 views

Linux Booting with USB File System [closed]

I'm trying to boot a Linux system stored in a USB drive that I got by following the Linux from Scratch manual. I finished all but the booting part, the problem is that when the kernel tries to to ...
2
votes
1answer
1k views

Mount Android phone file system on Linux manually

How can I bind my Android file system to my Linux machine, and modify it? When I plug in my Android device, it seems to use one USB interface but I couldn't find whre the mount point is. I checked ...
2
votes
3answers
701 views

How to find out easily whether a block device (or a part of it) is mounted somehow

I want to know what the easiest way is to determine (without root privilege) whether a block device (say sdb) or any part of it is mounted (and which part of it). Checking /proc/mounts for sdb is not ...
1
vote
0answers
130 views

Mount partition with truecrypt using the commandline

I'm trying to mount a encrypted HDD with truecrypt, but I cann't find the device. Where can I finde my HDD and what is the command to mount it in truecrypt? I'm using Raspbian on Raspberypi.
0
votes
1answer
162 views

How to set automatically permission at automount without mask

I store my data on a NTFS parition to share it with my Windows. I use the dmask,fmask option in my fstab entry to avoid rwx default permissions to everyone, for coherence, security, and also because ...
4
votes
3answers
606 views

Why do I need to comment out the floppy in /etc/fstab in new-ish Debian versions?

I'm using a box with Debian that has gone through many updates (at least lenny, squeeze, wheezy). After a long time, I wanted to mount a floppy again which didn't work as it used to. I found a ...
8
votes
2answers
5k views

USB drive permissions when automounting

On Debian there is the common problem, that you try to plug an ntfs formatted USB harddrive and then can't write to it as a regular user to it because the directory belongs to root. A little time ago ...
0
votes
2answers
519 views

Impossible to mount USB hard drive. Filesystem not recognized?

I have been using a raspberry PI since more than one year, with two USB 500GB IDE hard drives as a NAS/torrent box. Yesterday, one of the two hard drives started a repetitive rattling noise, and I ...
0
votes
1answer
107 views

Mount entry in fstab when connect to a network

I have an entry in fstab (Opensuse) which mounts a samba filesystem: //10.39.52.2/Company /media/share cifs credentials=/home/user/file,rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0 but ...
1
vote
2answers
9k views

mounting iso image: message “block device is write protected, mounting read-only”! [duplicate]

I want to delete a few files from my iso image on hard disk. So, I did: ravbholua@ravbholua-Aspire-5315:/media/ravbholua/f34890dd-20d2-4d78-92c9-1de7c0957f00$ sudo mount -o loop check_bholua99.iso ...
1
vote
1answer
252 views

fstab bind inconsistency - Is a link a better option?

When binding two folders together as configured in /etc/fstab; #folder-with-old-data new-empty-folder fs option flags /home/user1/Mydata/Pictures /home/user1/Pictures none bind 0 0 ...
1
vote
1answer
486 views

special device tmpfs does not exist

I'm trying to speed up a project which uses a folder for cache by mounting the cache folder on tmpfs. But whenever I mount it I get this error message: mount: special device tmpfs does not exist ...
2
votes
1answer
3k views

DVD not mounted automatically in Linux Mint Debian Edition

I just installed LMDE on a brand new laptop. When I inserted a movie-dvd for the first time, it was loaded not causing any trouble. But since then, there seems to be no automatic mounting of dvds ...
2
votes
0answers
30 views

Mount a workstation dir upon login to server over ssh

I'd like to have a local directory be mounted upon logging into a remote server via SSH. So if I were to ssh into foo.bar.com as user baz then there would be a directory mounted in /home/baz/roaming - ...
1
vote
1answer
43 views

Let the server own the file created by the client on a Samba share

I'm sharing a directory on my Mac using Samba. When the client (Raspebian) creates a file on the mounted share, the file is owned by the user on the client and the permissions are set to -rw-------. ...
2
votes
1answer
100 views

Mount Drive Unplugged, Folder Still Writable

I created a folder using sudo mkdir /mnt/external/ and then mount an external hdd to it: $ mount -t ext2 /dev/sdd1 /mnt/external I have an application writing backups to that mounted drive. Then, ...
1
vote
1answer
764 views

Fedora 20: How to navigate to Windows partitions via commandline?

In Fedora 16, when accessing the Windows partitions via the Fedora GUI, it would get mounted on /media/. They were visible as /media/Data etc and I was able to navigate into those partitions via the ...