0
votes
0answers
17 views

linux + mount to target directory from local dir problem [on hold]

in my Linux machine I run the following command under from /usr/cti/APPS directory cd /usr/cti/APPS mount -t nfs $server:$target_dir /mnt I want to show something very interesting I can run ...
1
vote
0answers
36 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
22 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
30 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
14 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
57 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
349 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
54 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
37 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
78 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
103 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
64 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
44 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
120 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
70 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
200 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
113 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
392 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
58 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
45 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
133 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
206 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
88 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
75 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
59 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
209 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
106 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
10k 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
122 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
151 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
161 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
289 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
75 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
318 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
109 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
184 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
237 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
2k 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
386 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
139 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. ...
2
votes
2answers
169 views

How do I `umount` /proc?

I am following this tutorial on how to do a firmware update to my NAND flash. I followed it only changing the directory where I am placing my new root. I am copying all of the /bin /dev /sbin /usr ...
5
votes
1answer
554 views

What does the errors=continue mount option mean?

On the output of the mount command on my system there are some lines like the following: /dev/sda2 on /var/log type ext3 (rw,relatime,errors=continue,barrier=1,data=ordered) And inside the ...
3
votes
1answer
1k views

USB Media filesystem problem

My USB is not detected recently, I tried mount, fdisk, dd, gparted, mkfs.vfat :~# tail -f /var/log/syslog Oct 27 12:54:29 mohammad-Inspiron-N5110 kernel: [18843.105772] usb 3-2: New USB device ...
1
vote
1answer
641 views

Can't copy files from a loop-mounted ISO image: Input/Output error

Please advise - why do I get an "Input/output error" when I try to copy some files from my ISO mount to /var/tmp I mount the .iso file under /mnt and try to copy files from the isolinux directory to ...
7
votes
4answers
3k views

Allow non-superusers to mount any filesystem

Is it possible to allow some particular users (e.g. members of a group) to mount any filesystem without superuser privileges on Linux? (Another question might have been "in what ways a user can harm ...
1
vote
2answers
770 views

Can anyone explain the output of mount?

I'm getting the following output when the mount command is executed. [root@]# mount /dev/sda2 on / type ext4 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type ...