Questions tagged [filesystems]

A filesystem is a way to organize and store computer files with their data.

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

Can I set up dual boot linux without leaving my main partition?

This might be asked already somewhere but I couldn't seem to figure out how to search exactly what I mean. I want to set up my macbook pro to dual-boot gentoo. Is it possible to set up the gentoo ...
0
votes
0answers
10 views

Grub can't get file system ext4

Grub can't find and get some file system e.g. ext4, xfs, module upon booting the edited grub configuration How to get it, where is this .mod files to be put for grub?
1
vote
0answers
42 views

Run systemd service before unmount

I'm trying to run a systemd service at shutdown: it kinda works (it gets called) but it runs after filesystems are unmounted, which is not what I need. So I tried with Before=umount.target and ...
0
votes
0answers
9 views

Proper dealing with mountpoint on OpenZFS

ZFS in contrast to other file systems are not using fstab, but store internally informations what and where should be mount. At first glance isn't big deal, just instead of editing file I had to run ...
1
vote
0answers
11 views

Does btrfs sync “suffer” from same issues as btrfs snapshot?

Targeting "roughly okay backups" of a running system that uses BTRFS as filessytem, I seek an answer regarding Can option a) btrfs filesystem sync <path>(sync(1)) be used to force an &...
0
votes
0answers
5 views

Changes to a Hue hub (running OpenWRT) do not stick after a reboot - using overlayfs and mtd?

So I have two Hue hubs. Both are near enough the same hardware revision, but one is on a ~2 year old firmware, while the other is on the latest firmware. I rooted both using a slight variation on this ...
0
votes
0answers
10 views

Is it more efficient to use file IO or swap space for large temporary storage?

(Cross-posted from SO.) I have a program that needs to produce a large quantity of temporary data (in the 10-100 gigabyte range) that I don't expect to fit in memory. The data is only used internally ...
0
votes
0answers
25 views

partition not showing on partition manager

My 1TB hard disk has two partitions, namely sda1 and sda2. Although sda1 is showing on partition manager, sda2 is not. I accidently unmounted the sda2 partition and then had to mount it on a folder ...
0
votes
0answers
13 views

Recover unmountable btrfs (not just recover data)

as far as I recall the system was doing sone heavy io on a btrfs partition, and I pulled the power. Next time the partition is unmountable at all, also in readonly mode. I recovered important data by ...
0
votes
0answers
37 views

How to disable system-wide timestamp of file system?

I am using Fedora 33 (GNOME + kernel-5.10.8-200.fc33) and how can I disable system wide timestamp of file system? For example, I want to disable change time (ctime) and birth time (btime).
0
votes
0answers
15 views

How can I reset all system file permissions in Debian 10? [duplicate]

I want to reset all system file permissions. Because I used sudo chmod 777 -R / command. But I don't know how.
0
votes
1answer
82 views

Is it possible to delete . and ..?

Is it possible to delete . and ..? I read somewhere there are some patches for the linux kernel which let you do that. I have no idea where I read it and I don't know how to search for it because ...
0
votes
0answers
34 views

how to replace non LVM disk that is full, on the fly

we have rhel machine 7.2 version disk sdb size is 3.9G and the following disk ( non LVM disk ) is full /dev/sdb 3997376 3911504 3911504 99% /hadoop we add additional disk - /...
1
vote
2answers
60 views

Max open files per process limit - linux kernel

There seems to be a hardcoded upper limit on the maximum open file descriptors (process limit) of 1048576 is that correct? Incase this has changed recently, my version: Linux mq981 4.15.0-112-generic #...
0
votes
1answer
27 views

Dont have write permission on a mounted ntfs drive

I have a dual boot system and multiple drives created in SSD. One partition is "Data" partition created from windows system and is of type ntfs. While accessing this drive from my Ubuntu OS, ...
0
votes
0answers
35 views

What is file system of linux? How does it work? [duplicate]

I am a new computer user and my computer is having 20 folders in the file system. They are bin, boot, cdrom, dev, etc, home, lib, lib64, media, mnt, opt, proc, root, run, sbin, srv, sys, tmp, usr, var,...
22
votes
1answer
1k views

Create and populate FAT32 filesystem without mounting it

Is there a way to create a FAT32 filesystem containing a set of files, without needing to mount it or have root access? I am developing a software application for an old operating system as a hobby, ...
0
votes
3answers
127 views

