Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mount]

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

1
vote
0answers
31 views

input/output error when copy or link a file containing escape characters from home directory to a nfs system

Suppose that I have a home directory /home/mydir,which has a file containing time format (YYYY-MM-DD_HH:MM:SS) in its filename. When I try to copy or link these files to a nfs directory, it will ...
0
votes
1answer
21 views

Can I temporarily mount a partitioned hard drive while using LVM?

I currently have a hard drive with a boot partition and an extended partition; the extended partition contains /, swap, and /home partitions, as shown in the screenshot below: I recently acquired a ...
1
vote
1answer
26 views

Mounting a hard drive (beginner)

I'm trying to mount my two harddrives (sdb and sdc) on Ubuntu 18.04 $ sudo fdisk -l Disk /dev/sda: 111.8 GiB, 120040980480 bytes, 234455040 sectors Units: sectors of 1 * 512 = 512 bytes ...
0
votes
1answer
53 views

Mount iso -o loop select loop device

I have a bash script where I mount an ISO to loop devices: mount -o loop my.iso /tmp/foo And it happens that at the same time in my OS (Linux Mint 19) I have an ISO image mounted, using the GUI ...
0
votes
1answer
13 views

Undetermined status for the set-user-ID and set-group-ID bits (suid vs nosuid options) on a mounted filesystem?

The man page for mount indicates: suid Allow set-user-ID or set-group-ID bits to take effect. nosuid Do not allow set-user-ID or set-group-ID bits to take effect. but no indication that one or ...
0
votes
0answers
5 views

Configure pam_mount to suppress error output

I'm using pam_mount on Ubuntu 18.04 for mount CIFS shares. It works, but because it's called via 'common-session' pam_mount called during 'su -' and in this case it fails. I have no problem with that ...
0
votes
1answer
31 views

can not use mount.cifs: mount error(2): No such file or directory w/o password

I know there are several topics regarding this however, none of these solve my problem. I've tried the different options mendtioned here I have a router which exposed an attached disk via smb: \\192....
0
votes
1answer
9 views

mount.cfs asks for password when passing argument -o guests

I have Centos machine that want to mount files from NAS, but when passing guest user, it want password: mount.cifs //192.168.96.2/b/files/ /mnt/files -o guests,nocase In another machine near this ...
0
votes
1answer
32 views

I would like to resize my /tmp partition but gparted doesn't want to change anything, nowhere

I use my computer with Debian 9 for Java Spark development. Spark is a Big Data API and these kind of works use more temporary space than the 2G that by default the Debian installation sat. marc@...
3
votes
3answers
61 views

Create folder in USB once mounted

I am trying to create a folder in USB once it's mounted. I am using below udev rule where I am sending **ID_FS_UUID_ENC** (64AC6F22AC6EEE4C) as a parameter and in the start.sh I am creating a ...
1
vote
2answers
33 views

standard/simple way to mount remote directory

There is a shared_data directory in each of my client machines and I want to mount them all in my server. What is the most simple/standard way to do it? NFS seems more suitable for sharing directories ...
0
votes
1answer
13 views

Dirty unmount of nginx cache dir on reboot

I have a file based mount, used for nginx cache dir, so that the hundreds of thousands of little files don't clutter the main file system. It's fstab line is the following: /data/project/cache.img /...
0
votes
0answers
39 views

unshare system call c code linux namespaces [on hold]

In Ubuntu 16 kernel 4.15 this work in console: root@ubuntu:~# unshare --mount-proc --pid --fork root@ubuntu:~# umount /proc root@ubuntu:~# mount -t proc proc /proc root@ubuntu:~# ls /proc (I see ...
0
votes
0answers
10 views

ACL: Wrong owner & group after mounting

I try mounting the filesystem of our NAS on my Linux machine. I mounted the filesystem from the share with my username: sudo mount -t cifs -o user=username,sec=ntlmv2i //share /run/media/user/...
2
votes
0answers
26 views

Can't mount block device to directory

Checked for existing devices sdb 8:16 0 5.5T 0 disk /mnt/grid/0 sdc 8:32 0 5.5T 0 disk /mnt/grid/1 sdd 8:48 0 5.5T 0 disk /mnt/grid/2 sde ...
0
votes
1answer
28 views

Mounting Windows shared folder with fstab

I am trying to convert this command line: sudo mount -t cifs //192.168.20.202/torrents /media/NAS -o username=x,password=y,dir_mode=0777,file_mode=0777 Into /etc/fstab entry, but it keeps mounting ...
0
votes
1answer
29 views

Why mount doesn't show full list of mounted files as appears in /etc/mtab and /proc/mounts [duplicate]

I created an alpine container with limited user. When I run mount it shows me the following mounted list: /home $ mount overlay on / type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/...
0
votes
0answers
21 views

