Questions tagged [filesystems]

A file system (or filesystem) is a means to organize data expected to be retained after a program terminates by providing procedures to store, retrieve and update data, as well as manage the available space on the device(s) which contain it.

Filter by
Sorted by
Tagged with
0 votes
1 answer
22 views

Accessing Raw Data on DVR Formatted Hard Disk

I need to access the data stored on hard drive that was used in Lorex DVR system. The drive gets formatted by the DVR when installed. I am trying to mount that drive in Linux but to no avail. fdisk ...
user avatar
  • 115
0 votes
0 answers
6 views

Is devicemapper linear not just passthrough?

I'm trying to follow the script in https://jvns.ca/blog/2021/01/27/day-47--using-device-mapper-to-manage-firecracker-images/?hmsr=joyk.com&utm_source=joyk.com&utm_medium=referral but getting ...
user avatar
0 votes
0 answers
17 views

What are the differences between these ext4 features: dir_nlink vs large_dir

From the ext4(5) man page: dir_nlink Normally, ext4 allows an inode to have no more than 65,000 hard links. This applies to regular files as well as directories, which means that there can be no more ...
user avatar
0 votes
1 answer
28 views

OpenSUSE transactional server boot partition and efi

I have following problem with OpenSUSE transactional server. By mistake it was configured with /boot being ext4 partition on a dedicated drive, which also contains /boot/efi. I have noticed that /boot ...
user avatar
  • 101
2 votes
2 answers
60 views

Errors on a zpool filesystem

I'm using ZFS on a Debian 9 machine. This machine has been working for years without any problem until today. The zfs pool is mounted on top of a RAID system, controlled by hardware (so only one drive ...
user avatar
  • 123
0 votes
0 answers
12 views

Is there a way to check filesystem/files on a logical drive in CEPH storage environment

Little background. HP C7K hardware Example partition: /dev/sdi : /dev/sdi1 ceph data, prepared, cluster ceph, osd.21, block /dev/sdi2, block.db /dev/nvme1n1p3, block.wal /dev/nvme1n1p4 /dev/sdi2 ...
user avatar
  • 1
0 votes
1 answer
38 views

How to mount a shared directory in linux [closed]

RaspberryPi Samba Server Share directory: jack Host Computer Mount (read/write access): jack directory from RaspberryPi I have this task , its a connection between my RPI and my host computer , I have ...
user avatar
  • 1
0 votes
0 answers
33 views

Event driven way to detect Ethernet port status changes (disconnected / 10mb / 100mb / etc) in linux?

I was wondering if linux has some sort of interface to detect ethernet port state changes via /sys or some other way that is event driven. What I mean by state changes is DISCONNECTED / 10mbit / ...
user avatar
0 votes
0 answers
16 views

What is the difference between "Content created" and "Creation date" on Windows 10 file properties?

On my Windows 10 computer, I have the following properties for a file: Created at, in the general properties overview Content created, in the detailed properties Those two properties have different ...
user avatar
0 votes
0 answers
24 views

VM Instance write permisson (Container Optimized OS)

Actually I set up a VM instance and installed a container base OS but now when I run the container with docker-compose up (just an alias) I receive an error from traefik, do you know what the problem ...
user avatar
  • 1
0 votes
1 answer
35 views

How to get average disk queue length of a physical hard drive based on folder path

I want to check what is the disk queue length of a physical hard drive, on which a specified folder is stored e.g. /home/andy250/myfiles I want to check this automatically via script. I am running ...
user avatar
  • 111
0 votes
1 answer
78 views

How can I artificially induce corrupt ext4 filesystem without data loss?

I am trying to deal with a very rare corner case where my system has a minor corruption in the ext4 filesystem. This trigger systemd's emergency.service and I am trying to alter the behavior of it to ...
user avatar
0 votes
1 answer
55 views

Wrong ext4 filesystem free space

We have a linux server with LVM. Looking the space availability with df -h the difference between filesystem size and used space is not zero but the available space is zero. This is the output of the ...
user avatar
  • 1
0 votes
0 answers
31 views

Process unable to write file - disk space ran out what happened?

I had a situation with a server misconfig. Nginx was unable to write its logs due to invalid file permissions and checking with free the buffers/caches were at about 3.2GB (out of 4GB Memory). Nginx ...
user avatar
  • 1
1 vote
1 answer
171 views

When writing csv from CF to bucket: 'with open(filepath, "w") as MY_CSV:' leads to "FileNotFoundError: [Errno 2] No such file or directory:"

I get this error FileNotFoundError: [Errno 2] No such file or directory when I try to write a csv file to the bucket, using a csv writer that loops over batches of data. The full insight into the ...
user avatar
0 votes
1 answer
23 views

Cannot interact with directory, how to remove it

I have a directory with a lot of files that I want to remove but I cannot interact with it. The size of the folder is 29M. rm -rf ran overnight without it seems doing anything. find . -type f -print | ...
user avatar
  • 101
