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

learn more… | top users | synonyms

0
votes
0answers
23 views

How do I execute a command if a drive is not mounted?

I am trying to create a shell script to mount a LUKS volume if it is not already mounted. The LUKS password will be in the shell script. The shell script is being stored in a encrypted folder so it is ...
4
votes
0answers
126 views

Mounting a SafeDisc-protected ISO on Linux

I have a copy of a very old and obscure software CD (circa 2004). The disc uses SafeDisc copy protection and needs to be in the CD tray for the program to run. I have been using the original CD under ...
1
vote
1answer
84 views

NFS client does not recover if server reboots

There are two machines: (a) is the NFS server and (b) is the NFS client. When machine (a) reboots is there a way to recover the NFS client on machine (b) without a reboot?
1
vote
1answer
131 views

umount failure, e2fsck not possible to check for errors

I am backing up my home computer using an rsync script to a remotely located WD MyCloud. I have recently found directories on the WD MyCloud that won't delete. Here is an example: ...
0
votes
1answer
58 views

Check if FibreChannel disk is mounted somewhere else

I have two RHEL 6.5 servers. Each has access to the same FibreChannel LUN with multipathing and LVM on it – let's say /dev/mapper/vg0-lv_shared. lv_shared can be mounted on server1 or server2 but not ...
-1
votes
3answers
55 views

Mounted dir disappears after restart

I ran this command on RHEL 6.3: # mount /dev/cdrom /mnt Everything is okay, but after a restart the mounted dir, /mnt disappears... I don't know where is it going.
1
vote
1answer
44 views

Error copying file in mounted usb

I'm formatting an USB pen drive. For this I run the following commands: First umount the device: sudo umount /run/media/myuser/folder_where_is_mounted (I'm runing manjaro and is in /run where ...
47
votes
5answers
2k views

Why does mount happen over an existing directory?

An existing directory is needed as a mount point. $ ls $ sudo mount /dev/sdb2 ./datadisk mount: mount point ./datadisk does not exist $ mkdir datadisk $ sudo mount /dev/sdb2 ./datadisk $ I find it ...
1
vote
1answer
55 views

Effect of nosuid on executables inside the mounted filesystem

Let it be known that I barely understand what setuid/setgid/whatever is. I think it has something to do with what user a program is executed as. This brings me to nosuid. In Security Enhancements in ...
1
vote
0answers
20 views

Does rsync\duplicity real write files on mounted storage?

I've got an external storage, which is mounted as cifs: $: mount ... //somespace/backup on /mnt/backup type cifs (rw) ... And I have write some file: $: rsync /home/user/files /mnt/backup or $: ...
0
votes
1answer
228 views

archlinux installation failing mounting issue

I can boot to my CD created using ubuntu. I boot to the archlinux x86-64 and it boots me into [rootfs /]# The error I am getting is the same error I am seeing in a lot of forums. ERROR: ...
0
votes
1answer
159 views

Remount linux filesystem from ro to rw [duplicate]

I need to remount my linux filesystem from ro to rw. But nothing gonna work. I will be very grateful if someone help me. # mount /dev/mtdblock3 on / type squashfs (ro) proc on /proc type proc (rw) ...
0
votes
0answers
11 views

Mount external drive from old eMac with Darwin

How can I mount an external HD from a Darwin console? I've tried running fdisk, but fdisk -l fdisk: unable to stay -l: No such file or directory mount -a didn't barf but didn't do anything material ...
0
votes
0answers
64 views

Unable to mount 3TB GPT HDD

I have a little Problem, my Home-Server didn´t mount my 3TB GPT. Yesterday all was fine, this morning I realize that i cant go in my Network-Storage. First i thinked it was a network isue, but now i ...
3
votes
2answers
40 views

Mountpoint to different partitions and different filesystems

While reading on mount point, I think of file management in Linux as followed : / is the main body of a tree /a is a branch from the main body, /a/b is a branch from /a branch To mount a partition c ...
1
vote
0answers
80 views

cifs-mount with multiple shared folders on windows server

I'm having a windows server winserv with several shared folders share1, share2, etc. and would like to cifs-mount them all in the terminal by just addressing the server and not each shared folder ...
2
votes
1answer
135 views

FreeBSD jails - Nginx, PHP-FPM, Wordpress - Share folder between jails (read-only)