Do 'executable' file systems exist?

Are there any Unix/Linux filesystems that do the following? if the file is executable, return a virtual file containing the stdout generated by executing it (it would have to be non-writable, I ...
1
vote
1answer
53 views

Why I mount --bind --make-private /etc/hosts in new namespace, modification of this file with vim in old namespace will also affect the new ns?

I want to create a new namespace with a different /etc/hosts, so I tried to use mount --bind with unshare to create it as referenced in this answer: https://unix.stackexchange.com/a/242830/271204 # ...
2
votes
0answers
23 views

How Linux system knows what files/subdirectories are under one directory

I'm reading the book "Linux Kernel Development", and there are some important points: inode doesn't include filename. filenames are stored in directory entry(dentry). but dentry is not ...
0
votes
0answers
31 views

Cannot mount hard-drive at one specific path

I have a generic 8Tb external HDD that I'd like to mount to /lovelace. This has worked in the past, but often when I restart the machine, it does not automatically remount, and then I have no end of ...
0
votes
0answers
48 views

SSH Restrict User Access

When I ssh into the machine as webmaster I ssh into the correct chroot directory var/www/domainname/public_html but I can still access the entire filesystem. I have changed the home ssh directory of ...
0
votes
1answer
30 views

Rsync fails to create symlinks when syncing with an ExFAT partition

I tried to sync with an ExFAT partion on an external HDD using the command: rsync -avvP --remove-source-files /path/to/sourceDir /path/to/destDir However I got this type of error several times: rsync:...
0
votes
1answer
37 views

What is the relationship between the Filesystem and the block devices?

A filesystem is the set of methods and the data structures for keeping track of files on a disk or partition. Without it, data placed in a storage medium would be one large body of data with no way to ...
1
vote
1answer
64 views

Since when do Unix systems support birth/creation time (btime/crtime) for files and directories?

Does anyone know when Unix supports birth/creation time stamps for files and directories? If possible also when first file manager (GUI) displays it by default for users. For comparison with Windows, ...
0
votes
1answer
19 views

How do I read the terse outout of stat?

There are no clues given about how to interpret the results of running the stat command with terse output. [root@kvm devicemapper]# stat -t data data 107374182400 3887728 8180 0 0 fd01 559688 1 0 0 ...
0
votes
0answers
18 views

Is there any way to recover a file when i deallocated a certain range of file using fallocate()?

I am curious if I can still recover my file in the following case. deallocate a certain range of file using allocate (PUNCH_HOLE) (allocate ref:https://man7.org/linux/man-pages/man2/fallocate.2.html) ...
0
votes
1answer
27 views

Clone Single Partition to Bootable USB

I have a HDD with 2 OS partitions. Together they are too large to clone onto my flash drive. And I just want to clone the smaller one anyway. /dev/sda1: 120GB HDD partition 1(Lubuntu) /dev/sda2: 8GB ...
0
votes
1answer
26 views

Windows 10 trouble with <space> as an allowed foldername ending on Linux

Problem: I have accidentally named a folder with an added space at the end on Linux. On Windows 10, this is not even possible, the space at the end is automatically deleted. On Linux Mint 19.2, this ...
0
votes
1answer
38 views

Is CentOS the most barebones Linux? [closed]

I'm looking to make a NTFS filesystem NAS server with Docker support, so I need the most lightweight and feature-lacking OS, since I'll only use it to access the files on the system and run docker ...
2
votes
0answers
17 views

Possible to tag metadata to an arbitrary file in Linux?

I am on an x86_64 Debian machine using a cifs file system. I was wondering if it's possible to add arbitrary metadata to a file. The restrictions would be: It would 'stick' if the file is renamed. It ...
0
votes
0answers
12 views

embedded linux - create ISO file with links instead of copying files

I need to create ISO image or VFAT image file - containing one or more files - say for example tar file or exe file etc. Since this an embedded system, with very low memory footprint, want a mechanism ...
-1
votes
0answers
33 views

Hiding USB drive from process

I'm trying to unlock my Ironkey (encrypted usb drive) in Tails. Unfortunately, the Unlocker software can't tell which one is the Ironkey: amnesia@amnesia:/media/amnesia/IRONKEY/linux$ ./Unlocker_64....
0
votes
0answers
27 views

Dual boot Debian based install leads to read-only filesystem

I'm currently running a Ubuntu 20 install in my HDD and a Debian 10 install in my SSD. My Ubuntu runs without any problem, but my Debian installation always turns to a read-only filesystem after a few ...
0
votes
0answers
20 views

“Tasks of” Inodes and File Systems

If I search for File Systems I often get results from Google explaining that "The Linux Filesystem" -- btw. what is the Linux File System?! The last time I've used linux were wasn't just ...
1
vote
0answers
29 views

Correctly implementing seeking in FUSE readdir() operation

I'm trying to implement a toy file system and I'm struggling to understand how to correctly implement the readdir() operation in an efficient, scalable way. To understand the interface used by FUSE, I'...
0
votes
1answer
35 views

Background flushing of kernel buffers

My Ubuntu Xenial system is as follows: # uname -r 4.4.0-179-generic # I have the following simple C code which writes 5 bytes to a file every second, for a total of 5 times: { int fd = open("...
0
votes
0answers
31 views

figure read speed access to a file from a process

Background info for the request:: I have a radius server (freeradius running on Linux) that for each request needs to parse a long text file containing the allowed mac-address. From time to time, it ...
0
votes
1answer
23 views

Linux partition end is greater than the physical disk and partition size

I have two partitions on my hard drive. /dev/sdb1 for my entire system and /dev/sdb2 as a swap drive. I had a couple of system crashes and thought that I might need to increase the size of my swap ...
0
votes
0answers
9 views

Distributed Filesystem for container instances like MySQL/Mariadb

I'm looking for a suitable distributed POSIX compatible replicated block filesystem as the persistent volume for DB container instances. My first intent was to use GlusterFS, but according to the ...
0
votes
1answer
41 views

stripe=8191 on non-raid drive

I just noticed the following weirdness in the output of mount on my machine (Xubuntu 18.04): /dev/sda1 on /mnt/Z2 type ext4 (rw,relatime) /dev/sdb1 on /mnt/W type ext4 (rw,relatime,stripe=8191) /dev/...
0
votes
1answer
12 views

Writing single image to consecutive partitions using dd

Is it possible to write an image larger than the partition using dd? Supposing I had: blah.img: 8GB /dev/sda1: 3GB /dev/sda2: 4GB /dev/sda3: 4GB ... Are consecutive partitions guaranteed to be laid ...
0
votes
1answer
28 views

Restore ENTIRE system ROOT / (CLARIFICATION)

I recently had to restore the disk with borg. So via live linux, I entered my disk file system, deleted everything (root /), and restored a backup of a specific date. Now I ask myself: do you need to ...
0
votes
0answers
12 views

Application that will pack currently installed system into installation ISO

Simply as that. I'm looking for application, which will create install disk from my whole install, excluding ~ with possibility to make default files like .bashrc and settings for certain apps like ...
-1
votes
1answer
35 views

What exactly 'mount point' means & is this RAID correct? [closed]

When I install Ubuntu Server 20.04, and I use 3 disks where Boot device is 2GB disk (filesystem: ext4, mount /var) and then 2 disks, each has size of 10GB. Both these 10GB disks are used for ...
0
votes
0answers
30 views

Understanding the output of debugfs stat - what is ETB0?

In order to find out whether a file is using any bad blocks, I want to compare the extents listed in the output of debugfs' stat command to the list of bad blocks of a device (as suggested in the ...
0
votes
2answers
67 views

write file to multiple places (different file-systems) [closed]

I want to create a sort of shortcut that when I write to it, it will write the same at X different places at the same time For example KDenLive write /home/user/multiPlaces/untitled.mp4 So the OS ...
0
votes
1answer
21 views

Need help with shell script to format filesystem on block device and mount it

I am trying to create a shell script that does the following Checks if a block device has a file system on it. Mount filesystem. I have something like this right now ls -ltrh /dev/vdb brw-rw---- 1 ...
-2
votes
2answers
28 views

Reverting of CentOS file to previous state after power outage

There was some issues with the power supply for a CentOS 7 server which caused it to shutdown. After sorting the supply issue and turning on the server it was found that the /etc/hosts file which ...
-2
votes
1answer
28 views

Which of the following requests do not go through the Virtual File System (VFS) in Linux?

I recently got the following question in a test. Which of the following requests do not go through the Virtual File System (VFS) in Linux? Reading/writing to a Windows partition from Linux Reading ...

1
2 3 4 5
67