All Questions
Tagged with linux filesystems
1,089 questions
2
votes
1
answer
44
views
How to prioritize SSD page cache eviction over HDD with slower speed?
I have a large slow HDD and a small fast SSD. This is about reads not RAID. My desktop grinds to a near-halt when switching back to Firefox or man pages after (re/un)-loading 12+ GiB of Linux kernel ...
1
vote
0
answers
43
views
HDD Write Performance: Pre-allocate vs. Append (Inode Impact?)
When writing a large (10GB) file to an HDD, I'm considering two approaches for writing the data:
Pre-allocate: Create a 10GB file upfront and then write data sequentially (e.g., using fallocate on ...
0
votes
0
answers
25
views
Running Linux in AARCH64 QEMU with XFS Filesystem
I'm stuck trying to run Linux in QEMU with a few requirements. Any help or ideas is greatly appreciated! My goal, the problem, and how I setup everything up is shown below.
Goal
I am trying to setup ...
0
votes
1
answer
26
views
Distinguish between configs and logs/debugs/statistics within sysfs (/sys)
sysfs is a feature of the Linux kernel that allows kernel code to
export information to user processes via an in-memory filesystem. The
organization of the filesystem directory hierarchy is strict, ...
0
votes
1
answer
54
views
System call to remove content from file or Append it in the middle?
One issue that I ran into when making a custom database, without creating an entire block-chain based filesystem from scratch, is deletion and insertion from/to the middle.
It's easy to many a binary ...
0
votes
1
answer
60
views
Why is it necessary when expanding an ext4 filesystem over space before it to copy the data?
I had a dual-boot setup on my laptop, with the Windows partition first, then Linux. I decided to delete Windows, so I removed its partition and am expanding the Linux partition into its space using ...
0
votes
1
answer
41
views
Can't figure how to grow size of "/" (ext3) & "/boot" (ext4) old Debian
So I have to update a very old debian machine on a vm with a few major versions.
But first I need to grow the filesystem because I started the update already and it failed while genarating initramfs (...
6
votes
1
answer
1k
views
Is a filesystem without hard links practical as /home on Linux?
I have a novel filesystem in mind, but the structure makes it impossible to implement more than one hard link to each inode. ("." and ".." are handled differently.)
It is not ...
0
votes
0
answers
45
views
Linux server reverts certain config files to a default state upon reboot. Need to know how this works
I have a linux VMWARE virtual appliance in an environment that I help maintain that runs some old PBX software. The appliance is very old, runs on CentOS 6, and is unsupported by it's original company ...
-1
votes
1
answer
48
views
The concept of holder in the context of the lsblk utility action
The description for the -d option of the lsblk utility says the following:
-d, --nodeps Do not print holder devices or slaves. For example, lsblk --nodeps /dev/sda prints information about the sda ...
0
votes
3
answers
42
views
Am I understanding the implication of knowing a user ID of a file on the accessibility of that file on other filesystems correctly?
In Classic Shell Scripting from O'Reilly, Arnold Robbins and Nelson H.F. Beebe write the follwing,
If a filesystem with user smith attached to user ID 100 were mounted on, or imported to, a ...
4
votes
1
answer
338
views
Restore deleted bytes after a `wipefs` on Linux
After re-installing a Linux machine, I inadvertently ran wipefs -a on the installer pendrive:
$ wipefs -a /dev/sd?
/dev/sda: 8 bytes were erased at offset 0x00010040 (btrfs): 5f 42 48 52 66 53 5f 4d
/...
0
votes
1
answer
56
views
how to mount partition with -o remount,ro option without being superuser
If I am root in can run the command mount -o remount,ro /data. However I can not do it in my user session without using sudo. I tried to modify my fstab :
LABEL=DATA /data ext4 auto,rw,users ...
-1
votes
1
answer
84
views
Resizing filesystem to increase space in AWS EC2 instance
I created an AWS EC2 instance, and I am using the EC2 instance to maintain a database. I'm currently trying to perform some post-processing on my database (by quering my database in batches), but this ...
1
vote
0
answers
26
views
Selective rw access on read-only mounted partition
I have read-only root file system, protected with dm-verity and clean read-write user data storage.
Nevertheless, I need to make a tiny set of files on rootfs which require persistent storage ...