Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
0answers
20 views

Error reading detecting sdcard partitions

The output of lsblk is the following NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT mmcblk0 179:0 0 59.6G 0 disk -- this is the device I want to mount nvme0n1 259:0 0 238....
3
votes
0answers
41 views

Cannot mount LV after reusing disk as PV [duplicate]

I have a weird situation: I had a disk on a Debian 9 server that had one partition with an ext4 filesystem mounted to /opt/foobar. I then unmounted the partition and deleted it using fdisk. I then ...
0
votes
0answers
22 views

mount: overlapping loop device

I getting these problems when I try to mount this filesystem DOS/MBR #file bag.vhd bag.vhd: DOS/MBR boot sector; partition 1 : ID=0x83, active, start-CHS (0x0,1,1), end-CHS (0x9,254,63), startsector ...
0
votes
2answers
3k 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 ...
1
vote
1answer
2k views

How to mount a drive from command line

I normally mount my drives just by opening it from filesystem. It automatically mount when I click on a drive. But I wanted to mount a drive from command line. I did ran this command sudo mount -o ...
0
votes
1answer
1k views

Mount new disk to existing root mountpoint using mhddfs (merging filesystems)

I have a new disk on server (sdb) and I want to mount it to existing root mountpoint (sda1 mounted on /) to merge it. There is an utility called mhddfs which is doing exactly what I want. But the ...
0
votes
1answer
27 views

CentOS6.6 stuck at Mounting Filesystem

Server Dell PowerEdge R320 with two 1TB disks in RAID1 (mirror) had one of it's disks failed - the primary disk (disk0). The RAID is configured on the Smart Array. The OS running on the server is ...
4
votes
1answer
303 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 ...
326
votes
2answers
251k views

What is a bind mount?

What is a “bind mount”? How do I make one? What is it good for? I've been told to use a bind mount for something, but I don't understand what it is or how to use it.
0
votes
3answers
258 views

Can't `chmod` mount folder of read-only filesystem

I have a directory (mnt) that has world read access, but when I mount a filesystem into it as readonly (as root) it subsequently shows no world permissions, and if I try to chmod it I get a readonly ...
3
votes
1answer
54 views

What is the purpose of bind mounting (rbind specifically) /sys?

I was going through the Gentoo Handbook in preparation for installing Gentoo on my system. In the Chrooting section, these commands are given: mount --rbind /sys /mnt/gentoo/sys mount --make-rslave ...
3
votes
1answer
49 views

How to find which mountpoint current working directory of a process correspond to?

I have a program a.out running from /tmp/test. If I list /proc/$(pgrep a.out)/cwd, it is a symbolic link to /tmp/test. Now, I bind /mnt/othertest onto /tmp/test with mount -o bind /mnt/othertest /tmp/...
1
vote
1answer
1k views

How do I mount this .img file in Debian 7 properly?

I have an unusual .img file that I wish to mount on my Debian 7 system. I tried mount but that does not work: sudo mount -t udf overlay1.img /mnt/vehicle/ -o loop mount: wrong fs type, bad option, ...
1
vote
0answers
22 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 ...
22
votes
2answers
68k views

Mount device with r/w access to specific user

How can I mount some device with read-write access for a given user?
-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/...
5
votes
2answers
2k views

Should the 'discard' option be used for mounting a swap file?

The Arch Wiki says that defaults,discard can be used in the fstab file for a swap partition. However it is not clear about a swap file, nor is the man page. If the swap file resides in a filesystem ...
0
votes
0answers
21 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 ...
2
votes
1answer
60 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 ...
3
votes
3answers
23k views

How do I remove a Read-only file system from a usb drive

During an ill-fated attempt to get tinycore linux to boot from a USB drive I managed to create a bunch of files that I now cannot remove. fortino@rebel:/media/working/boot/isolinux$ rm *.* rm: ...
0
votes
0answers
13 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
17 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/...
5
votes
1answer
2k views

Monitor folders mounted via SSHFS

I want to monitor changes made a folder that is mounted via SSHFS. I have tried iwatch but it does not notify when a new file is created, below is the syntax I am using with iwatch: iwatch -e create ...
1
vote
1answer
223 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
28 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 ...
9
votes
1answer
466 views

How to format & mount a large partition with 4k sector size in Freebsd?

gpart show -l: => 6 146239733 da0 GPT (558G) 6 10 - free - (40K) 16 128 1 (null) (512K) 144 262144 2 efi (1.0G) ...
1
vote
2answers
67 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
32 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 ...
1
vote
1answer
35 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
45 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 ...
0
votes
1answer
2k views

How can I move files on Arch Linux to a Windows Partition

I have my Arch Linux Partition on /dev/sda1 and I have my Windows partition on /dev/sda4. When I used Ubuntu I could easily move files from Ubuntu to my Windows system and access them. However, ...
21
votes
3answers
35k views

Why does fstab use UUID instead of the actual file system name?

For example, this is the first line of my /etc/fstab: UUID=050e1e34-39e6-4072-a03e-ae0bf90ba13a / ext4 errors=remount-ro 0 1 And here's the output of df -h command (reporting free ...
39
votes
4answers
181k views

Best way to mount remote folder

I have two RasberryPi running debian wheezy and I would like to mount a folder from computer A on computer B. What is the best (as in most efficient) way to do this? I can do it via SMB, but that is ...
6
votes
3answers
2k views

How can a file manager mount a drive without root?

I've been reading this question about why mount must be run as root (with some exceptions), and I was wondering, if mounting a drive requires root (generally), how does a graphical file manager (...
0
votes
1answer
63 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@...
7
votes
5answers
25k views

vfat not recognized in debian

I want to mount my usb drive (kindle vfat32). When I do mount -t auto /dev/sdf1 /mnt/usb I get mount: unknown filesystem type 'vfat' I checked if the drive is recognized with sudo fdisk -l and the ...
1
vote
0answers
68 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 ...
2
votes
1answer
862 views

How to prevent fs from unmounting?

I'm trying to back up a disk that has been acting very strangely lately, but my back-up attempts fail after a few minutes, because the disk's file system (at /dev/disk4) "spontaneously" unmounts. (I ...
0
votes
0answers
380 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
751 views

How can I determine how directories/filesystems have been mounted?

I have access to a VM which on a different network at work using NIS. (Debian by the way) This VM has about 10 extra /directories in / when I log in. They do not exist on that VM alone, they are ...
6
votes
3answers
7k 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
0answers
34 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
301 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
92 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,...
0
votes
1answer
56 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 ...
4
votes
2answers
745 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?
-1
votes
2answers
45 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
425 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 ...