0
votes
0answers
7 views

copy mount from one server to another

I'm new in linux. I'm tring to copy mount point from server1 to server2. So I copy the file which found in /etc/fstab, and did mount -a It gives me the following error: mount: special device ...
3
votes
1answer
92 views

mounting a SD card without a partition

I try to mount a SDHC card under GNU/Linux. Unlike what happens usually, /var/log/syslog doesn't mention sdb1, just: Jul 26 16:07:53 xvii kernel: [ 159.404842] scsi 6:0:0:0: Direct-Access Singim ...
3
votes
2answers
45 views

How to view files hidden by a mount on Debian 6

I have been trying for a while to view files, hidden by a mount on my device sporting Debian 6, to no avail, and being new to Linux, I am compelled to ask the question: How do you view files hidden by ...
3
votes
1answer
47 views

Does “mount -o remount,ro” flush filesystem buffers?

On Linux, does mount -o remount,ro flush filesystem buffers/cache, or should I also run sync to achieve that?
2
votes
1answer
35 views

Changing file permissions on an HFS+ filesystem

I ran the command fdisk -l to find out what my external drive is formatted to, I found out it's uses GPT partitions and the filesystem is HFS+. When I try and create a new folder on the external ...
1
vote
0answers
28 views

What does the 'barrier' mount flag mean in Linux?

The manual for the 'barrier' mount option is: barrier=0 / barrier=1 This disables / enables the use of write barriers in the jbd code.barrier=0 disables, barrier=1 enables (default). ...
2
votes
0answers
42 views

Vagrant: failed to mount nfs shared folder (mount.nfs: Operation not permitted)

Vagrant throws error message: ==> default: Mounting NFS shared folders... mount -o 'vers=3,udp' 192.168.33.1:'/home/xxx/vagrant/www' /home/www mount.nfs: Operation not permitted ssh to the ...
1
vote
0answers
51 views

mount: / not mounted or bad option

I'm running a custom Raspbmc build on my raspberry pi. On startup, I always see the message mount: / not mounted or bad option The filesystem is still mounted, but still want to know whats causing ...
0
votes
0answers
30 views

Internal secondary hard disk suddenly failing to mount

In RHEL5, my internal secondary hard disk (1TB) suddenly fails to mount after some unexpected power failure and after my system got off. But it's showing in BIOS and while Booting checking as sdb ...
2
votes
0answers
45 views

Red Hat with rpc.statd is not running and can't start nfslock

I try to mount from Linux machine to some folder on a Windows machine. From the output I see that mount complains about rpc.statd. So I tried to start the nfslock but I got FAILED. Then I look on ...
0
votes
0answers
18 views

NFS Automount/HARD mount sharing top directory

In Linux, is it possible to "hard mount" a directory under an automounted directory? For example: /top_dir/fred (automounted) /top_dir/jane (automounted) /top_dir/software (hard mounted) ...
2
votes
1answer
72 views

What is type 'none' for mount points and why are mount points of the same type below /run?

In Ubuntu 14.04 when executing command mount I get following excerpt tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755) none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880) ...
10
votes
1answer
430 views

Why doesn't mount respect the read only option for bind mounts?

On my Arch Linux system (Linux Kernel 3.14.2) bind mounts do not respect the read only option # mkdir test # mount --bind -o ro test/ /mnt # touch /mnt/foo creates the file /mnt/foo. The relevant ...
1
vote
0answers
39 views

Removed USB storage device is still mounted

I'm working on a embedded linux system based on busybox. Sometimes a USB device which is physically removed from the post is still displayed in mount, df or /proc/mounts. If I reattach the device, it ...
2
votes
0answers
59 views

How to mount '.img' file (extracted cubian file) in ubuntu

I used this command sudo mount -t ext2 -o loop Cubian-desktop-r1-a20.img mountpoint Output from this command is mount: wrong fs type, bad option, bad superblock on /dev/loop0, missing ...
0
votes
0answers
47 views

How to get the name of the last mounted/unmounted filesystem

I'm know I can monitor (using poll, or select) on the files /proc/mount or /etc/mtab and findout WHEN a filesystem is mounted or unmounted. Also I can use getmntent for getting a list of mounted ...
2
votes
1answer
87 views

How to make a bash script wait till a pendrive is mounted?

