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

learn more… | top users | synonyms

1
vote
0answers
75 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
52 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
64 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
68 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
49 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 ...
2
votes
0answers
55 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
236 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
23 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
261 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
258 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
65 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
236 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
40 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
65 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
42 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
25 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
46 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
182 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 ...
0
votes
0answers
29 views

Unable to mount 320GB volume (external RocketFish) via auto-usb

Cannot access my external hard drive--many files! (20GB remains). This is the message I get when plugging in the USB: Error mounting /dev/sdb at /media/reb/208CC64B8CC61AE4: Command-line `mount -t ...
1
vote
0answers
36 views

Mount an ntfs partition two times

I want to mount an ntfs partition on two different mount-points on my Debian. I have already done this with other file systems like vfat or ext4, but I am not able to do it with ntfs: mkdir -p ...
1
vote
1answer
82 views

sshfs: permission denied when trying to access specific folder

I can access to my specific folder like this: ssh -YX xxx@xxxxxx.xxx.xxxx.xx cd ../the/folder/I/want or with an absolute path ssh -YX xxx@xxxxxx.xxx.xxxx.xx cd ...
1
vote
1answer
44 views

Mount HTTP directory on Raspbian?

Is there a way to mount an HTTP resource in Raspbian (default Raspberry Pi OS)? I have an HTTP server hosting music, and I would like to be able to have read-only filesystem access to that music on ...
0
votes
2answers
31 views

how to upload files to the second hdd of my linux root server

I knew this is a quite simple question, but I'm new in using a quite big server with two 4TB HDDs and I want to learn a lot about it. I've got a php script that runs as a cron. The script calls a ...
1
vote
0answers
143 views

LXC mount CIFS => permision denied

I'm trying to mount a shared folder /disk from local network with cifs to folder test, but I get permission denied. I can ping 192.168.1.x. So what's the problem with LXC?
2
votes
0answers
357 views

sshfs mounts share in read-only mode

I need to mount a share using sshfs. When I mount it using sshfs directly, i.e. # sshfs martin@192.168.1.10:/home/data/ -o allow_other /mnt/data/ or # sshfs martin@192.168.1.10:/home/data/ -o ...
0
votes
0answers
13 views

UnionFS with filtering to determine default save location

I'm wanting to set up a UnionFS mount which will save all files/directories matching a certain regexp (or similar pattern-matching system) to one location and all other files/directories to another ...
1
vote
2answers
120 views

How to mount a logical volume?

I would like to mount /dev/sda2. How am I supposed to do that? I have tried this, I'm not sure about the result, df still does not show the free space. mount -v -o ro /dev/sda2 /data mount: unknown ...
1
vote
1answer
43 views

Creating and mounting a RAM disk at computer startup

This is how I create RAM disk manually on Linux Debian Jessie: mount -o size=1G -t tmpfs none /mnt/tmpfs The question is how do I make this automatic at each computer startup? I have never created ...
1
vote
1answer
171 views

mount error(6): No such device or address

I'm trying to mount my NAS server to my raspberry pi server, but without any luck. Mounting a NAS is pretty new to me. my fstab: //10.0.0.15/volume1/pie /home/nas/ cifs ...
3
votes
1answer
110 views

How to specify owner and permissions for an NFS mount?

I have an NFS mount in fstab: 10.0.12.10:/share1 /net/share1 nfs rw 0 0 which defaults to root as owner and group and 777 permissions. How do I specify another owner and different ...
1
vote
1answer
44 views

How can I edit a squashfs image directly without extracting and re-packing?

I have a squashfs image file that I copied from a bootable iso file. When mounting the file, it always mounts it read-only. Is it possible to directly edit the content without extracting the squashfs ...
0
votes
1answer
70 views

Airtel 4G dongle mounting

I am using a HUAWEI mobile broadband LTE USB stick model E3272. Whenever I insert it, it displays an error message like: Error mounting /dev/sr1 at /media/bhuvan/airtel: Command-line `mount -t ...
2
votes
2answers
42 views

How run Linux application from a mounted Windows disk?

I have dual-boot operating system, Ubuntu and Windows 7. The problem is I can't install some Linux application on my Linux because considering the disk space. I always regret to myself why I allocated ...
2
votes
2answers
225 views

Input/Output Error when rm/mkdir

So I goofed when using sshfs and the folder I was using as a mountpoint for the server has been borked. The server wasn't unmounted correctly (I think due to a network drop out). consequently, when I ...
0
votes
0answers
118 views

Can't mount my NTFS partition on Windows or Linux

During my formatting, I did some move on my partitions, and the one with all my data to keep can't be mount any more (/dev/sdc1). On Windows 8.1 I got a "You need to format this partition" message. ...
2
votes
2answers
81 views

Why does df on a specific mount iterate over all mounts?

When running df /nfs/mount/point, I expect that it will be faster than df | grep /nfs/mount/point, because it will not stat all other mount points. But strace shows that stat is executed all NFS ...
2
votes
1answer
43 views

Mounting a network volume once Wifi is set up

I have some shared folders in my network that I would like to have mounted in my Raspberry Pi 2 once it boots. I have edited my /etc/fstab and if I manually run mount -a, I manage to have access to ...
1
vote
1answer
63 views

What link should i use for home- & owncloud-data?

the plan is to built a debian-based sever with owncloud for syncing addressbooks, calendars, files etc. and also access large video-files in the LAN via webdav from some kodi-clients (maybe also use ...
1
vote
1answer
38 views

Cloning and remounting sd card

I have a micro sd card that contains these partitions: Disk /dev/sdb: 29,7 GiB, 31914983424 bytes, 62333952 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / ...
2
votes
1answer
184 views

Mounting a shared drive on CentOS

I am trying to mount a shared drive on my CentOS PC. However, when I run gvfs-mount smb://the.server.address/path_on_server I get the error Error mounting location: Failed to mount Windows share: ...
0
votes
0answers
47 views

Is the mounting point of a file system not a hard link?

Correct me if I am wrong: A hard link can't link to a file on a different filesystem, because the hard link's entry in the hardlink's parent directory can't point to an inode in a different filesystem ...
1
vote
1answer
33 views

Two folders sharing the same volume. What does this mean?

I am trying to understand mount points and shared volumes in a system. What does the following mean? Could you give links to understanding this if possible? 1d% pwd /company/apps/run/prod 1d% df -h ...
0
votes
2answers
77 views

how to mount a filesystem without a mount point

In Ubuntu 14.04.3 inserting my SD card causes it to be automounted to a mount point that does not exist. How can I do this? /dev/mmcblk0p1 30780420 2269796 28510624 8% ...
4
votes
1answer
130 views

NFS umount fails to find directory in /proc/mounts

When mounting an NFS share manually using mount and a path of the form <domain/ip>:<path>/<path> or <domain/ip>:/<path>/<path>, umount fails to find the path in ...