Tagged Questions

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

learn more… | top users | synonyms

2
votes
1answer
75 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 ...
4
votes
1answer
142 views

Advantages/disadvantages of increasing “commit” in fstab

I have done many obscure system optimizations in the past, but I got rid of most of them after powertop told me I should set my USB ports to autosuspend, which forced them to an eternal sleep, and ...
0
votes
1answer
118 views

mounting removable USB disks with nodev,noexec,nosuid

When I want to use a USB disk on my desktop, I insert the disk and mount it manually, for example: mount /dev/sdb1 /mnt/usb I know that I can specify mount options with -o, such as mount -o ...
1
vote
1answer
77 views

ArchLinux mounts filesystem with no entries in /etc/fstab

I have successfully installed ArchLinux. While I check /etc/fstab entries I do not see any mounts, even the root partition is omitted. However when I execute mount, it shows the mount-points of each ...
-1
votes
1answer
287 views

How to Mount Western Digital external hard drive

I am using Debian. I cannot mount Western Digital My Passport Ultra on my system. I have tried sudo mount /dev/sdbx /media/hdd. It worked fine for me. But the problem is that I have to repeat this ...
3
votes
1answer
42 views

USB hard drive won't remount after power outage

My home server has a USB hard drive plugged to it. Once in a while, the breakers jump or there are power outages. Since my server is a laptop, it keeps chugging along, but the rest of the hardware ...
1
vote
0answers
42 views

changing /var in running system

I have the challenge that I cannot start a CentOS Linux server in single-user-mode, but I need to change the /var (currently part of /) to a new disk. My way would be: mount the new disk on a ...
3
votes
0answers
291 views

“PTY allocation request failed on channel 0 stdin: is not a tty” when SSH'ing into a Debian server

My hosting space (Debian Wheezy) serves two websites (one WordPress and one Rails). Today I saw both were down and I rebooted the server. The Rails site works again and the WordPress one now says that ...
0
votes
2answers
30 views

How to make partitions with in /home/user/ writable by user?

I have a partition scheme like this: / /home/ /home/user/files/ When logged in as user, I cannot save any files at /home/user/files/. The only solution I can find is to create a new subdirectory as ...
0
votes
2answers
36 views

Where should I mount a disk to store backups?

I'm new to Unix, and wanted to give it a try. I had an old PC lying around and decided to turn it into a network based backup system to keep the data in the other PCs safe. So I installed FreeBSD on ...
6
votes
2answers
177 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]
0
votes
1answer
52 views

Mounting Linux root fs NFS share on OS X?

I am attempting to share the root filesystem (/) of a CentOS 6.5 virtual machine to my OS X host system. While this should be relatively simple process, I'm hitting some kind of wall. Presently my ...
1
vote
2answers
158 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 ...
5
votes
1answer
114 views

bind mount /var with fstab

I'm messing around with having both /home and /var on a seperate partition which will be mounted in /myhdd. Next, I use mount --bind to mount /var on /myhdd/var and /home on /myhdd/home. With this ...
2
votes
1answer
107 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
30 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
124 views

NTFS drive not mounting in Debian

This drive has been working fine for a while, but I recall having had some slight trouble getting it mounted in the past. Anyway, it was disconnected from the machine for some time and when I ...
0
votes
1answer
66 views

Wrong mount point for internal SSD

I am having a problem with mounting an internal SSD. For some reason The mounting point is chosen as /media/user/Data instead of, as specified in /etc/fstab, /mnt/Data. The according line in ...
0
votes
1answer
92 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 ...
0
votes
1answer
77 views

Linux can't read and write, but windows can

I have a hard drive with a lot of back up files, that were created by PhotoRec. When mounting it with a windows computer I can read all the files perfectly fine. Under linux I get an error when ...
4
votes
2answers
68 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
324 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). ...
2
votes
1answer
84 views

Mounted a USB to /home and lost all the sub-directory's

I have been searching for a about a hour but I can't find a answer if someone knows another thread that will help I would gladly look through it. So what happened is I am learning about how to mount ...
2
votes
2answers
53 views

mount is not executed when called by udev

I tried to create some udev rules to mount and unmount my USB flash drives; the rules for the moment are very simple: ACTION=="add",KERNEL=="sd[b-z]",RUN+="/root/scripts/plug_flash_drive.sh %k" ...
3
votes
1answer
54 views

Repeated filesystems and mount points in df output

when I type df -h to see the storage of my system the following is the result root@kch-rsp:/home/pi# df -h Filesystem Size Used Avail Use% Mounted on rootfs 13G 2.4G 10G 20% / ...
0
votes
0answers
45 views

