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

learn more… | top users | synonyms

0
votes
0answers
142 views

How do I mount a USB external hard drive in RHEL rescue mode

I had a boot failure on a RHEL 6.2 machine and I can now only start it in rescue mode with the recovery CD. I would like to move all the data to an external USB-mounted drive but I am having problems. ...
1
vote
1answer
33 views

Meaning of root in GRUB config file

Refering to here with a configuration as grub> root (hd0,0) grub> kernel /vmlinuz-i686-up-4GB root=/dev/hda9 grub> boot The preceding is usually sufficient to boot a Linux box. The ...
1
vote
0answers
22 views

What is the purpose of nodev? [duplicate]

I'm talking about the mount option. What is it used for? What is the purpose behind preventing device nodes from being created in a filesystem?
0
votes
0answers
64 views

gvfs-mount not working

I have ubuntu 15.10 (wily) on my machine, and I'm used to mounting sftp disks of remote machines via gvfs. There's a simple GUI way to do that in Ubuntu. However, this stopped working recently, ...
1
vote
1answer
62 views

Do entries in /etc/fstab control what points devices partitions are automatically mounted to?

What it says in the title. But for those of you who might need more of an explanation, my question is about how to change the points where devices and partitions automatically mount to upon being ...
1
vote
0answers
40 views

Windows directories keeps getting unmounted on two identical Red Hat servers

We have a pretty severe problem at my research center. I have, together with IT, set up an infrastructure like this: Users use their laptops at their desks. They all have a home-folder at a storage ...
1
vote
1answer
20 views

How to recycle USB device names on Linux after forced removal

When a mounted USB stick is manually unplugged (without unmounting it) the device name in /dev (e.g. /dev/sda ) is somehow reserved, plugging it on again will yield on my system the alphabetically ...
1
vote
1answer
60 views

gphotofs protocol error mounting Android device in PTP mode

I have connected an Android 5.1 device to a Linux machine and I would like to mount it with PTP, as it seem to be easer to copy/remove files than using MTP connection. In this case, I have loaded the ...
2
votes
1answer
66 views

How to not mount a partition in fstab file on boot but rather on click on shortcut in nautilus?

I am mounting a samba share using fstab file as: //192.168.2.2/Expansion /samba/raspberry/ cifs x-systemd.automount,x-systemd.device-timeout=10s,_netdev,users,nofail,uid=1000,gid=1000,...
1
vote
2answers
217 views

How to mount an external encrypted drive?

My computer stopped working so I'm plugging the hard drive with a USB adapter to another computer to recover my files. After plugging it the passphrase prompt appears to unlock the volume, I type the ...
0
votes
2answers
18 views

How can I see the dismounted devices

How can I see if the usb device has been dismounted? Because when I did fdisk -l the information is the same, before and after the ran command umount /dev/usb.
1
vote
1answer
39 views

How do I automatically force a umount on a usb drive that has already been removed?

I have debian system that auto mounts an entry in my fstab file when a usb drive is connected. This is done so as a read only device The device is mounted to /media/usb1 If i'm in the console and ...
1
vote
1answer
28 views

How to find out the time since something was mounted?

Not every device is mounted during boot time. On servers it happens, that server log might already being rotated. How to find out, how long / since when a device has been mounted?
1
vote
0answers
85 views

How do I control what's mounted at Linux startup?

This might sound like, an "Edit /etc/fstab" answer. My fstab has the SD card mounted to /home directory. However, when I start the computer, the home directory ends up on the same partition as my / ...
1
vote
1answer
72 views

Keep getting error while trying to mount external HDD with LVM2 format, using Knoppix from live USB, please help

I am computer savvy, but fairly new to Linux, so forgive me if not technical enough. I have a 3TB external HDD, a Seagate, and it used to be a NAS, but the Ethernet portion failed, so I have plugged ...
2
votes
2answers
51 views

treating web page like directory

I'm a Mac user and I want to cd to a web page and then cp some files onto a local directory. Is there a way to do this? This is the page I'm referring to: http://www0.cs.ucl.ac.uk/staff/M.Herbster/...
3
votes
2answers
117 views

Is it possible to mount a device in a process' namespace after unshare()

Say I have a process with an isolated MOUNT namespace pid 1200 the process called unshare() to isolate its namespace from the parent process. I then want to mount a device only accessible outside pid ...
0
votes
2answers
476 views

What's the difference between mnt vs media? [duplicate]

What is the purpose of having both? Aren't they both used for mounting drives?
0
votes
0answers
24 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
141 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
104 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
144 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: MyHomeCloud:/...
0
votes
1answer
61 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
70 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
74 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
281 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: '/dev/disk/by-...
0
votes
1answer
219 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
12 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
67 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
44 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
91 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
156 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
73 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 /media/root/...
2
votes
1answer
47 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
152 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
205 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
99 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 always-...
4
votes
2answers
283 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
291 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 /dev/...
3
votes
4answers
71 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
52 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 //username@path/...
1
vote
0answers
90 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
54 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
85 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
79 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
64 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
64 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 ...