I have a bash script which has a line cd /run/media/Username/121C-E137/ this script is triggered as soon as the pen-drive is recognized by the CPU but this line should be executed only after the ...
4
votes
0answers
108 views

Unable to view mounted directories in a chroot [closed]

Here is a quick description of what I have done: I have a chrooted user (username: clientdev) which I have jailed inside their home directory. This chroot directory is /home/clientdev/ which is ...
1
vote
1answer
70 views

IP address of a mounted network directory

I have mounted a network directory to /mnt/svr with the following fstab configuration: # <file system> <mount point> <type> <options> <dump> <pass> ...
3
votes
1answer
47 views

Confusion regarding the term 'mount' in Linux

I am reading the man page of mount and clone. I understand that mount is used to add a directory hierarchy to a mount point (a directory). In clone's man page, under the CLONE_NEWNS section, they ...
2
votes
1answer
139 views

inotifywait not working when folder is deleted and re-created

I am trying to use inotifywait to monitor a folder: inotifywait -m -r /home/oshiro/Desktop/work_folder The command works and if I create files in that folder, all seems to work correctly. While ...
1
vote
2answers
91 views

How to mount an remote filesystem with specifying a port number

I am trying to mount a director from another server on my server. For that, I have tested sudo mount -t nfs 11.11.11.111:/some_directory /mnt/test/ But the connections gets a timeout because on ...
1
vote
3answers
222 views

Mount a second ssd drive on centos - How can I figure out which is the unused drive?

