Questions tagged [filesystems]
A filesystem is a way to organize and store computer files with their data.
4,227 questions
0
votes
2
answers
284
views
On yocto distribution I'm not able to mount an USB key formatted with exfat filesystem
On my yocto distribution I can't mount USB key with exfat filesystem.
If I execute the command:
> blkid /dev/sda
/dev/sda: LABEL="my-label" UUID="FC4D-5949" BLOCK_SIZE=&...
0
votes
1
answer
122
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
0
answers
60
views
I want to increase the partition size
So recently i have been having installing many stuff related to coding and saw that my /dev/nvmeC/ is getting where all the applications are getting installed. So I was thinking of increasing its ...
0
votes
1
answer
268
views
What is the minimal btrfs sector size?
I am thinking on using btrfs for a data volume with many small files. It is unclear, what the doc states about the minimal possible block size.
It looks, they and we are on a very different edges of ...
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 ...
1
vote
1
answer
88
views
Where is the initial iso boot screen and guided gui installer stored on common linux distro's .iso image?
When booting off an .iso for linux distros there's usually first a screen where you can select how you want to install, and then a guided installer if you're using one of the more user friendly ...
-1
votes
1
answer
71
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 ...
2
votes
1
answer
85
views
Something on Ubuntu is changing File Attributes to immutable
So the issue is curious. Something or some service is changing the entire domain directory of a website (yes, only one of hundreds) to immutable attribute. Manually one would use chattr to do this, ...
3
votes
0
answers
117
views
Slow Linux file access to /tmp
time touch /tmp/test.dat
real 0m1.03s
user 0m0.00s
sys 0m1.02s
A full second of sys-mode time to create a file in /tmp. That can become unbearable for ksh scripts that open dozens of files ...
1
vote
1
answer
409
views
procedure for mdadm in-place RAID5 to RAID6 upgrade
I have a debian host configured as a NAS using 6 disks in a RAID 5 setup. The current configuration is as follows:
# mdadm -D /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Fri Mar ...
0
votes
3
answers
215
views
How to make Grub boot from primary as well as secondary disk of RAID1 Array
I am currently installing SuSE Linux 15. I wish to secure this system against Disk failure hence opted to configure software RAID 1 on disk1 (sda) and disk2 (sdb). Basically during installation ...
2
votes
1
answer
580
views
How do I actually fix a badly corrupted (but with hardware OK) ext4 system?
While creating an install USB disk, I made the trivial error of indicating the wrong device, and ended up overwriting the initial few hundred megabytes of a 230 GB disk.
The data was not extremely ...
0
votes
1
answer
94
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
136
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
41
views
Msys64/mingw64 trouble, why its 'ln' command did `copy`
On Msys2 env.:
$ cd /c/msys64/mingw64/lib/
$ ln -s libz.dll.a libzlib.dll.a
But confusingly why
ln
command did copy
instead of linking it symbolically ?
$ ls -l libz*
-rw-r--r-- 1 abdu None 108700 ...
-1
votes
1
answer
443
views
What is /mnt used for, and how does it differ from /media? [duplicate]
Linux newbie here.
Was reading about the Linux filesystem and came across the directories /mnt and /media. AFAIK, they're both used for mounting, and I heard /media was the "new" one and it ...
0
votes
2
answers
197
views
How to recreate file system in an external hard drive from scratch?
I've got a Western Digital Technologies, Inc. Elements 25A2. This is the way it introduces itself through the lsusb command.
Unfortunately, I cannot format it. Through Gnome Disk Utility the command ...
0
votes
1
answer
66
views
In the Filesystem Hierarchy Standard, what exactly is a "shareable file"?
The 3.0 Filesystem Hierarchy Standard mentions Linux hosts and the concept of a shareable file:
"Shareable" files are those that can be stored on one host and used on others. "...
0
votes
0
answers
53
views
Chrome and Edge browsers have both stopped opening a file selector
I am not sure exactly what has happened and all I can find is how to change the default file explorer. Even on this website I can't open the file browser to upload images. I also cannot save images to ...
1
vote
1
answer
104
views
Destroyed file system after adding disks to LVM on RAID5?
Just adding a bit of storage capacity on my Openmediavault storage server went wrong. What should I do to recover? Can you lead me?
This is what I did:
1 /dev/md2 raid5 set created, went well
2 /dev/...
0
votes
1
answer
189
views
Will the Fedora Silverblue's read-only disk partition be damaged if I run "sudo dd if=/dev/urandom of=/dev/drive0" from within itself?
'Drive0' refers to the disk where system is installed. Can the immutable system be damaged (meaning can its filesystem that is mounted in read-only, not counting the files that are user accessible, be ...
0
votes
1
answer
369
views
How to format the hard drive so it is compatible across windows, macOS and linux itself on linux
I formatted my hard drive using the mkfs.exfat -n "HDD" /dev/sda1, but it is not recognized on macOS.
If I do that on macOS, it is readable on Linux, but I want to be able to format on Linux ...
1
vote
1
answer
110
views
Problems booting the Linux system with FSCK
I have a server that contains 2 disks working in RAID 1. It seems that one of the files has become corrupted. When I try to boot, I get Give root password for maintenance. When I enter root, I tried ...
1
vote
1
answer
188
views
How does the combination of SPARSE_SUPER and FLEX_BG features impact the location of backup super blocks in EXT4?
Edit: I've posted an answer to the following below, but not accepted yet, in the hopes that someone will kindly provide me with a generic calculation for determining whether block group n will have a ...
0
votes
0
answers
46
views
Can an application control journaled filesystem?
Linux (and UNIX) filesystems featuring journaling are there to prevent filesystem corruption (any maybe file corruption, too).
Some of them have mount options to control the details of journaling, and ...