Question I want to seperate PHP (PHP-FPM) and Nginx into different jails. One jail with Nginx, and one with PHP-FPM / PHP / Wordpress. Nginx is good at serving static assets, so I would like to ...
0
votes
1answer
65 views

Cant mount disks

I have a windows 8 ,ubuntu dual boot system. when i open kali . i cant see any of the hard disk partitions . i receive the following error message . Error mounting /dev/sda1 at ...
2
votes
1answer
45 views

USB automount call another x-session

I have FreeBSD 10.2 installed with Openbox as wm. When I put flash drive in USB new instance of openbox starts automaticaly. I don't undestand why. /etc/rc.conf # Hostname hostname="dark" ...
1
vote
1answer
108 views

share encfs folder within the same group

given an encfs folder mounted under its own user, is it possible to permit read access to someone else (especially a system user), who belongs to the same group? For example user1 owns ...
0
votes
0answers
166 views

why my mobile HDD can not mount on the opensuse 42.1?

I want to mount my usb mobile HDD(mobile hard disk drive) to /mnt. I tried the following command sudo mount -t ntfs /dev/sdb1 /mnt/usbhd1 but I get the error message: Failed to open index ...
4
votes
1answer
82 views

Can udev trigger an action upon mount alone?

Can udev be used to trigger an action when an always-connected drive is mounted, or is it only useful for hotplugging (as the documentation suggests)? I want to trigger a script when my ...
4
votes
2answers
265 views

How can I tell if a directory is mounted with noatime or nodirtime?

I work with an NFS partition on a mac. Commands like du take a very long time, and I was considering unmounting the NFS and remounting it with noatime and nodirtime. The partitions have been mounted ...
0
votes
0answers
234 views

Unable to mount FAT32 USB (wrong fs type)

I am trying to mount a USB stick that is formatted with FAT32. After the drive did not auto-mount, I created a mount point /media/external and then tried the following to mount it: $sudo mount ...
3
votes
4answers
63 views

Finding mount points with the find command?

Is there a way to recursively search a tree for mount points on Linux? I'm looking to do something like this: find /tree -type mountpoint | sort -r | xargs umount
0
votes
1answer
45 views

Unable to mount a windows share drive

I have to access some files present in a windows share drive from a linux machine which is running centos. I am able to do this from a Mac machine using the command sudo mount_smbfs ...
1
vote
0answers
86 views

tune2fs filesystem not clean

I've read in some forums that sometimes if you check tune2fs on a mounted device, it's OK that it says filesystem state: not clean. Can someone give me a complete explanation when this is true?
1
vote
3answers
53 views

How to find out where a certain subdirectory is mounted?

Let's say that /var/log is /dev/sda2, and /var/spool is part of /var which is part of / which is /dev/sda1. Now I'd like to issue a command like $ sudo get_mountpoint_of /var/spool and get the ...
1
vote
2answers
78 views

How to check if directory is mounted on disc X and mount it if it isn't

I'm trying to write script to back my data up. I don't know much about it, so I might take a wrong approach, but what I'm trying to do is use rsync -avh several times for each directory I want to back ...
1
vote
0answers
72 views

Untar a filesystem to device as normal user but maintaining the correct UID and GID

I'm doing quite a bit of development using Yocto to target an embedded system. As its final output, Yocto generates a tarball of the filesystem, which I then untar onto an ext4 partition of an SD ...
1
vote
1answer
51 views

Can udev monitor network storage mounting & unmounting?

I want to setup notification whenever any network drive is mounted or unmounted. (Basically I want to run a custom script, whenever any network storage is mounted or unmounted). I think udev can do ...
3
votes
0answers
59 views

Can't delete a swap partition, says that it's mounted while swapon says it's not?

I have a swap partition mounted on /dev/sda6 Linux Mint 17.2/Windows 10 dual boot. Am using HP 2000 notebook PC with 4GB RAM. When I installed Linux Mint I created a swap partition which as it happens ...
0
votes
2answers
16 views

Access a Windows 2008 server HDD from Centos 6.7

One of my co-workers has a hard drive with Windows 2008 server that does not boot all and we need to access certain files in the OS so then it can boot properly. Does anyone know how can I access ...
1
vote
1answer
42 views

Permission denied when writing a file

