Attaches a file system to a specified point in an existing filesystem hierarchy

learn more… | top users | synonyms

21
votes
6answers
269k views

How to mount a device in Linux?

I read some resources about the mount command for mounting devices on Linux, but none of them is clear enough (at least for me). On the whole this what most guides state: $ mount (lists all ...
1
vote
1answer
13 views

Unclear on interaction between fstab auto and user options

I am confused about the interaction between the auto and user mount options in fstab. After mistakenly setting auto rather than noauto, I noticed that my mount would take place when a device was ...
4
votes
4answers
151 views

show only physical disks when using df and mount

When I use df or mount, I'm most of all interested in physical disk partitions. Nowadays the output of those commands is overwhelmed by temporary and virtual filesystems, cgroups and other things I am ...
4
votes
2answers
5k views

Mount a folder on a drive in fstab. Move?

I'd like to make a temporary change to my fstab file so that my /home is on another drive. However, I don't want the whole partition to be mounted, but just a folder ("home") on that partition. I'm OK ...
4
votes
1answer
154 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 ...
1
vote
1answer
25 views

Can't find 8GB data in FreeBSD [on hold]

I can't find 8GB data in FreeBSD. I use df -h and see this: /dev/da1s1a 19G 16G 1.4G 92% / devfs 1.0k 1.0k 0B 100% /dev zzdata/jail 341G 22G ...
2
votes
1answer
26 views

Detemine “which device a file is in” in chroot environment?

According to this: Determine what device a directory is located on I can find which device a file is in by df command in a normal environment: fpemud-workstation / # df /bin Filesystem ...
0
votes
1answer
47 views

How do I set up a udev rule to mount the SanDisk Cruzer USB upon insertion in order to eliminate an fstab entry?

Suppose I run sudo mount -a after setting /etc/fstab to: /dev/usbhd1 /path/to/mount/point ntfs rw,auto,nofail 0 1 Yesterday, upon asking what steps our architect and I should do next after a ...
3
votes
2answers
1k views

Disable NFSv4 (server) on Debian, allow NFSv3

How can the NFS server on a Debian 8 system be limited to NFSv3? By default, shares can be mounted with both vers=3 and vers=4. /etc/default/nfs-kernel-server: # To disable NFSv4 on the server, ...
1
vote
1answer
30 views

Why does size increase after I copy?

I'm copying a directory from one mount point to another, yet I see a size increase between the two and I'm wondering why that is. My first mount point is named /home/directory/mount1, and inside it ...
0
votes
1answer
1k views

External Hard-Drive not visible in /media

I cannot seem to ssh into my external Hard-drive on "/media" it used to show up there, but now it doesn't. I have erased the Disk and verified it (on MAC OSX) and it still does not show. I have ...
2
votes
1answer
3k views

/etc/fstab is mounting rw filesystem as read-only

A partition of my internal hard drive (not the root partition) I want to mount automatically on boot. I've been using /etc/fstab to mount my external backup drive automatically read-only, so this is ...
2
votes
3answers
25k views

Linux, how to change HDD state from ReadOnly after temporarly crash?

At this time no ansver for this problem. Usually after some problems with readings or writings to block device, kernel decides to switch flag for WHOLE DEVICE as read-only. After this any writings to ...
1
vote
1answer
31 views

Autofs with remote and local home directories at same folder

I have a NFS server exporting home directories for remote users and the workstations have local and remote users. I want to configure autofs to mount a remote user home directory as a subdirectory of ...
1
vote
0answers
32 views

Why is my udev mounted device not staying put?

I have a computer running CentOS 7. I'm trying to set up a udev rule to automatically mount a USB drive (named 'sdb1') to /mnt/flash whenever it is connected. The udev script was not working (see ...
2
votes
2answers
1k views

Problems with accessing files on a Sansa Clip mp3 player

I have problems with accessing my mp3 player (Sansa Clip) on my Linux Mint. When I plug in the player, it does mount, but seems to be empty - well ... there are built in directories and config files, ...
17
votes
7answers
29k views

What is the fastest way to extract an ISO?

Currently I'm mounting an ISO to a (readonly) directory (using mount -o loop command) and then copying the contents to another normal directory. This takes lot of time as the ISO is large. Is this the ...
0
votes
0answers
42 views

Why does modifying /etc/fstab and starting the autofs service corrupt my home directory? [on hold]

I am running Ubuntu Linux 16.04 on a Lenovo Thinkstation. Yesterday when I modified /etc/fstab and started the autofs service, I lost access to my home directory /home/frank which I valiantly tried to ...
0
votes
1answer
27 views

Can I safely remove my USB drive when my machine is suspended?

I often suspend my laptop with a USB drive still mounted. What I would like to do is store my laptop away and of course, the USB drive is in the way. So I was thinking of removing the USB drive and ...
2
votes
1answer
24 views

Two nfs exports from different servers mounted on the same mount point

Recently found these lines on my test server: <some IPV4>:/zebra on /zebra type nfs ...
0
votes
0answers
28 views

Unable to boot, “no filesystem could mount root” error

I'm trying to do a PXE boot with an image I created, but after loading the image and the kernel, I get a message that says: No filesystem could mount root, tried: ext3 ext2 iso9668 Kernel panic - ...
2
votes
1answer
2k views

How can ubuntu/truecrypt be configured so users can mount volumes if-and-only-if they have proper permissions on the mount-point?

If I add the line: ALL= /usr/bin/truecrypt to the sudoers file this lets all users mount volumes at arbitrary mount-points. The problem is a user could create a truecrypt volume and then mount it at ...
1
vote
0answers
30 views

Static CDC ACM device binding

I'm using a buildroot linux on IMX6 board. I have 2 CDC ACM device, a reader and a modem. My modem have always been on /dev/ttyACM0 and I want it to stay that way. The problem is that my reader is ...
12
votes
1answer
2k views

systemd keeps unmounting a removable drive

I have following line in /etc/fstab: UUID=E0FD-F7F5 /mnt/zeno vfat noauto,utf8,user,rw,uid=1000,gid=1000,fmask=0113,dmask=0002 0 0 The partition is freshly created by gnome-disks under the ...
0
votes
0answers
14 views

Unable to mount a RAID1 array after reboot

I don't have an idea, what exactly the problem is. I have just rebooted. And the RAID1 array is gone. I forgot to put it in fstab. But the problem seems to be somewhere else than in fstab, since I ...
2
votes
1answer
2k views

Finding correct information to update mtab and fstab?

Is there an automated way to update my mtab and fstab? Or a command I can run so that I can copy the output into these files? I'm just nervous about tampering with these files because I know they are ...
1
vote
0answers
17 views

mount usb disk via udisksctl need root privilege

I don't know why, but on my ubuntu 16.04 laptop, udisksctl can work properly without root privilege. However, when I plug this disk to centos 7, the execution of same command needs root privilege and ...
0
votes
0answers
3k views

Device already mounted or resource is busy

Issue ::: I install Redhat 5.10 x64 on server which had faulty hdd . I removed the old faulty hdd and installed new one with 500GB capacity and after installation i need to copy some data from old ...
1
vote
2answers
25 views

List of mount points of external storage devices such as USB keyfobs and SATA external drives, from the cli

I need to list all mount points associates to external storage devices such as USB keyfobs and SATA external drives. The only way I found under Ubuntu, is to call 'mount' and grep for '/media'. But ...
1
vote
2answers
296 views

FAT file-system between the MBR and first partition

I have an old 64MB USB flash-disk which seems to have MBR: root@3:~# fdisk -lu /dev/sdd Disk /dev/sdd: 64 MB, 64880640 bytes 2 heads, 54 sectors/track, 1173 cylinders, total 126720 sectors Units = ...
1
vote
0answers
32 views

Different mount output with and without initramfs

I need to create an initramfs to load a driver to access EMMC which contains the root filesystem. In my current kernel build, the EMMC driver is modular (sorry, can't change this). After the ...
-1
votes
1answer
25 views

RHEL 6 filesystem

I'm reading about RHEL 6 and getting confused about a knowledge check. It tells me that not to use a computer to give an answer for this but the question is on a RHEL 6 system, mount /dev/sda12 ...
0
votes
1answer
22 views

How to auto-mount shared SMB folder on logon?

I'm using Ubuntu 14.04. When I log on I see in the Files manager (near the bottom) this: I routinely click "Connect to Server" and then see this: I then double-click those and they are ...
1
vote
1answer
186 views

What are the “cpu” and “memory” options on the mount command?

I found some mount commands in a shell script: mount -t cgroup -o memory none /path/XXX mount -t cgroup -o cpu none /path/XXX The question is what does the cpu/memory option mean? I search the ...
1
vote
1answer
1k views

SliTaz, usb stick, unable to mount iso or to find a filesystem on it rootfs.gz

I deleted every partition on my system, even the partition on my USB stick. Then I created a partition with SliTaz which I'm currently on. But then I found out that my USB stick didn't get discovered ...
2
votes
0answers
49 views

Sort mount points by mount time

With no command line arguments mount displays all mounted file systems, e.g.: /dev/sdy8 on /bar type ext4 (rw,relatime,lazytime,data=ordered) /dev/sdx6 on /baz type ext4 ...
0
votes
0answers
18 views

Linux device names vs mounting points

I relaced the root hdd in my virutal linux machine, during the process I tried to assign a name to the device, which was rejected as invalid. The accepted device name was: /dev/xvda The device was ...
7
votes
1answer
824 views

sshfs breaks symlinks from SFTP server

Does anyone know how to mount a remote SFTP path via SSHFS so that you can work with symlinks? When I do this, all the symlinks I create point to the wrong files (not the ones I linked to.) All the ...
0
votes
1answer
34 views

Can't mount a multipath LUN

I'm trying to mount a lun, it's visible in multipath -ll and I can see the multiple access to it with lsblk. I know screw up somewhere along the line because sda isn't visibly mounted in lsblk anymore ...
12
votes
4answers
5k views

How can I determine the fs type of my current working directory?

I need a platform-independent and lightweight way of detecting the mount type of my CWD. Specifically, I need to determine if my CWD is in an SSHFS, NFS, CIFS, SMB, or local block store mount. I need ...
1
vote
2answers
25 views

Mount(8) with mount(2)

I have a software that will unmount a partition programatically (if it's not busy) and mount it again after all of the work is done. If I run this in the terminal: sudo mount /dev/sdb1 /mnt/fat32 -o ...
0
votes
0answers
39 views

Why does Linux seem to automount NTFS USB drives under /media/LABEL but FAT32 USB drives under /media/usb[some_weird_number]?

I need them fat ones to be mounted under /media/LABEL as well... Running Raspbian (7.x something if I remember correctly). Does anybody know the solution?
0
votes
0answers
13 views

Some doubts about disk inconsistency

I have a system with 3 elements: An embedded system with this FAT lib that makes several operations in the FAT filesystem (e.g. add/remove file/dir, append to file). The sector read/write functions ...
3
votes
0answers
48 views

Linux: Changing Permissions – No space left on device

I have an external drive. When I just plug the drive into the PC, with a default /etc/fstab file, the OS just detects it and it's there in the Dolphin browser. I can select it, I can navigate to it on ...
2
votes
0answers
39 views

Systemd mount fails. Where= setting doesn't match unit name [closed]

If I use this command : mount -t xfs -o noatime,nodiratime,logbufs=8 -L d1 /srv/node/d1 all works correctly. But if I try to mount throug the systemd mount it fails. I've created a file ...
1
vote
1answer
1k views

How do you mount a specific btrfs subvolume?

Suppose I start with a non-btrfs system and then add a secondary drive that I format as btrfs. How would I mount /var/log on a subvolume of the new drive instead of on the original drive? Is this even ...
3
votes
2answers
2k views

Debian USB automount

Got my USB flash automount broken after reboot. Using Debian 6, GNOME 2 My NTFS hard disk is still mounting correctly. When i connect my Android smartphone (with SD and local drive) my messages log ...
3
votes
1answer
28 views

mount: Unrecognised segment type thin

So my Fedora Linux machine crashed during an update, and now refuses to start properly. I'm using SystemRescueCD to try to recover the contents of the hard drive. Following the steps in this post, I ...
3
votes
1answer
31 views

Partition Errors and Remounts Read-Only when Accessing Specific File

I have a pretty basic system running Ubuntu 16.04 (this question is not specific to Ubuntu, but rather ext4 partitions), 1 HDD, running a few partitions: sda1 - EXT4 - 100G - / sda2 - EXT4 - ...
4
votes
1answer
2k views

How do I mount a shared VMWare folder on startup?

So I'm following this article on how to mount a shared vmware folder. I can successfully mount with the following command: mount -t vmhgfs .host:/foo /home/user/Documents/foo However, I can't seem ...