-1
votes
2answers
21 views

How to display contents of mounted /boot and '/' root partitions?

How to display contents of mounted /boot and '/' root partitions of Debian on SSD drive from Linux Live CD? I know ls -1 to list directory contents, but what is exact steps to get this?
2
votes
1answer
45 views

How to Mount a Drive with Right Filesystem?

I am trying to mount the device /dev/xvdc on my CentOS system. When I run an fdisk command I get: Device Boot Start End Blocks Id System /dev/xvda1 * 1 33 ...
6
votes
2answers
151 views

how to mount a range of drives in bash?

I use something like this to unmount a range of drives: umount /dev/sd[c-k]2 Is there any way to use same thing with mount? something like this: mount /dev/sd[c-k]2 /[c2-k2]
1
vote
2answers
109 views

sshfs - device not found

After updating the server with apt-get update && apt-get upgrade this command return an error command echo "the-password" | sshfs root@domain.com:/var/www /remote_mount -o password_stdin ...
2
votes
1answer
45 views

per process private file system mount points

I was checking unshare command and according to it's man page, unshare - run program with some namespaces unshared from parent I also see there is a type of namespace listed as, mount ...
2
votes
0answers
22 views

Tool for dumping Linux VFS superblock

From the dumpe2fs man page: dumpe2fs prints the super block and blocks group information for the filesystem present on device. So dumpe2fs will dump the filesystem superblock. Is there any such ...
0
votes
1answer
59 views

Debian: Can I remount / read-only in single user mode?

I'd like to use fsarchiver in the safest way possible but have no live medium for booting from. I vaguely remember having read something like this though: Is it possible to remount / readonly when in ...
4
votes
2answers
33 views

Could you explain this “chroot” /tmp directory creation?

In the following linked article they explain how to create a "chroot" /tmp directory. I'm a bit confused by what they did. Could someone explain what the following commands are doing? Noexec and /tmp ...
1
vote
2answers
289 views

Safely removing flash USB drive

On CentOS (5.5 and others) I need to transfer quite big files to a FAT32 USB flash drive to get the data on a Windows 7 machine (each file is below 4GB, so I guess FAT32 shouldn't be an issue then). ...
3
votes
3answers
42 views

Why is the exec option not listed in /proc/mounts?

My understanding is /proc/mounts should list all mount options for a filesystem, including kernel defaults, so I was surprised to see that exec (among others) is not listed here? For example, my root ...
2
votes
0answers
28 views

Why is there no rootfs file system present on my system?

The linux kernel documentation claims: Rootfs is a special instance of ramfs (or tmpfs, if that's enabled), which is always present in 2.6 systems. You can't unmount rootfs … On all linux ...
0
votes
0answers
95 views

Unable to mount root fs over NFS

I am attempting to set up the first (of many) Raspberry Pis running Pidora (a Fedora Remix) to boot from an NFS share. It is my goal to eventually place a dozen or more Raspberry Pis in the datacenter ...
2
votes
1answer
43 views

mounting/converting v2i image in linux

Is it possible to mount a v2i image in linux? Is there any mount.v2i program? Or is there any convertion tool to convert v2i image to something else like iso ? How can i Mount/Convert a v2i image? ...
2
votes
0answers
19 views

Defining Languages Available at boot - LiveCD

I am trying to create a refined version of the buggy uck for customizing Ubuntu LiveCD ISO, here it is if you're interested in helping. NOTE: The process is straight-forward, except when customizing ...
2
votes
2answers
104 views

How to remount as read-write a specific mount of device?

How to remount as read-write a specific mount of device? (one folder) The file is "Read-only file system", rw-r-r, so it not allow to change permissions. I need to replace that file, then change ...
0
votes
1answer
40 views

Storing a keyfile in an encrypted LVM

I'm using RHEL 6.5 and I want to encrypt some of my logical volumes (LVM). In order to not have to enter the passphrase multiple times, I want to store a keyfile in an encrypted LV. Example: ...
1
vote
0answers
38 views

Cannot mount second 1TB harddrive in Linux, works fine in Windows 8.1

So I have this problem with my second hard-drive that I have been trying to fix for quite awhile now with no luck. I have searched around to try to find solutions to my problem but nothing seemed to ...
0
votes
0answers
33 views

copy mount from one server to another

I'm trying to copy the mount point from server1 to server2. So I copy the file, which I found in /etc/fstab, and did mount -a. It gives me the following error: mount: special device /dev/dX/dY does ...
3
votes
1answer
202 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
52 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
64 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
75 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
40 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
428 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
102 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
34 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
138 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
22 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
133 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) ...
11
votes
1answer
762 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
47 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
83 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
56 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
120 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
120 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
95 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> ...
4
votes
1answer
61 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
179 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
149 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
309 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
147 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 ...
29
votes
4answers
3k 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
783 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
75 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
57 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
353 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
222 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
96 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
62 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
80 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 ...