0 votes
0 answers
15 views

Automount second encrypted drive without password

I'm attempt to mount a second encrypted drive at boot by getting the password from a TPM device. I'm on Ubuntu 20.04. The second drive as well as the first are in LVM as physical volumes. Both ...
user avatar
0 votes
0 answers
29 views

nfs uses LOTS of hidden disk space

I have a machine that exports /home to 2 others. Regularly the partition fills up but it's impossible to pinpoint what takes up size. Both du -x /home and ncdu -x /home show something like 56Gb use ...
user avatar
  • 183
0 votes
0 answers
42 views

How to catch access/request to an (non-existent) directory under a base path?

I would like to reproduce the autofs capability to detect the access to a sub-path of a base path and call the corresponding handler. The motive is that autofs cannot set (nor keep) the shared or ...
user avatar
1 vote
0 answers
54 views

What accounts for mystery hard drive space gone missing? (Difference between df and du)

To preface: there are lots of other useful questions (e.g. this and this) on possible causes for different sizes reported by df and du. None of the explanations apply to my exceedingly simple case, ...
user avatar
0 votes
0 answers
85 views

Filesystem in KVM-QEMU VM switching to read-only mode although smartctl is not reporting any errors

I have a Debian 10 Host running a Debian 10 virtual machine with QEMU / KVM. In the past few days, I got the "Error: Read-only file system" twice, after the virtual machine was running some ...
user avatar
  • 101
0 votes
1 answer
188 views

BTRFS resize - free space not available to use

I'm trying to shrink BTRFS partition and create new EXT4 partition with that free space. I did btrfs filesystem resize -5g / Now I have this (notice Device slack equals what I shrinked): ...
user avatar
  • 43
0 votes
1 answer
20 views

Why dar won't allow me to unmount?

I'm trying to make a multi-volume backup of a huge directory with DAR. This should be possible, according to the tutorial. Or at least used to be. root@box:/# dar -R / -c mnt/backups/syncable -z -g ...
user avatar
  • 123
-2 votes
3 answers
156 views

best filesystem for millions of files [closed]

Which Linux filesystem/setup would you choose for the best speed in the following scenario: a few million files ~3mb file size on average random access to files need to get a list of all the files ...
user avatar
3 votes
1 answer
164 views

"just in time" filesystem using inotifywait and mkfifo

I am writing some gross middleware - basically, I have some old code that needs to open 100,000 files for reading only, expecting them all to be in one folder. It never writes. It is multiprocess so ...
user avatar
-2 votes
1 answer
53 views

how can change filesystem from ext4 to xfs

how can I change filesystem from ext4 to xfs without data losing? I've centos7 on Arvan cloud (IaaS like linode) and I don't have special permisson.
user avatar
0 votes
1 answer
98 views

xfs_repair runs instantly, surely this should take some time to run?

I'm trying to troubleshoot some issues with multiple database engines crashing and logs suggesting corruption while reading from disk, so I'm running xfs_repair on a 2TB NVMe which contains the files. ...
user avatar
  • 101
0 votes
1 answer
84 views

Prevent user from seeing list of other user's home dir