Upon installation, I have created an extra partition and mounted it as /data. The partition is visible, but I get a Permission denied error when trying to create a file or directory in it. Doing it ...
2
votes
2answers
247 views

Remount Arch Linux installation CD to download some additional packages

According to this post I can: Start the livedisk again, remount your drives archroot into your root partition and then install the packages you need and everything should work. However, I ...
0
votes
1answer
24 views

Cannot mount RAID 5 disks

I am trying to mount 3 x 2TB RAID discs from an ubuntu server, but I cannot. I know that these disks were used in a server using RAID5. I tried to mount them using mount -t but I was unable to specify ...
0
votes
0answers
313 views

Cant mount USB drive in Freebsd (pfsense)

I`m trying to mount a USB drive. It shows up in dmesg. Root mount waiting for: usbus1 ugen1.3: <Generic> at usbus1 umass0: <Generic Mass Storage, class 0/0, rev 2.00/1.03, addr 3> on ...
0
votes
2answers
28 views

how to find the file size for softlinked files

I have a log of files that's on a NFS, and they are connected via softlinks on the local redhat server. When I try to run search for any files that was touched during last weekend and calculate ...
1
vote
1answer
289 views

How to Bind Mount /var/tmp to /tmp using Ansible and to CIS standards

I am hardening a centos6.7 VM to CIS benchmark standards. I am automating as much as I can using Ansible. The hardening document I am using is (page 12-13): ...
2
votes
1answer
67 views

How to mount /boot from LiveCD (FreeBSD 11 ZFS)

FreeBSD 11 (current) with ZFS I can mount zroot with zpool import -fR /mnt zroot but /mnt/boot is empty (and it's even not a directory) I need to edit loader.conf, how can I do it?
0
votes
0answers
11 views

Folder Permission on Storage Mounted by User [duplicate]

I'm having trouble with an external hdd. Let us say there're two users; user, guest. Let the external storage be called hdde. User has automagically mounted hdde in Ubuntu (for some reason it's ...
1
vote
1answer
56 views

NFS mounts with non-matching UIDs/ usernames

There's a Linux machine where files are owned by a user named "lab" with a UID of 1000 (on the system). There's another Linux machine where files are owned by a user named "user" with a UID of 500 (on ...
1
vote
2answers
250 views

Can't mount shared folder on Linux VM

Host machine: OS X El Capitan Virtual machine: Linux Red Hat(64-bit) through Virtual Box Goal: share folder on Mac, so when I change files on host machine, they will be changed on the virtual ...
0
votes
2answers
47 views

how to mount -t proc proc proc/ with their absolute path for a chroot?

as we know chroot needs some fs to be mounted inside chroot directory like the following : chroot_dir=/some/where cd $chroot_dir/ mount -t proc proc proc/ mount --rbind /sys sys/ mount --rbind ...
0
votes
0answers
69 views

how to reverse check mount command options from mount list?

let's say i use this command to mount: $ sudo mount -o nolock 10.8.4.3:/opt/example /tmp/mnt Then i can use mount to get the mount details: [xiaobai@xiaobai self]$ mount | tail -n 1 ...
2
votes
3answers
43 views

Hot Removed SATA drive mount remains

After removing a bay mounted SATA connected drive the kernel will most of the time remove the mount. However, sometimes the mount remains even though the disk has been removed. Is there a way to avoid ...
1
vote
1answer
26 views

mount permission mechanism for file explorers [duplicate]

When I execute a script that uses the "mount" command, I need to enter my sudo password. However, I can launch a file explorer like nautilus and mount a filesystem from that application, without ever ...
0
votes
0answers
17 views

Why my usb disk can't be mounted automatically on debian8?

There are two usb disks,one named usb-A ,other named usb-B. The fdisk -l info is as the following when to insert usb-A Device Boot Start End Sectors Size Id Type /dev/sda1 * ...
3
votes
1answer
48 views

How can you write to a file system before booting using VirtualBox?

I'm reading the TurnKey Linux 14 documentation and it states that in order to preseed values for an appliance, you have to write them to the file system before the machine boots for the first time. ...
2
votes
2answers
198 views

umount stalled and unable to kill its process

Sometimes when I remove SD card I can notice that when I reinsert it - it doesn't mount by itself. Also I've notice that umount process is stalled and I cannot kill it (not even with -9). I use ...