Rsnapshot RW as root, RO for everyone else

I am using rsnapshot to store snapshots. I would like root to be able to write to it so rsnapshot can run. I can't change permissions because I want to preserve them so each user can still only ...
0
votes
1answer
20 views

setting up davfs2 to mount properly

I am trying to set up my nextcloud account so that i can log in. When I try to log in with sudo mount -t davfs2 ... it keeps on asking for my next cloud credentials - it does not get them from the ...
0
votes
1answer
26 views

Automount nfs on redhat 7.2 not works

I have the following nfd share folder on my linux client ( redhat 7.2 ) master1:/nfs 41932800 6601728 35331072 16% /nfsshare we decided to use the service auto fs in case this share ...
1
vote
1answer
42 views

how to avoid mounting directories with overcomplicated paths?

Background: I am accessing a remote directory like this: smb://serv.erNa.me/storage/directory/ Accessing it, is not an issue. Through the file manager I copy paste the path, press Enter, insert ...
1
vote
0answers
41 views

How to mount stackable filesystem wrapfs on /

I am trying to mount wrapfs on top of / in order to intercept all file access on a CentOS 7.4 running on VirtualBox. Simply running mount -t wrapfs / / doesn't do the job and nothing goes through ...
0
votes
2answers
45 views

Can fstab dynamically mount a partition by reading from a file or filename?

I have a partition structure as follows: /dev/sdc1 => Partition 1 ( My OS. [ Linux flavour ] ) /dev/sdc2 => Partition 2 ( This contents some data. ) /dev/sdc3 => Partition 3 ( This also ...
0
votes
2answers
61 views

is it possible mount automatically if from some reason mount folder isn't mounted

we create the following mount point and nfsshare folder as share folder on all our linux client machines ( total 1872 machines - redhat 7.2 ) master1:/nfs 41932800 6563840 35368960 16% /...
0
votes
0answers
16 views

Move a mountpoint into a new lv without data loss RHEL6

RHEL6. VMware VM. I want to move /data and all the files it contains into a new lv in existing vg. Currently: /data is mapped directly onto sdc1 and is 100% full /dev/sdc1 315G 299G ...
2
votes
1answer
47 views

About mounting and umounting inherited mounts inside a newly-created mount namespace

Experiment 1 From outside the namespace, cat /proc/self/mountinfo gives 291 34 0:37 / /tmp/IMJUSTTMP rw,relatime shared:152 - tmpfs tmpfs rw,size=102400k 34 23 0:32 / /tmp rw,nosuid,nodev shared:16 -...
2
votes
1answer
28 views

Understanding Autofs mounting

So my auto.master looks like this, the server I am concerned with is server4-vn01.cifs. /- /etc/server.cifs --timeout=400 --ghost /- /etc/server2.cifs --timeout=400 --ghost /- /etc/server3.cifs --...
1
vote
0answers
35 views

Running su inside mount namespace

I am testing mount namespace using the following steps: # unshare --mount # mount --bind rootfs/ ns_dir/ # cd ns_dir/ # pivot_root . . # cd / My rootfs has sub-folders /lib, /bin, /etc. I have put ...
0
votes
2answers
23 views

Access serial port of sshfs mounted filesystem

I'm trying to read /dev/ttyUSB0 of another computer mounted via sshfs, however commands such as cat /mnt/tmp1/dev/ttyUSB0 return "Permission denied" (I'm mounting the filesystem to /mnt/tmp1). I've ...
0
votes
0answers
15 views

Mount cifs Network Drive: dynamic permissions?

I have a mount from Linux to a windows network drive that works great. Except for one thing: every 90 days my password changes and I have to go in and recreate the mount like so: sudo mount -t cifs \ ...
-1
votes
0answers
14 views

Reconnect to mount after vpn reconnection / mount.cifs mount error(16)

Anyconnect sometimes has connection issues which results in the NAS to disconnect. If I want to reconnect using mount.cifs -o username=user,noperm //nas.com /local_adress I get the error mount ...
2
votes
0answers
54 views

Unable to mount Mac's EFI partition from Ubuntu Live USB

I've tried to mount my mac's EFI partiton while using an ubuntu live USB, however I get the following errors: ubuntu@ubuntu:~$ sudo mount /dev/sdb2 /mnt/efi mount: /mnt/efi: /dev/sdb2 already mounted ...
0
votes
0answers
62 views

Overlay : filesystem not supported on lowerdir

I tried to mount an external storage device (a usb flash drive) with overlay (as the lowerdir the usb and as upper a temporary ramdisk) mkdir /data mkdir /data/lower mkdir /data/rw mkdir /data/root ...
0
votes
0answers
32 views

