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

learn more… | top users | synonyms

1
vote
2answers
25 views

Where is the information about the file system format stored in External Hard Disks

I was reading about mounting in Operating Systems and have the following question related to it: When we plug an external hard disk it gets automatically mounted in our file system, the one our ...
2
votes
1answer
223 views

wrong fs type, bad option, bad superblock when attempting to mount restored volume

I restored a LVM group from a recovered config today (background #1, #2). Full images were made of the disks prior to issuing the following command. [root@ursula diskissues]# vgcfgrestore -f ...
0
votes
2answers
87 views

Mounting a shared drive from windows with CIFS

What I'm trying to achieve is mounting some drives shared on my network (one a Time Capsule, 3 shared drives from a Windows 10 machine) on a Raspberry Pi 2 running Ubuntu 14.04 with read and write ...
0
votes
1answer
250 views

External HDD not mounted at boot, but fstab seems ok

I'm on a Raspberry with DietPI distro and I cannot mount a NTFS hard drive at boot. This is the fstab file: #Internal Drives--------------------------------------------------- proc /proc ...
1
vote
1answer
422 views

Cannot format device /dev/sda4 which is still in use

When I try to LUKS encrypt a partition on a CentOS 7 server using the command cryptsetup -y luksFormat /dev/sda4, the attempt fails with the error Cannot format device /dev/sda4 which is still in use. ...
1
vote
1answer
170 views

Mount a directory from an already-mounted remote share directory

Eesh, that title is a mouthful. Anyway, here's my scenario. I have a remote machine at IP address xxx.xxx.xxx.xxx, and a local machine. I've set up the export file on the remote machine to export ...
0
votes
0answers
85 views

Not able to automount NFS share

I am using RHEL 6 and not able to mount NFS Share via automount . My Config files are as follows :- #cat /etc/auto.master /mnt auto.mnt #cat /etc/auto.mnt /nfsshare ...
3
votes
1answer
80 views

Systemd is unmounting my /boot partition

My sda1 is mounted to /boot after booting, and I can manually mount it just fine. But something is automatically unmounting that partition, even after I've manually mounted it. These are the current ...
1
vote
1answer
164 views

Debian VirtualBox auto mount fails on startup but works after login: mounting failed with the error: No such device

I have a VirtualBox Debianx64 system installed and I was trying to share a host folder to it. Following a tutorial, I came to a mount command: sudo mount -t vboxsf -o rw,uid=1000,gid=1000 [Virtual ...
0
votes
1answer
94 views

Unable to mount “lvm2” volume

I had to reinstall CentOS on a system with a separate disk array for data. I installed on the OS disks and kept the other disk array as storage (so they were not formatted). When I try to mount the ...
0
votes
1answer
56 views

Need help with mount.cifs syntax for read/write mount for non-root user

When I upgraded to Ubuntu 14.04 it also upgraded cifs. In Ubuntu 12.x a network mount script I had would nicely mount a Windows network share as read/write. My attempts at updating it to work with ...
23
votes
2answers
2k views

How does Linux know which USB hard drive is which?

Currently I have Linux Mint installed on my PC with a USB hard drive partition mounted as /home. This is working well. If I install a second USB hard drive, is there any chance Linux will get ...
0
votes
1answer
206 views

Mount successful, Directory accessible, but cannot do Operations (cp, mkdir, etc.)

I have mounted a shared network drive. See below output of df -h command. Filesystem Size Used Avail Use% Mounted on /dev/sda1 550G 362G 161G 70% / tmpfs ...
0
votes
2answers
103 views

Debian Linux root disk getting full, need to transfer /var folder to another disk

One of the disks got out of space, however other disk is nearly empty. Need suggestions how to transfer biggest folder(/var) to the other disk and mount at /var. For now /var folder was in / ...
1
vote
0answers
155 views

Raspbian disable mount & automount USB storage

I have installed Raspbian on the Raspberry Pi. Due to the security policy in the company, we would like to block access to USB mass storage (pendrives, usb drives, etc.). I tried according to this ...
0
votes
0answers
17 views

Kodi Streaming from RasPi 2 renaming drive

I have a RasPi 2 set up at home with four drives attached; I've been using it as a media/general purpose server for a few months now, including streaming videos to my laptop with Kodi (Kodi is ...
1
vote
1answer
32 views

Is it possible to mount a partition only for some users?

This thread comes from here. Even when it is an Android question, I think the theoretical command line part should better be asked here. In short: I have achieved to mount a Ext4 file system, but ...
0
votes
2answers
34 views

Strange NFS Issue

Hoping someone can help with this. I've got an issue where I've got a mounted directory with three sub directories. I'm able to CD into two of the sub directories without any issue, however the third ...
1
vote
2answers
116 views

Can I mount a partition from a full drive image? [duplicate]

Note: While I agree that this question basically is a duplicate of the above question, I feel @alienth's answer (below) is more concise, so I suggest you take a look at it before going to the other ...
2
votes
1answer
109 views

Mount blank file system on msdos partition table

I need to get into a partition on an SD card, but it has no file system and I can't figure out how to mount it. When I type parted /dev/sdc print I get Model: USB Mass Storage Device (scsi) Disk ...
1
vote
2answers
42 views

How do I find which external drive a folder is mounted from? [duplicate]

For instance, let's say I mounted dev/sda1 and dev/sda2 in the distant past. I'm in media and I see folders drive1 and drive2. What command can I use to see which one is sda1 and which one is sda2?
2
votes
0answers
83 views

LVM partition not mounting

There was a drive failure on a disk in a RAID1 configuration. I removed the bad disk and reconfigured the RAID1 to only use the good disk. When I reboot the machine there are missing LVM partitions. ...
1
vote
0answers
46 views

sysv and unknown partition table?

We have disk about 1985, It has a Unix.But we didn't know type of Unix.I did the following step : dd if=/dev/sdc of./all_of_disk.iso #sdc is the given disk Then : hexdump -C all_of_disk.iso > ...
0
votes
1answer
263 views

CIFS mount Permission Denied

I want to preface my question saying that I am relatively weak with Linux and the command line and also StackExchange. I am trying to set-up a network drive from a different unix machine. I have ...
2
votes
1answer
62 views

Directly mount btrfs subvolume or bind mount if already visible

If /dev/sda1 is a btrfs filesystem with subvol's root and persistent And I've set the default subvol to root And I've mounted /dev/sda1 (again root is default) to / And I've mounted /dev/sda1 ...
1
vote
0answers
48 views

mount a NAS network share, but let the NAS sleep

I have a NAS (WD MyCloud) which has by default NFS/SMB access enabled. I also have a raspberry pi, that I would like to use as a git server that is addressable over internet using a SSH connection. ...
1
vote
0answers
60 views

Linux shared mount point inconsistent between child and parent processes

Let me try to explain the background: In main bash: We use mount --bind /tmp/source /tmp/target mount --make-shared /tmp/target to create this shared mount point target And then we use unshare ...
0
votes
0answers
38 views

Volume appears in mtab although not mounted

I have some issue with mounting: I insert, and remove SATA card several times. I see after removal that the mount record still exists (exists in /etc/mtab or /proc/mounts): It appears as /dev/sd*. ...
1
vote
1answer
178 views

Trying to mount ext4 partition from eMMC gives “Invalid Argument” error

I'm trying to set up a custom Linux installation on an Intel Atom (Baytrail) based Android tablet, using Qt 5.5 for device creation. The build system is based on the Yocto project and builds an ...
1
vote
1answer
55 views

what is the difference between mounting via command line and using GUI?

I am in great trouble as of now as if I have to mount my drive only using command line because if I mount my drive using GUI it gives me permission as read only for command line operations. See the ...
0
votes
1answer
33 views

Mount SMB share as different volume

CentOS 6 server currently has the following volumes: /boot / Is it possible to create a new volume that is a mounted SMB share? E.g.: /nas Currently this share is mounted by fstab to /mnt/nas, ...
1
vote
1answer
37 views

User rights on mounted USB-Stick

I have an issue regarding User Rights on mounted USB-Device using my Raspberry Pi with Raspbian/Samba-Server. In the folder "/media" there are 2 subfolders as the following drwx------ 45 pi pi 8192 ...
0
votes
1answer
77 views

mounting a davfs share always asks for credentials

I installed davfs2 on my rPi running piCore-6.1. I added a line with the desired mountpoint to /etc/fstab: https://url.../ /path.../ davfs _netdev,rw,user,uid=1000,gid=1000 0 0 I also created a ...
3
votes
2answers
124 views

Mount hard drives in the same order in debian

How can I mount the hard drives always on the same /dev/sd? node? For example, how can I make the hard drive with the UUID xyz to be mounted always on the node dev/sda? The reason why I want to do ...
0
votes
0answers
119 views

Cannot add noexec to fstab /tmp/

Does anyone know why my Graphical Interface does not load after reboot when I remove " noexec " from fstab? So if I remove the " noexec " from the /tmp/ entry in FSTAB, it will load the GUI fine ...
0
votes
0answers
110 views

CIFS Shares No Longer Automounting At Boot

I have a couple of CIFS shares that used to automount successfully (on an Arch Linux box) at boot but have recently stopped doing so. I've tried to discover why but am currently stumped so hope ...
-3
votes
2answers
51 views

how can I delete the remnants of windows from a new CentOS 7 server?

I recently installed CentOS 7 on a new computer that came shipped with Windows 8.1. The BIOS no longer shows windows as a boot option. But my initial analysis of the file system is hard to ...
1
vote
1answer
148 views

how big should the /boot directory be in a CentOS 7 server?

I am installing CentOS 7 in a 200GB partition of a 2TB hard drive whose other partitions will later become managed by this master CentOS 7 installation. How big should the boot mount installation be? ...
0
votes
1answer
82 views

Parent mount becomes inaccessible after mounting child into subdir?

Im installing arch. Upon installation, after partitioning my drives, right when I go to chroot to begin the fun stuff, I get an error mount:mount point mnt/etc/resolv.conf does not exist chroot: ...
1
vote
0answers
36 views

Easy mount hdd from remote computer

I've got a computer with an SSD with Linux Mint installed and a bunch of HDD's. When in the file-browser I click one of the HHD's they get mounted in /media, which is fine for me. However I need to ...
0
votes
1answer
67 views

Chroot - copy or mount --bind

In every tutorial I found online about chrooting, there is part involving copying stuff into the chroot, executables, libraries and others. Why is that? Why not just mount --bind the stuff in? ...
1
vote
0answers
81 views

Interrupt systemd mount unit during boot

I've Btrfs RAID1 mounted during boot with this line in fstab: /dev/disk/by-label/storage /mnt/storage btrfs noatime 0 0 Few days ago I was checking data on some old disks, and to connect them I ...
1
vote
0answers
43 views

Funny message when changing ownership of top directory in a mounted file system

For unknown reason, the ownership of this directory changed. This is a mount point: VM-data is /dev/sda3 which is a btrfs file system. When I changed it back, I got an error, chown: changing ...
0
votes
0answers
14 views

Limit read access for folder in samba share

So, I'm trying to make it so that one of my shares can be acessed by almost everyone, but inside this share I have a symlink to a mounted drive which I only want to be accessed by users of one ...
1
vote
0answers
74 views

Unmount Recursively Bind Mont in User and Mount Namespace

I am trying to use recursive bind mount in a new user namespace and mount namespace. This is what I do. Assume /foo/bar/ and /foo are both mount points. Firstly I do mount --rbind /foo/bar/ /baz, and ...
1
vote
1answer
88 views

Problem mounting disk

[root@localhost ~]# fdisk -l Disk /dev/xvdb: 2147.5 GB, 2147483648000 bytes 255 heads, 63 sectors/track, 261083 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size ...
0
votes
1answer
25 views

What happens if I mount multiple devices at the same path in chroots?

I'm trying to understand what happens if multiple change roots mount to my host's /proc directory. sudo chroot mychroot1 mount -t proc proc /proc sudo chroot mychroot2 mount -t proc proc /proc ...
2
votes
1answer
137 views

remounting FS with read write rights

Looking for the read only file system: grep "\sro[\s,]" /proc/mounts /dev/disk/by-uuid/2c04d594-b11d-4b02-b1b3-3d9f0b66b73c / ext3 ro,relatime,errors=remount-ro,barrier=1,data=ordered 0 0 So the / ...
1
vote
0answers
25 views

Failed unmount from GUI

I am developing a script which provides mount only specific USB Storage. First I blocked automount feature from /etc/udev/rules.d/85-no-automount.rules by adding blockrule="SUBSYSTEMS=="usb", ...
0
votes
0answers
43 views

Messed up chown in /usr/bin. Caja won't allow me to mount drives

Ok so I did a bad boo-boo and did a chmod 755 on /usr/bin (it was by mistake, there was a folder in /usr i needed to do it on that started with "bi" and I stupidly did chmod -R 755 /usr/bi* cuz I was ...