Is there any suggestion to my bash script that (un)mounts an ISO file in order to make it better and safer?

I am new to bash script, and I wrote a script to mount / umount an iso file by detecting whether the /media/iso-file-name exists. Is there any suggestion for the script as below in order to make it ...
3
votes
3answers
54 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
33 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 ...
1
vote
3answers
528 views

Samba: mount error: could not resolve address for XXX: Unknown error

I've read several guides on mounting samba shares, but no luck yet. I'm able to "login" to my samba share with the following command: smbclient //vvlaptop/Documents It asks for password, but there ...
-4
votes
1answer
122 views

android partition and kernel 3.14

I mount a cell phone to my debian i can browse android SD card and internal memory, So i the following output of mount command when i browse android sd card: sysfs on /sys type sysfs ...
0
votes
1answer
287 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 ...
0
votes
4answers
94 views

How to check a particular directory is mounted?

How to check a particular directory is mounted on the Linux machine. For instance there is a folder named test, I want to check if it is mounted or not.
0
votes
1answer
86 views

puppet mount a loopback device

I was taking truability test to assess my skills. I got the below question. Create a puppet manifest in /root/puppet/lad.pp to mount the filesystem located in /root/files/LAD/disk.ext2 that: will ...
3
votes
1answer
51 views

Mounted volume name in terminal is different from in GUI

The basic problem is that in the GUI shows a directory name with no space but when I cd to it in the terminal, the directory name has a space in it. What would cause the names to be different? The ...
1
vote
0answers
62 views

How can I replace root / filesystem with another filesystem?

When the Linux kernel starts up, it uses initrd as the root / filesystem, then replaces that with a filesystem partition in fstab. Based on a test in an early init script, I want to replace that root ...
0
votes
0answers
56 views

Mount var to another directory, Mysql Database not found

I had an issue with rootfs and /dev/root/ because it was full at 100%. I did this command: du -h So I read this post: How to increase the size of rootfs? And I decided to mount /var to ...
0
votes
1answer
168 views

Cannot mount exFAT even though I installed exfat-fuse

So, I installed exFAT support (Lubuntu 14.04) and it all works fine in a file manager (PCManFM), but I want to mount a disk in terminal, and it says exFAT is not found? It must be if its mounted ...
3
votes
2answers
54 views

How to copy to a formatted image without root privileges?

I have formatted an image file using the mkfs command, and I would now like to copy files to that image file without root privileges. I have already tried to mount the image to a local directory, ...
2
votes
1answer
110 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
122 views

Cifs mount a windows share that goes offline

I have a windows share on my workstation that I need on my CentOS 7 server. I have this set up in my fstab as the following: //XXX.XXX.X.XX/Share /mnt/workstation cifs ...
2
votes
0answers
21 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 ...
3
votes
4answers
102 views

mount info for current directory

I can do df . to get some of the info on the mount that the current directory is in, and I can get all the info I want from mount, but get to much info. I can grep it down, but am wondering if there ...
16
votes
1answer
477 views

`mount -o loop` changes mounted ISO image file

It looks like mount -o loop changes the mounted image file. I downloaded the ISO image file and checked its SHA-1 checksum. Then I mounted that ISO file and the checksum changed. Here are the exact ...
2
votes
2answers
270 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
3answers
140 views

Mounting /dev/dvd /media on VirtualBox

I have installed Scientific Linux on VirtualBox and I am trying to follow some exercises on a book I picked up. The first thing I need to do is: mount /dev/dvd /media But when I do that, I get ...
1
vote
2answers
55 views

Can the Operating System access a particular filesystem after it has been unmounted?

I have mounted a filesystem at a particular directory and I replace a file present in the filesystem.I now unmount the filesystem. Is there any possibility of Operating system accessing the replaced ...
2
votes
1answer
35 views

mount with cifs fails but destination is still accessible with sftp

I had remote backup space mounted to my machine (Hetzner extra backup space for dedicated server). It was mounted with cifs. After restart I found that the mounted folder not accessible. ls -l: ...
4
votes
2answers
124 views

What is the long ID that Linux assigns to a disk in /media/?

For example, when I plug in an external hard drive disk enclosure via USB, sometimes the disk is automatically mounted in /media/. For example, the disk might be mounted to ...
0
votes
1answer
60 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: ...
0
votes
1answer
34 views

Providing ftp access (of selected files) to users from a hashed repository of unique files

We have a portal where each user has an account and a file repository that goes with it. Whenever any user uploads a file using a form, the php app hashes the file contents first and checks to see if ...