I want to prevent a user from seeing a list of home directory(of other users). By default, a user can not access other user's home dir but can find another user's home dir like below: [opc@instance-...
user avatar
10 votes
2 answers
3k views

How can I make Linux reboot instead of remounting the filesystem as read-only?

Linux systems sometimes remount the root file system as read-only, e.g. if there's an I/O error. I have a machine that becomes useless when this happens, and I end up rebooting it manually. Is there a ...
user avatar
0 votes
0 answers
97 views

How to minimize filesystem overhead

I have an application that uses a lot of space as essentially cache data. The more cache available the better the application performs. We're talking hundreds to thousands of TB. The application can ...
user avatar
0 votes
1 answer
39 views

Bad performance on multiple loop devices used as file containers

Currently, I'm managing a back-up service for multiple remote servers. Backups are written trough rsync, every back-up has it's own filecontainer mounted as a loop device. The main back-up partition ...
user avatar
0 votes
0 answers
34 views

File system to maximize utilizable space on a drive

I'm trying to fit as many 108 GB files on a 16 TB as possible. If I format the drive for ext4 with default options I can fit 138 files on it. But if I do mkfs.ext4 -m 0 -T largefile4 /dev/xxx 146 ...
user avatar
0 votes
1 answer
32 views

Can WAL be turned of on CoW file systems?

As far as I understand WAL in PostgreSQL designed for control of the integrity of Database. On File System same purpose is served by CoW (Copy-on-Write) mechanism. So WAL look like some overhead. So ...
user avatar
0 votes
1 answer
35 views

Too many mounted filesystem

How to umount this cgroup? Also i have no idea is it important or not. It seem cgroup is comefrom docker but im still not sure. I was trying install gns3-remote And it give me cgroup like this. Then i ...
user avatar
1 vote
1 answer
103 views

Fragmented directory on ext4?

My ext4 filesystem loses performance when growing. I have a system storing a lot of image files. This Debian based image server stores image files divided in year folders on 1-2TB disk sets with ...
user avatar
0 votes
0 answers
65 views

AWS EC2 Centos8 - NVME Disk not mounted entirely to the Operating System

Our system admin said, they had mounted a 100GB disk to EC2 instance. But when I put a df -Ph, only 2.8GB is available to / root root@myhost: df -Ph / Filesystem Size used Avail Use% Mounted On /...
user avatar
1 vote
0 answers
79 views

mdadm RAID: Stuck at 0% Grow (Shrink) reshape due to bad geometry

I have a linux software Raid5 array (md1), containing 4 x 16TB + 2 x 8TB hard drives. 2 x 8TB hard drives were merged together (Raid0 array; md0), working as a (fifth) 16TB device. This is just for ...
user avatar
0 votes
0 answers
15 views

Files permission missing after upgrade

I'm having the next issue. I have a shared directory "/home/shared/users" with more users (let's say like an example user1 user2 ) Here in /home/shared/users an script generate files (let'...
user avatar
0 votes
0 answers
228 views

How to increase the block size of an ext4 filesystem beyond the 4KB limit?

Is there a way I can increase the blocksize of my filesystem (ext4) beyond the 4KB limit? I want to increase the random read/write speed of my filesystem by increasing the block size but I can't go ...
user avatar
0 votes
1 answer
86 views

Single SAN with ocfs2 and gfs2

I have a single SAN with two virtual drives. (i.e., they are separate mounts, but they are mapped to the same IP address) For example, if I do ls /dev/disk/by-path/, I see this: ip-172.16.100.5:3260-...
user avatar
  • 168
2 votes
1 answer
256 views

After filesystem reached 100% storage capacity now set to read-only, how to reset to read-write mode?

Yesterday our server (Ubuntu 18.04) reached 100% storage capacity and set one of our filesystems to read-only mode, see: /dev/md3 / ext4 ro,relatime,errors=remount-ro,data=ordered 0 0. I've tried ...
user avatar
  • 123
0 votes
0 answers
46 views

OCFS2 file system mounted as read-only

I have a problem with an Oracle Cluster Filesystem (ocfs2) attached to a cluster of Ubuntu 20.04 servers. The file system keeps getting mounted as read-only. Unfortunately, I know the cause since ...
user avatar
  • 168
0 votes
0 answers
71 views

AWS: Using regular filesystem on an EBS multi-attach volume in a one-writer, many-readers scenario

I'm wanting to share data among multiple AWS instances in a high-performance, low-latency manner. Giving all instances read-only access (except one instance that would handle writes) is fine. Two ...
user avatar
  • 101
1 vote
1 answer
32 views

MySQL 1 schema, 1 filesystem

This is a ''general'' question. Hear me out. Let's say I have a MySQL standalone or even a 3 or 5 nodes cluster. Would it be a good practice to have 1 filesystem per schema ? For example, schema{1..5} ...
user avatar
  • 615
0 votes
0 answers
12 views

Build a collection of unique root directories

I have recently purchased around 125 Wordpress sites. They're all based around the Avada theme but have a customised child theme. FYI (from what I've learned) child themes are basically a directory ...
user avatar
1 vote
0 answers
40 views

Why am I allowed to move, but not delete, a file on Windows Server 2019?

Today I needed to remove a file, but I couldn't: [capv@TKG-VC-ANTREA-M]: C:\Users\capv> rm 'C:\Program Files\containerd\containerd-shim-runhcs-v1.exe' rm : Cannot remove item C:\Program Files\...
user avatar
-1 votes
1 answer
61 views

Windows Server 2019 - renaming files with some naming convention

We received a ton of files from our sponsor and the files are all formatted like this [ABCD] Title - Id - Description [RS][x264][CHKSUM].txt I could manually rename one at a time but there are more ...
user avatar
3 votes
0 answers
3k views

Mount filesystem with "structure needs cleaning" on ext4

There is a created years ago(and many time resized from that times) filesystem with ext4. After power failure it stop to mount. When i try to mount it manually i receive an error: # mount /dev/space/...
user avatar
  • 909
1 vote
0 answers
38 views

Upgrading packages caused database to crash

A really strange confluence of dependencies led to an odd database crash. Context: CentOS 7.9 LVM2-2.02 Postgresql 12, with data volume on an LVM volume, XFS formatted systemd dbus While the system ...
user avatar
  • 422
0 votes
0 answers
27 views

Two Data Entries After Converting BTRFS Profile

I ran the following command on a BTRFS volume in order to convert the data profile from single to DUP (I'm looking to provide duplicate data on this volume to be able to repair possible bit rot ...
user avatar

1
2 3 4 5
39