I need to mount my secound ssd drive to /home2. I already created the folder /home2 - Now, how can i figure out which is the unused drive ? Is this /dev/sda or sdb ? What is the exactly thing i`ve to ...
1
vote
1answer
123 views

Mounting usb automatically & having usb's label as mountpoint

How can I mount my usb automatically when I plug it in? Also would like the mountpoint to be the usb's label each time it is mounted automatically. Edit: I am using Raspian (on Raspberry Pi) which is ...
28
votes
4answers
2k views

How can I mount a block device from one computer to another via the network as a block device?

Is it possible to export a block device such as a DVD or CDROM and make it so that it's mountable on another computer as a block device? NOTE: I'm not interested in doing this using NFS or Samba, I ...
2
votes
2answers
478 views

Allow NonRoot User to Mount a Particular NTFS External Hard Drive

I have a 4TB external hard drive connected to an Linux server. The fstab permissions on this drive are set so that only one particular non-root user has access to it: ...
1
vote
2answers
59 views

confusion about mount options

I feel confused about mount options such as: --bind, --make-unbindable and --make-shared and could you please help me explain the below commands? sudo "mount --bind #{vm_bind_mount} #{vm_bind_mount}" ...
0
votes
0answers
46 views

mount become corrupted over time

I have an external USB ntfs file system mounted to a linux server (4TB drive). Another server remotely RSYNCs a backup to this drive through the linux server. After a couple of days of this backup ...
2
votes
2answers
166 views

How to determine if NFS mount is mounted as v3 or v4?

Red Hat 5/6 when I do mount it says type nfs, I would like to know how to determine version if it isn't listed in mount options or fstab. Please don't say remount it with the version option, I want ...
5
votes
3answers
209 views

Can I make the O/S drive READ ONLY and prevent metadata write back?

Sorry to ask a (probably) stupid question. I am a hardware designer struggling with provision of safe shutdown power to an embedded system. I am aware the Linux normally makes a heavy use of the ...
1
vote
1answer
92 views

Resize Disk on Linux

df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/vg_cloud-lv_root 51606140 9985252 38999448 21% / tmpfs 515252 0 ...
2
votes
1answer
60 views

Isn't /boot a separate mount?

My understanding is that /boot is being accessed by lower level tools (e.g. grub) during system startup and so it is formatted specially in a simpler format than the rest of the disk. But when I do: ...
1
vote
0answers
78 views

sharing folders in virtual box

I'm trying to run a Linux Mint guest inside a Linux Mint host(both 64-bit). I've installed Guest Additions etc. But I'm not able to access the shared folder. sudo mount -t vboxsf kernel ...
-1
votes
1answer
60 views

I had a folder full of files, then I used “sudo mount” to mount a Windows samba share. Where did the files go? [duplicate]

I'm using a raspberry pi. I didn't think mounting a samba share to a folder full of files would do anything - I thought it would copy the files to the samba share. Now the files are gone from this ...
2
votes
3answers
242 views

How to find out easily whether a block device (or a part of it) is mounted somehow

I want to know what the easiest way is to determine (without root privilege) whether a block device (say sdb) or any part of it is mounted (and which part of it). Checking /proc/mounts for sdb is not ...
2
votes
2answers
114 views

Is it possible to mount one H.D.D. via USB Hub on two PCs?

Having a HDD Drive on a USB hub with two partitions. Can I mount first partition to Computer A and second partition to Computer B without trouble? Or even better, would it be possible to mount one ...
2
votes
2answers
12k views

mount.nfs: access denied by server while mounting on Ubuntu machines?

I am a linux newbie and I have a very basic question. I have three machines in production - machineA 10.66.136.129 machineB 10.66.138.181 machineC 10.66.138.183 and all those machines ...
1
vote
1answer
129 views

Hidding an encrypted folder in a shared system without root access (unshare -m)

I'm a graduate student trying to use a cluster at my university. These machines are shared, so I want to protect the source code I use (I signed a NDA, so I'm scared about publishing the code by ...
2
votes
3answers
162 views

How do I change owner/permissions of auto mount on an embedded linaro based linux

I have an ARM based embedded system that when it auto mounts a USB drive it mounts it: drwx------ 6 linaro linaro 2048 Jan 1 1970 PENDRIVE I need to change the permissions and possibly thew owner ...
3
votes
1answer
38 views

Customize Drive Mount Location

I'm running Crunchbang Linux (a variant of Debian) Whenever I plug in a drive, it gets mounted to /media/username/UUID-or-Name. Is there a way to instead mount it to /media/UUID-or-Name? Crunchbang ...
4
votes
2answers
168 views

UUID in /etc/mtab

In some versions of Ubuntu. Disks are mounted by UUID. in My machine, /proc/mounts /dev/disk/by-uuid/UUID / ext4 rw,relatime,errors=remount-ro,barrier=1,data=ordered 0 0 /etc/fstab UUID=U-U-I-D ...
3
votes
1answer
329 views

usb0 -> what exactly is it for?

So far, I found out that on GNU/Linux /media/usb0 seems to be a mount point for Ethernet over USB. Nice. Question: Where is defined, what usb0 is exactly for? I distilled the above mentioned ...
1
vote
1answer
76 views

Is it possbile to mount Windows filesystems without using the root account?

As we all know, the intervention of root is necessary to mount a filesystem on Linux. But is it possible to do this without access to the root account? Because I don't know the password of root.
1
vote
0answers
337 views

User needs dedicated external hard drive mounted to their home folder

One of the users on our Ubuntu server has given us an external hard drive as a means of increasing the amount of storage space for their account. They'd like us to auto-mount this external hard drive ...
3
votes
1answer
115 views

Is there a way to show all flags in /proc/mounts?

Some filesystem flags seem to be hidden in /proc/mounts, depending on whether they are defined as defaults. Is there a way to show all flags in /proc/mounts, also including the default ones? And if ...
4
votes
1answer
190 views

Know which directory is “mount -o bind” by asking the kernel (Linux)

If I do mount -o bind /my/dir /mnt/tmp, I can see the content of /my/dir within /mnt/temp. However, if I type cat /proc/mounts, I get the following output: /dev/sda7 /my ext4 ...
0
votes
1answer
250 views

mount: special device /tmp/cdrom does not exist - CentOS kickstart %post section

I am upgrading an installation from CentOS 5.5 to 6.4. I am having troubles with my kickstart file in the %post section while mounting /tmp/cdrom during the install: The following configuration in ...
2
votes
2answers
3k views

How to mount a windows/samba windows share under Linux?

Under Linux (Ubuntu 12.04) I want to mount a windows share / windows partition named //winshared on the network. I do not know the IP or anything else. On one Ubuntu system, I am able to mount a ...
0
votes
1answer
453 views

How to mount a flash image in Linux? [duplicate]

In Linux, I created an image of a flash disk as follows: sudo dd if=/dev/sdb of=test.img which I now want to mount directly. I tried the following command sudo mount -t ext3 -o loop test.img ...
3
votes
1answer
151 views

SELinux context of files mounted from a Solaris server

Something I'm attempting to run in RHEL6 fails as a result of SELinux. The problem is temporarily easily solved with "setenforce 0". However turning SELinux off entirely isn't an option in my case. ...