Attaches a file system to a specified point in an existing filesystem hierarchy

learn more… | top users | synonyms

1
vote
1answer
765 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
655 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
123 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
125 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
276 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
155 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
81 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
800 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
213 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
390 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
21 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
33 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
46 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
221 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
150 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
45 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
106 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
59 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 > ...
1
vote
1answer
305 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
109 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
63 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
85 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
46 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
263 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
65 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
42 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
45 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
179 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
182 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
163 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
166 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
57 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
264 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
134 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
51 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
79 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
119 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
50 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
16 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
103 views

Recursively unmount Bind mount in both 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
109 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
33 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
201 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
31 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
53 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 ...
2
votes
2answers
126 views

Normal user can't unmount if mounted by root

I'm running a script that needs root privileges. One of its functionality is mounting an attached user HDD by using udisksctl utility. I'm using it like udisksctl mount -b /dev/sdX --options ...
1
vote
1answer
49 views

LInux Mint not recognizing/mounting 160 GB HDD

I am not sure how to get it to mount. This is what I get for sudo fdisk -l WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted. ...
3
votes
0answers
91 views

apt-get upgrade with /usr/bin on aufs fails to create backup link [duplicate]

I'm trying to update a frugal persistent (root and home) install of antiX-15 x64 from stable to testing. I changed the source lists and ran apt-get update. apt-get upgrade then fails with the ...
2
votes
1answer
48 views

Is fstab syntax the same as mount?

I would like to mount a filesystem permanently. If I understand this correctly, it can be done by adding a line to /etc/fstab. If my mount syntax is like this: mount -t cifs -o ...