All Questions

Tagged with
Filter by
Sorted by
Tagged with
1
vote
0answers
19 views

Serve view of directory's most recent files only

I have a directory with ~100k files that loads very slowly over the internet through most protocols (just listing the directory can time out). I'd like to speed things up by only showing files from ...
0
votes
0answers
19 views

How to make `mount` auto-create the specified folder (e.g. `/mnt/usb`) and `umount` auto-delete it?

I wonder if it's possible to make mount auto-create the specified folder (e.g. /mnt/usb) and have umount automatically delete the folder, like Ubuntu does when I insert/remove a USB-drive? This saves ...
4
votes
1answer
159 views

Operation Not Supported Error Mounting NVME Drive on Arch Install

I'm trying to install Arch on a Dell XPS 15 9560. I've used nomodeset to make the text legible (otherwise it's tiny on the integrated 4k monitor) and pcie_aspm=off to stop the slew of pci bus errors ...
2
votes
1answer
52 views

How to unmount device from a path hidden by another mounted device?

I have olddevice mounted to /mnt with: $ mount olddevice /mnt I would like to change the device at /mnt mount point. For this purpose, I simply mount newdevice on top of it: $ mount newdevice /mnt ...
0
votes
0answers
10 views

virt-sparsify: error: libguestfs error: security: cached appliance /tmp is writable by group or other (mode 40777)

I want to virt-sparsify --compress a file, but when I try to do it it says I need more space in /tmp/ I tried to create a directory on a NTFS partition where I have alot of free space and make it tmp ...
0
votes
0answers
15 views

Cannot mount anything into directory (on ZFS)

I have a directory on a ZFSoL 0.8.1 filesystem into which I cannot seem to mount anything, and I am quite puzzled ... mypool/ => /mypool mypool/fs1 => /mypool/fs1 mypool/fs2/...
1
vote
1answer
92 views

Mount unknown filesystem type - Debian

Using Debian 9.9 on a live USB, and try to mount a partition from de hdd mount -t ext4 /dev/sda1 /mnt I get mount: unknown filesystem type 'ext4' Well, the ext4, ext3, ext2 type are not in /proc/...
0
votes
0answers
19 views

Does BTRFS commit time influence benchmarking?

I have two NVME drives here and want to test their performance in different setups with BTRFS. (Mostly as an educational stunt) I'm going to use the Phoronix suite for the most part. What I wonder ...
1
vote
2answers
54 views

Command for getting path to mount point of current partition/drive?

Is there an alternative command that does the same thing as findmnt -T . -o TARGET |tail -n 1? Example: If my current working directory is /media/username/HDD/subdir1/subdir2, that command would ...
1
vote
1answer
31 views

Where does tmpfs come from and how is it mounted

I am using a BeagleBone board with Linux. When i type command "df -h" , I see tmpfs is mounted a few times. Does this mean that all these entries get mounted at the same place, or at a different ...
2
votes
0answers
42 views

NFS mount on client not matching what's exported on the server

I've managed to successfully network two home computers with a crossover Ethernet cable. My intention is to arrange a fast transfer of files from one to the other. This is the first time I'm pairing ...
1
vote
1answer
20 views

i.MX28 SOC DMA timeout on reading NAND FLASH

I'm porting recent Linux kernel to older existing hardware like the i.MX28 EVK kit from Freescale, and Karo TX28 board. I want to use a part of the NAND FLASH in the file system ("userfs partition" in ...
0
votes
1answer
46 views

I would like to resize my /tmp partition but gparted doesn't want to change anything, nowhere

I use my computer with Debian 9 for Java Spark development. Spark is a Big Data API and these kind of works use more temporary space than the 2G that by default the Debian installation sat. marc@...
1
vote
0answers
57 views

How to mount stackable filesystem wrapfs on /

I am trying to mount wrapfs on top of / in order to intercept all file access on a CentOS 7.4 running on VirtualBox. Simply running mount -t wrapfs / / doesn't do the job and nothing goes through ...
0
votes
0answers
238 views

Overlay : filesystem not supported on lowerdir

I tried to mount an external storage device (a usb flash drive) with overlay (as the lowerdir the usb and as upper a temporary ramdisk) mkdir /data mkdir /data/lower mkdir /data/rw mkdir /data/root ...
1
vote
0answers
32 views

Missing folders, where else should I look

When I first configured a server I created a set of folders and an additional drive. Today it was reported that these folders are now missing. After looking through /log/messages I see this line, ...
2
votes
2answers
164 views

How to mount a device of gpt type?

In Linux Mint 18.3 which boots from an HDD, I want to mount an external SSD. When I run the command sudo fdisk -l, I get all the drives and partitions as well as the SSD and when I run sudo blkid, I ...
0
votes
1answer
18 views

After re-connecting hard disk, terminal commands stop working

The current working directors is, e.g. /media/username/ExtHDD/. When disconnecting and re-connecting that HDD, commands such as ls do not work properly anymore. $ -????????? ? ? ? ? ...
0
votes
0answers
69 views

Using rm --one-file-system to only delete files on the local filesystem

I have a FUSE mount located in /media/writable, however, sometimes this FUSE mount disconnects, but some programs will still attempt to write to /media/writable. When I restart the FUSE mount service,...
-1
votes
2answers
47 views

How can I find what uses the space in a LV(logical volume)?

The logical volume(aka LV), centos-home is created automatically when installing CentOS 7 by default, but I didn't use it manually. Now, I have mounted an empty directory, work to centos-home. /home/...
0
votes
1answer
53 views

Default file system when mounting a partition

When I attach an SD card with multiple partitions to a Debian computer for example and use the mount command to mount a partition to the file system without specifying the file system type, which file ...
-1
votes
2answers
42 views

Data recovery after dd on a sda partition

I had installed opensuse in UEFI mode in my computer but having a legacy Windows so it did not appear in boot menu. Following a weird tutorial on the internet I dd the Windows partition of my sda. I ...
0
votes
1answer
22 views

When boot into a live Lubuntu from a bootable flash drive, what filesystems on the disk are mounted automatically?

Assume a computer has Lubuntu installed on its disk. Booting into a live Lubuntu from a bootable flash drive is often a way to access filesystems on the disk that are required to be not mounted. So I ...
0
votes
1answer
294 views

How can you umount `/home`?

When log in Lubuntu, I can't $ sudo umount /home umount: /home: target is busy. where /home itself is a mount point of a filesystem. How can you umount /home? / can't be umounted, because OS is ...
0
votes
0answers
105 views

mount failing when mounting ewf1 as a loop device

I am trying to mount an EWF image on Debian. From the original E01 format, I used ewfmount to mount it and it worked fine. Now, I need to mount the ewf1 file, and it claims that I do not have the ...
0
votes
0answers
30 views

Manually set MTD NAND oob (NAND oob geometry problem)

When mounting yaffs dmesg outputs: yaffs: NAND geometry problems: chunk size 512, type is yaffs, inband_tags 1 Reading I found some useful clues: This is caused by yaffs1 can not work with ...
0
votes
3answers
55 views

disk partitions don't mount to filesystems after reboot

i have a VM machine that rebooted last night and we could't connect to it via ssh. i used console and saw that only / and swap are mounted with lsblk command: NAME MAJ:MIN RM SIZE RO TYPE ...
0
votes
1answer
40 views

How to get informations on each type of filesystem in /proc/filesystems

How do we get detailed information (history, what is used for, etc.) on each filesystem or pseudo filesystem displayed by : cat /proc/filesystems Example : nodev, sysfs, rootfs, ramfs, bdev, proc , ...
3
votes
1answer
118 views

How can I re-partition a hard/ssd-drive without losing data?

When I got my notebook with a 512GB SSD, I reformatted it and installed Ubuntu. I've followed Ubuntu's suggestion to partition the drive, so I have it partitioned as follows: $ sudo parted -l Model: ...
3
votes
1answer
86 views

Why are du -h / du / df / df -h not refreshing when extracting a large file

I am running tar in the background, eg: tar xfvz large_file.tar.gz & It does extract my file, but when I then launch du -h, du, df or df -h, the output remains the same, and I have to wait ...
0
votes
2answers
2k views

Wrong fs type, bad option, bad superblock on /dev/sdX [closed]

I am trying to mount a relatively new external HDD but, when running sudo mount /dev/sdc /mnt/harddrive I get the following error message: mount: /mnt/harddrive: wrong fs type, bad option, bad ...
0
votes
1answer
337 views

Merge mount points

Basically, I need to remove the /home mount point, and just use the / mount point. Filesystem Size Used Avail Use% Mounted on /dev/mapper/rhel-root 50G 5.6G 45G 12% / devtmpfs 7.8G 0 7.8G 0% /dev ...
4
votes
1answer
1k views

Stale NFS File Handle why does fsid resolve it?

Problem statement (note that this problem has been solved, but there is a question about why the solution works) The NFS server is Ubuntu 16.04.4 LTS. The clients are a mix of Ubuntu 16.04.4 LTS and ...
1
vote
0answers
66 views

What exactly happens behind a bind mount? (Linux 4.x)

From the answer to What is a bind mount?, It is possible to unmount /some/where, in which case /else/where remains mounted. I checked the output of mount after performing a bind mount. The ...
0
votes
0answers
54 views

mounting cifs share with Linux 4.15: do DNS names get resolved again in case of errors?

I'm operating a Ubuntu 18.04 server that mounts a CIFS/SMB share. The name of the server is provided in the form of a DNS record. The record points to one of several storage servers, allowing for ...
12
votes
4answers
4k views

Why does one need a loop device at all?

I previously used to create image files using dd, set up a filesystem on them using mkfsand mount them to access them as mounted partitions. Later on, I have seen on the internet that many examples ...
1
vote
2answers
41 views

Swapping a mounted drive between machines - is it possible?

Let's say I have a storage device called A. I install A into my machine M1 (which contains a drive called B which is a unix boot drive containing the operating system). I then boot up M1 and mount ...
1
vote
1answer
127 views

Is devtmpfs special with respect to namespaces? a permissions problem

I'm wondering if devtmpfs is special with respect to namespaces. Here's my system info (using Vagrant for testing) vagrant@ubuntu-xenial:~/test$ uname -a Linux ubuntu-xenial 4.4.0-135-generic #161-...
1
vote
1answer
1k views

Understanding how mount namespaces work in Linux

I am reading about mount namespaces and see: in a mount namespace you can mount and unmount filesystems without it affecting the host filesystem. So you can have a totally different set of devices ...
1
vote
1answer
425 views

Why is mount failing silently for me?

I'm trying to mount a device but without success. The strange thing is that the mount command succeeds and return exit code 0, but the device is not mounted. Any idea on why this happens or how to ...
0
votes
0answers
609 views

Android does not boot properly and services can't start due to read only

I have a sabresd based reference board and I have ported android O from official source. I am facing a problem that none of the service works. All are getting killed. In my case adb is not present as ...
1
vote
0answers
46 views

Multiple network shares to single mount point?

How would I mount multiple network shares to single mount point? Example //10.50.154.6/data 42T 22T 21T 51% /mnt/data6 //10.50.154.7/data 8.1T 6.2T 1.9T 77% /mnt/data7 //10.50.154.8/...
0
votes
1answer
393 views

chown a folder on host with a user that only exists inside a docker container

So, basically, I have a docker container running and i have mounted a host file-system inside the container so that the processes inside can have access to its files. The running process inside the ...
4
votes
2answers
149 views

Is it guaranteed that nested file systems are synced before the containing file systems with sync(1)?

I have a luks-encrypted ext4 in a file which I use to store sensitive data (let us call this FS "inner"). The file itself is again on another ext4, which resides on a physical SSD. Let us call that FS ...
1
vote
2answers
740 views

Issue with orphan inode

I am using a virtual machine on a server I cannot access and I'm having the filesystem mounted in read-only mode: # dmesg .... [2.535658] EXT4-fs (vda): Couldn't remount RDWR because of unprocessed ...
0
votes
1answer
31 views

Is it safe to mount one partition on many directories?

Example: mount /dev/sdb1 dir1 mount /dev/sdb1 dir2 touch dir1/file1 touch dir2/file2 I'm worried about the collision of writing data, which may result in some corruption of the filesystem. I read ...
3
votes
0answers
561 views

ext4 mount: mount /dev/mmcblk0p2 on /SD failed: File exists?

If I try mounting the ext4 file system of /dev/mmcblk0p2 into the blank directories I just created: /SD and also /mnt/SD, then the command line answers with: mount: mount /dev/mmcblk0p2 on /SD failed:...
5
votes
3answers
878 views

Are two subdirectories with the same root guaranteed to be on the same mounted file system?

A cpp file I'm working with creates a directory, i.e. mkdir( path, ... ), where path comes from an environment variable (e.g. getenv( "FOO" );). As an example, say $FOO is /foo, and path, created ...
0
votes
1answer
101 views

best practice for mounting filesystems

say I have two virtual disks (dev/sda and dev/sdbadded to my ESX CentOS 7 VM). I create two partitions (dev/sda1 and /dev/sdb1). Then I create a physical volume for each and create a volume group ...
2
votes
1answer
783 views

How to find out how many physically mounted filesystems there are?

I recently learned that you can mount two different types of filesystems: logical filesystems and physical filesystems. From my understanding, physical filesystems are the hardware are located on ...