Skip to main content

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.

15 votes
3 answers
3k views

Windows cannot delete extremely deep/corrupted folder structure

I’m completely stuck with a folder on Windows 11 that refuses to be deleted. Here’s the situation: Folder path: C:\dev\target_cursed This folder was generated by a bug in a VSCode GitLab plugin, ...
Cyril Gandon's user avatar
1 vote
1 answer
197 views

Hugo Performance: Thousands of post subdirectories within public directory

I'm going to host a lot of Hugo posts as page bundles(directories) on a ZFS filesystem on a FreeBSD machine. So there's going to be 100,000 directories(page bundles consist of images and an index.md ...
SeriousGeorgian's user avatar
12 votes
8 answers
2k views

Access denied attempting to delete file on Windows Server

Summary I need to delete a file on a Windows Server, however attempting to delete results in "access denied". Additional Background The server is domain joined. The file is local (Not on a ...
Skyler's user avatar
  • 121
0 votes
0 answers
77 views

How to troubleshoot "Too many open files error" in web server?

I had a server which was based on apache; it was used to serve multiple image tiles of a map. I thought of improving it by shifting it to HTTP3, for this I had to shift to nginx and quick protocol. ...
Ayush Gupta's user avatar
0 votes
1 answer
57 views

Transparently migrate entire filesystem to new volume with minimal downtime

On Linux I have a filesystem on a small physical volume that I need to move to a larger volume. I could take the system single-user and just mv everything, but I wonder if there isn't a way that ...
Mark Wood's user avatar
  • 161
1 vote
0 answers
70 views

Why ext4 is often recommended over XFS as a filesystem choice for Linux users? [closed]

From what I've read, XFS seems to have a lot going for it—it performs well in certain scenarios, is the default for some Linux distributions, and is popular in enterprise settings, which suggests it's ...
Dünya ELBASAN's user avatar
0 votes
2 answers
388 views

What is the best way to store many small files?

Most filesystems seem to get slow for folders with many small files. I have a lot (100,000 to 1,000,000) of small text or image files (tens to a few hundred kb) and having them all in one large folder ...
allo's user avatar
  • 1,821
0 votes
1 answer
88 views

How to deal with large disks when choosing a filesystem?

We are using 15TB disks on our RHEL 8.6 Linux servers. These disks are for the HDFS filesystem. Compared to other disks like 4TB or 8TB, we are noticing some degradation in the logs of the datanode. ...
King David's user avatar
0 votes
1 answer
130 views

upgrading zfs-linux with active zpool and /home mounted to it

I am running zfs-linux on a Linux Mint (LMDE 6) machine for maintaining a RAID-Z2 storage. The home directory is its own dataset with mountpoint=/home. zpool/home cannot be unmounted by non-root user. ...
Qb2N's user avatar
  • 33
0 votes
1 answer
70 views

Filesystem got unmounted after full OS drive on OpenMediaVault7 (Debian 12)

I'm new to this page and im not sure where to get help. I hope this would be an appropriate place. TLDR: Docker overflowed server OS storage, after doing docker prune, i realised that my mounted ...
Reeve Liew's user avatar
3 votes
1 answer
169 views

iscsi target with multiple initiators [duplicate]

I want to get a zvol created on zfs and want to get two initiators connected to this zvol via iscsi. I tried that and on one of the initiators I used fdisk to create the ext4 filesystem over it and ...
AAB's user avatar
  • 115
3 votes
1 answer
358 views

XFS uses more space that amount of stored files [duplicate]

We have an XFS volume mounted on RHEL9.5 (5.14.0-503.22.1.el9_5.x86_64) with only 88K files on it: $ find /mnt -type f | wc -l 87739 The file system reports ~200GB of free space. However, the total - ...
kofemann's user avatar
  • 5,151
9 votes
2 answers
666 views

In the XFS file system, does the ls command (syscall getdents) access the disk, or is there a cached directory structure in memory? [closed]

Just for test, I created and mounted the same XFS file system on two hosts based on a shared device (pmem).Host A created a file in its mounted directory and executed the sync command to ensure that ...
SeenThrough's user avatar
3 votes
1 answer
309 views

Should datasets be mounted inside directories in ZFS for Linux?

On my recently set up machine I use ZFS under Linux Mint (LMDE 6) for creating storage pools and using the ZFS filesystem. The specific storage setup is four 1 TB HDD arranged in RAID-Z2 topology. The ...
Qb2N's user avatar
  • 33
1 vote
1 answer
221 views

overlapping disks after partition extension

The machine I'm working with runs Ubuntu 20.046 LTS and has two HDD plugged. The initial setup was following I wanted to use sdb to extend ubuntu-vg-ubuntu-lv which would make a total of about 5.3T. ...
borg's user avatar
  • 111
0 votes
1 answer
138 views

How can I safely modify a file on an XFS filesystem mounted by a different or hibernated system?

Recently I broke my system by modifying a configuration file such that the root user would no longer accept login due to PAM crashing. I did not want to power off the system, and instead wanted to ...
fuzzyTew's user avatar
  • 134
0 votes
1 answer
1k views

resize2fs shrinking ext4 safely

The thing I need to do is to shrink ext4 filesystem, and then recreate partition. Overall I know what needs to be done, the process is pretty straightforward. But there is one little thing that makes ...
Moses's user avatar
  • 103
0 votes
0 answers
98 views

Mounting a SHR RAID without data loss

Someone deleted a storage group on my Synology... It's highly critical for my business to run. When digging deeper, I found that LVM's VG was removed, and I got PV UUID associated to it. On the other ...
moutonjr's user avatar
  • 498
0 votes
1 answer
275 views

btrfs mirror only important directories

I have 2 HDD disk, each with 2TB capacity, and want to create one btrfs on these two disks. we know btrfs support RAID. But what I want is: I only need RAID1 on important directories, etc photo, all ...
yuanjianpeng's user avatar
0 votes
1 answer
160 views

need to extend / xfs file system rocky machine

trying to extend / on xfs file system growfs is not working proberly and doesn't affect / it gives me the below error data size unchanged, skipping I need to extend / which is xfs file system
Yasmin Maysra's user avatar
-1 votes
1 answer
925 views

How to restrict file size in a specified folder?

I need to restrict the size of every single file that is stored in a specific folder on our File Server. The main objective is to avoid large files being stored and transferred on the network. I've ...
IT Researcher143's user avatar
2 votes
2 answers
170 views

Linux + how to increase partitions based on disk size

we have some red-hat servers with the following details ( when OS disk size is 230G ) # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 230G 0 disk ├─sda1 ...
King David's user avatar
1 vote
2 answers
199 views

Stop debian from permitting all remaining space being used and bricking

I have Debian 12 Bookworm installed, everything is installed on the same partition as this is a prebuilt system I am working with, I am trying to put a hard limit on the space that can be used on my ...
nexkex's user avatar
  • 11
0 votes
0 answers
53 views

Linux + how to change the TYPE to be correctly

is it possible to re-configure the TYPE from raid1 to part as should be example: lsblk -l NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 180G 0 disk sda1 8:1 0 ...
King David's user avatar
1 vote
0 answers
29 views

How do I set up router HDD to use microsecond timestamps?

I'm not sure if this is the correct forum for this question, but here goes. I have an HDD connected directly to my router. It's supposed to accept backups of all the computers on the network. The ...
swordguy8's user avatar
0 votes
1 answer
300 views

Files not showing up in a SMB share

This is a very strange one. I mounted a smb share. Here the fstab entry: //192.168.1.60/media /media/share cifs rw,noauto,username=myuser,uid=1000,gid=1000,file_mode=0777,dir_mode=0777,nobrl,vers=3.11 ...
CCarpo's user avatar
  • 1
0 votes
1 answer
412 views

XFS block size confused on ubuntu

I format my partition (/dev/sda1) to XFS filesystem with a block size of 64KB (mkfs.xfs -b size=65536 /dev/sda1). The xfs_info shows exactly the bsize but the blkid shows only 4096 bytes. Please help ...
Le Minh's user avatar
0 votes
1 answer
378 views

Report quota of a XFS filesystem mounted with NFS

I have setup quota on an XFS filesystem and users can run this on that server to get their quota report: xfs_quota -c 'quota -hu user' /xfs_partition However I would like users to be able to retrieve ...
Gabriel Cretin's user avatar
0 votes
1 answer
291 views

Mysql filling up disk space, but storage not even on this disk

Have Mysql running on a server, with data, backups and logs each on their own disk. For 2nd time recently the root disk has filled up to 100% which gets cleared the moment that MySQL restarts. This ...
Mark Walker's user avatar
0 votes
1 answer
226 views

How to extend / partition by reducing /home partition in a live linux server?

We are running a CentOS Linux server to host websites. The website data are stored in /home partition and it is mounted separately. Here's it: [root@myserver ~]# df -h Filesystem Size ...
MinHeap's user avatar
0 votes
1 answer
172 views

Unable to query or rm file from an smb mount, but it appears using ls

Problem I have a file that cannot be removed or queried in, but it does appear using ls and does not allow overwriting it. # ls -l -rwxr-xr-x 1 root root 151040 Mar 22 21:55 export.mb -rwxr-xr-x 1 ...
ricekab's user avatar
  • 123
1 vote
1 answer
2k views

dmesg + many messages as error count since last fsck

we have kafka cluster with 3 VM machines. , when each kafka machines use the sdb disk ( VMDK disk ) in order to store the data on all machines we seen the following kernel messages [1123783.849575] ...
King David's user avatar
1 vote
0 answers
367 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 ...
Patrick Rauscher's user avatar
1 vote
1 answer
219 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 ...
Sven van den Boogaart's user avatar
0 votes
1 answer
543 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 ...
idkwut2du's user avatar
1 vote
0 answers
1k 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, ...
SimpleProgrammer's user avatar
1 vote
0 answers
351 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 ...
Kai Petzke's user avatar
0 votes
1 answer
513 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, ...
mathias barresi's user avatar
0 votes
1 answer
216 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 ...
Sergii Kudriavtsev's user avatar
1 vote
0 answers
115 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 ...
Leandro Loureiro's user avatar
0 votes
2 answers
2k 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-...
gmaggi's user avatar
  • 1
4 votes
0 answers
205 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....
Pacopenguin's user avatar
1 vote
1 answer
3k 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 ...
Lucky's user avatar
  • 113
-1 votes
3 answers
513 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 ...
Andrei Herford's user avatar
1 vote
0 answers
791 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 ...
carmik's user avatar
  • 173
2 votes
1 answer
385 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 ...
green's user avatar
  • 21
0 votes
0 answers
166 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! ...
Ani's user avatar
  • 62
1 vote
3 answers
742 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 ...
JKC's user avatar
  • 31
0 votes
1 answer
254 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 ...
no-preserve-root's user avatar
0 votes
0 answers
119 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" ...
ais's user avatar
  • 101

1
2 3 4 5
41