Mounting MTD root file system (squashfs) on NAND flash

Device use embedded Linux version 2.6.26.5, 11 MTD partitions created on "gen_nand" at boot time. # cat /proc/mtd dev: size erasesize name mtd0: 00060000 00004000 "u-boot" mtd1: 00020000 ...
0
votes
0answers
18 views

Error while creating network name space : mount --bind /var/run/netns /var/run/netns failed: Invalid argument

I am facing this issue while creating network namespace with following command in kernel 3.10. bash# ip netns add ns1 mount --bind /var/run/netns /var/run/netns failed: Invalid argument debugshell# ...
0
votes
1answer
76 views

How to mount cifs with kerberos for a generic user?

I am able to mount a corporate shared directory on my AWS Workspace manually but I need to do this for all users. $ sudo ksu [sudo] password for <Domain>\<User.Name>: Leaving uid as root ...
0
votes
1answer
20 views

How to Mount an NTFS Formatted SD Card with pmount (or other tool)?

I wrote a script which transfers automatically pictures from the SD card (taken with a digital camera) to the harddrive and takes care of putting them in a subdirectory in the main pictures folder and ...
0
votes
0answers
40 views

Mounting squashfs with correct permissions

I frequently use mksquashfs to make backups of folders on various systems. Sometimes this results in files which cannot be read by any users upon mounting. If I do a sudo mount file.squashfs /to/...
0
votes
1answer
26 views

Mount internal drive to all users

I have an internal 8tb harddrive which I want it to be mounted to all users on my machine some of the users are local and some are ldap users. I've created a folder called 8tb in /media/8tb Then I ...
0
votes
0answers
34 views

How to map / mount a directory to another

I have two directories: /volume1/photos/ /volume1/shared_photos/ In shared_photos I have several sub-directories with pictures. What I want to do now is to "mount" or all the files from ../...
0
votes
1answer
36 views

How to mount a partition inside encrypted lvm inside a disk image?

On my previous computer, I had my / /home and swap inside an encrypted lvm, and outside the lvm I had the /boot and /boot/efi. I then created an image. I think I did like this: dd if=/dev/sda of=lvm....
0
votes
0answers
27 views

Can I specify a size space while using mount command?

I mount a *.img file, and want to copy some new files into it. But there is not enough space for me to place new files. Can I specify more size space while I use mount. ./Image: No space left on ...
1
vote
1answer
51 views

What is “filesystem-specific information” in `/proc/self/mountinfo`?

The manpage /proc/pid/mountinfo said it has the field 36 35 98:0 /mnt1 /mnt2 rw,noatime master:1 - ext3 /dev/root rw,errors=continue (1)(2)(3) (4) (5) (6) (7) (8) (9) (10) ...
1
vote
1answer
23 views

mounting loop not working with UUID

I have created a loop device and added it to /etc/fstab I got its UUID from the output of the blkid command (it does print a UUID for the particular device after running mkfs.ext4 /path/to/loop) ...
1
vote
1answer
76 views

Ability to mount the same tmpfs more than once

Why is the following possible? root@pkara-pc01:~# mkdir -p /tmp/shared root@pkara-pc01:~# mount -t tmpfs -o size=1G mymount /tmp/shared/ root@pkara-pc01:~# mount -t tmpfs -o size=1G mymount /tmp/...
2
votes
0answers
51 views

Restrictions on pivot_root to switch root filesystem

This question is a follow up to the question I asked on how LXC setups up its root mount point. For a container named testcontainer, LXC uses bind mount to mount /var/lib/lxc/testcontainer/rootfs to /...
0
votes
0answers
24 views

How do I remount / on my live CD to include /mnt/sda1/overlaytest as upperdir?

How do I remount / on my live CD to include /mnt/sda1/overlaytest as upperdir? I tried: { mountpoint /mnt/sda1 && sudo mkdir /mnt/sda1/overlaytest && mount -v -o remount -t ...
2
votes
0answers
65 views

Mount ISO contained in Docker to host volume

Is there any way to mount an ISO contained in a Docker so that the contents of the ISO are available to the host machine? I can do this on a Linux host by using a bind mount with shared as the bind ...
5
votes
1answer
206 views

Linux clients can't login on samba share while windows and mac can (active directory env)

Setup server Centos 7.6 Samba 4.8 Winbind SSSD Kerberos This machine is attached to the company active directory as member server but not domain controller (I followed the RadHat documentation to ...
0
votes
1answer
37 views

how to mount from /mnt/hgfs to desktop

Host: win10 - Guest: Mint 19.1 - VMware Workstation: V15 shared folder on host is 'K:/Shared Folders'. it is named 'Shared' in vm settings. It shows up in '/mnt/hgfs/Shared' so I believe the ...