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.
1,995
questions
0
votes
0
answers
22
views
Linux-Filesystem without birth-timestamp
More and more linux-filesystems not only support known access and modify-timestamps, but also birth-timestamps. Examples are ext4 and newer xfs-versions.
These birth-timestamps describe when a file ...
0
votes
0
answers
31
views
bcachefs - how to setup a ssd only volume
I stumbled across bcachefs a few days ago.
After some research, I still have a few questions.
As I understand it, only the foreground_target must be defined.
Does it make sense to set up a ...
-1
votes
0
answers
34
views
Why did PC users need partitions in the 1980's [migrated]
I'm currently working on research related to the history of filesystems.
Apparently the Master Boot Record was introduced with MS-DOS 2 in 1983, which was also the first DOS that supported hard disks.
...
1
vote
1
answer
64
views
Where to store ansible repo used/updateable by some users, readable by others
We have an ubuntu 22 ansible server.
On this server we want to run ansible playbooks, multiple users will run the ansible playbooks, but we want to have them run it under their own name, so without a ...
0
votes
1
answer
55
views
Can't fix error: "The file name(s) would be too long for the destination folder"
I'm trying to enable long paths on Windows Server 2019, but can't make it work. I've tried both the usual solutions:
Using GPEDIT and enabling long paths at Local Computer Policy >
Computer ...
1
vote
0
answers
222
views
Deleting file in ceph does not free up disk space
Ceph version: 16.2.13 (pacific) (I know that pacific is deprecated but the whole environment is legacy (like centos 7.3). I am not authorized to upgrade as well.) The cluster has 6 servers (22 osds, ...
1
vote
0
answers
69
views
Write out stale data from ext4 fs, once a disk has become available again
This is about an ext4 filesystem on a logical volume managed with LVM on a LUKS encryption on a hardware RAID. The operating system is a generic Ubuntu 22.04 LTS.
The RAID unfortunately failed ...
0
votes
0
answers
48
views
What issues with LongPathsEnabled have you seen?
We have a number of reporting websites that our agency publishes both internally to our organization as well as to the public facing web. Most of the time, we neither control the names nor the folder ...
0
votes
1
answer
56
views
Windows filesystem access permissions: how to grant permission to AD users in local Windows groups
Need help granting permissions to a local Windows group for a folder on an NTFS drive on a Windows Server 2019 server joined to an AD domain.
I have successfully configured that for a domain group, ...
0
votes
1
answer
147
views
How to remove a file with weird characters in the name if find doesn't work?
I have a file which has some Unicode characters in its name that are not even shown properly in the console and are not properly processed by the find utility. I need to ideally rename, but if that's ...
0
votes
0
answers
74
views
ZFS still writes to HDDs vdev while dataset is configure to store special for Docker
I'm facing a strange behaviour when using Docker together with ZFS.
I have one pool with 2x10TB HDDs as mirror vdev and 2x250GB NVMEs as mirror for special vdev (to store metadata and datasets with ...
0
votes
2
answers
254
views
how to get the used space (size in bytes) of a directory in a ceph file system
I have a ceph cluster quincy 17.2.7
I wonder if ceph has some tools to quickly get the the used space (size in bytes) of a directory in a ceph file system. I know one can get that using du -hs /fs/dir-...
4
votes
0
answers
102
views
Data Replication Approaches for Hot Standby Architecture
I'm relatively new to the world of storage & filesystems (please forgive me if I'm not using the correct language), and I'm currently researching ways to achieve a hot standby configuration -- i.e....
1
vote
1
answer
695
views
Enable BTRFS in kernel (running Rocky Linux 9.2)
I am trying to read an encrypted filesystem pulled from a Fedora 38 installation on Rocky Linux 9.2. When I plug the SSD in, it shows the following error:
I suppose that this means (1) the default ...
-1
votes
3
answers
138
views
Monitor web server directories for changed / new files
TL;DR: Is there an easy why to monitor directories for new/changed/deleted files?
Details: A simple WordPress website on a virtual server got hacked. Nothing too serious. No important project / data ...
1
vote
0
answers
165
views
Domain-joined clients local Administrators group lost Domain Admins member: recovery possible?
On a number of Windows 10 clients joined to a Windows Server 2022 domain and after some serious GPO-related mishandling, the local administrators group contains only the (inactive) administrator. Is ...
2
votes
1
answer
113
views
Azure NFS migration from on prem NFS
Context: We are working on a data migration project involving the synchronization of data between an on-premises NFS filesystem and an Azure NFS-based file share. The goal is to ensure a seamless ...
0
votes
0
answers
81
views
High latency when using FUSE to pass through to tmpfs + swap
I'm creating a shim layer over an in-memory file system (tmpfs) so that I can intercept the file system commands and do extra processing (the end goal is to replicate the writes over the network for ...
0
votes
0
answers
97
views
On linux filesystem becoming RO, how to reliably reboot?
When the main Linux partition becomes ro for some reason (errors), I am trying to
use cron job to check and reboot (so that fsck can run and attempt a fix), but I see that even the cron may not run!
...
1
vote
3
answers
643
views
LVM: Creation difference between CentOS 7 and CentOS 6
I have CentOS 6 & 7 server and am creating 512 MB logical volumes:
CentOS 7:
sudo lvcreate -v -n lvname -L 512M rootvg && sudo mkfs.xfs -L "lvname" /dev/mapper/rootvg-lvnamee
...
0
votes
1
answer
46
views
ocfs2_dlmfs file system not found while running tunefs.ocf2s command
While running the following tunefs command to enable the discontig-bg file system feature:
tunefs.ocfs2 --fs-features=discontig-bg /dev/drbd0
I receive the following error:
tunefs.ocfs2: ocfs2_dlmfs ...
0
votes
0
answers
75
views
Is there any cli to detect directory changes between bash script runs?
For example I have this command
generate-and-deploy-new-version ./site-directory
and I want to run it only if content of the ./site-directory was changed.
if checkchanges "./site-directory" ...
0
votes
1
answer
34
views
Mounting local and S3 storage to the same folder location?
Using Oracle Linux 8, I have a /usr/local/caplogs/logs folder which has logs from my services written to it constantly.
I have S3 storage, which I have attached to /usr/local/caplogs/logarchive using ...
0
votes
0
answers
268
views
EXT4-fs error (device md0) in ext4_free_inode:357: Filesystem failed CRC
After setting up Raid1 Mirror on DNS server, now I am planning to go for a Debian upgrade from 10 to 11.
I was able to update the source.list file and perform apt update but when i do apt full-upgrade ...
0
votes
0
answers
88
views
arch linux laptop not recognizing partitions or filesystems on internal windows SDA drive
I bought a laptop with windows 11 and installed arch linux on it. The laptop has 3 internal 500GB SSDs. Two of them are in a RAID configuration to make a single 1TB partition which Windows came ...
0
votes
0
answers
67
views
How to mount glusterfs based san lun on another server and mount with ext4/xfs filesystem
I have one glusterfs based filesystem san lun with some data assigned to linux server and want to access that data on that server.
What are the possible ways to recover that data?
Tried to mount it ...
1
vote
1
answer
39
views
Storing each file on separate physical drives for a single file volume
I am working with a bunch of really large files (>100 GB). As we often process multiple large files in parallel (e.g. 10-12), we think that it might be advantageous to have each file be stored on ...
0
votes
1
answer
207
views
Is /proc/mounts file depracated?
I have been reading at several places that we should no longer refer to /proc/mounts and instead it is better to rely on /proc/self/mountinfo file. For example, see this question:
/proc/self/mountinfo ...
0
votes
0
answers
32
views
File System Private download method not Writeable -Drupal
Giving File System error that it is not writeable or folder does not exist on Production Env
Drupal version - 9.5.9
Server we are using Amazon Linux2
I have added line in setting.php $settings['...
0
votes
1
answer
121
views
What is the simplest way to set up shared/clustered read-write filesystem across servers?
What is the simplest way to set up shared/clustered read-write POSIX-compliant filesystem across servers where performance is not a major concern?
Suppose I have two Linux servers S1 and S2 and an ...
0
votes
0
answers
164
views
How can I restore lost data after executing the xfs_repair command to forcibly clear log files to restore the file system?
I already know how to do xfs meta data backup. To repair the xfs file system, only the xfs_repair -L lv command is available. I will move the abnormal Inodes to the lost+found directory after I want ...
1
vote
0
answers
352
views
Ubuntu/Apache: /tmp files unexpectedly removed
I'm losing files in /tmp on current Ubuntu (22.04.2), possibly related to virtualisation. Any insights appreciated. This is not a normal cleanup; the file is lost immediately.
I have two systems: a ...
0
votes
0
answers
89
views
Kickstart %ksappend Filepath
I'm trying to modularize my kickstart file; in particular, I'd like the %pre section to live in a separate file brought in using the %ksappend statement. However, this consistently fails with the ...
0
votes
2
answers
76
views
What's the difference between /dev/dsk and /dev/sda?
I was researching about block devices and character devices. I found an article that mentions how block devices are assigned as /dev/sd[a-z]. But then I read a different article that mentions how ...
1
vote
2
answers
3k
views
how to delete a xfs file system from logical volume (lvm2), to achieve the goal being this logical volume without any file system?
I have LVM RedHat 8 intall and there's one Volume Group there.
Fri May 19 [michal@Ora2 ~]$ sudo vgdisplay
--- Volume group ---
VG Name ol
System ID
Format lvm2
...
1
vote
2
answers
89
views
Delete folders asynchronously
I have a large file system in which I have to delete certain directories from time to time. Currently I have a script which amongst other things, deletes a folder and subsequently generates an email ...
0
votes
1
answer
111
views
How are files routed through the network when using a copy command with UNC paths as the source and destination?
Given a command like robocopy "\\UNC1" "\\UNC2" /E /MT:128 /R:0 /W:0 executed from a workstation.
Do files move like this
or more like
2
votes
1
answer
220
views
Discrepancy in file usage after rsync
I copied files from an exFAT filesystem to an ext4 filesystem:
sudo rsync -avz /media/user/1TB-SD-EX/ -e ssh example.com:/data/pc/sd1tb
After successful run I check source and destination size with ...
0
votes
1
answer
191
views
Storing 100 million files in the same "directory" under S3-compatible storage?
I have > 100 million image files (book covers) as a flat list of files under a single "directory":
/images/000000093e7d1825b346e9fc01387c7e449e1ed7
/images/...
0
votes
0
answers
3k
views
/dev/md0 - wrong fs type, bad option, bad superblock on /dev/md0, missing codepage or helper program, or other error
I recently had issues with a raid filesystem I created and had some bad luck.
I started creating a raid0 one one disk with the intent to expend it afterwards. I had data on two drives and had only one ...
0
votes
0
answers
206
views
deleted files doesn't free up space on nfs volume
I would like to hear your suggestion on why space is not released after files deletion.
Jira application uses nfs volume as shared jira home. 12 gb indexes snapshot is created per hour (oldest one is ...
0
votes
0
answers
183
views
RHEL + what could be the reason that FSTYPE not defined from lablk , in spite filesystem was created on disk in the past
I want to share the following very strange behavior , that for me it's not make sense but its a a fact on our production RHEL 7.2 server
disks are VMDK
from df -h we can see the following:
sdb ...
0
votes
0
answers
131
views
Windows Images created with dd cannot be restored
I used a live USB Linux system to create images of Windows Installations (Win 8 and 10) on hard drives like this:
dd if=/dev/sdb bs=64k conv=noerror, sync | gzip -c > /dev/sdc1/win.img.gz
However,...
0
votes
1
answer
177
views
Linux file system(s) with ACID guarantees? [closed]
What could I do, to obtain a Linux file system, with the same guarantees as ACID guarantees for databases?
It seems file systems haven’t advanced to this point that I had assumed would be industry ...
0
votes
1
answer
476
views
Copied data to LVM-Thin pool by mistake
I'm here today because of a big mistake that I have made.
I created an LVM-Thin data pool (and not on a LVM-Thin LV) on my Proxmox server and (don't ask why) ran a mkfs.ext4 on the pool then mounted ...
1
vote
2
answers
548
views
Expanding XFS file system from another device?
I have two virtual devices on a fedora system. Both are in a raid 5 configuration. No LVM is in place. The system it’s self is installed on one of the devices. That same device is also the one with ...
0
votes
1
answer
479
views
Permission for Users group successfully modified via code, but change is not reflected in Security tab for the Users group
I have C# code (at the end) which:
Creates a file
Prints the current ACL
Gives the builtin users group "write permissions" to the previously created file
Prints the current modified ACL
...
0
votes
1
answer
159
views
Creating a ramdisk with lvmvdo persistent across reboot?
I am trying to create a persistent ramdisk with lvmvdo with the below unit file but it does not seem to work.I have not added the --type vdo option to the lvcreate command yet ( this is for RHEL9 )
[...
0
votes
1
answer
32
views
how can i increase OS FS on CentOS?
we have CentOS server installed on 83GB FS size while the OS disk size is 480gb
how can we increase the FS to use the whole disk (sda, 480gb)?
[root@server ~]# df -kh
Filesystem Size ...
0
votes
0
answers
214
views
LVM Resize Failing
Summary
I'm attempting to extend partition with LVM on it and its failing... All Googles and Bings have failed so unsure where the issue lies. Here is what's happened so far.
This is a virtual server ...