Questions tagged [xfs]

XFS is a file system originally for SGI's IRIX OS, but is now available for Linux. It is known for handling large files and large file systems well, one of the few Linux file systems that can handle partitions over 16.8TB.

Filter by
Sorted by
Tagged with
0 votes
0 answers
31 views

What causes SSD write timeout over 120 seconds?

system:CentOS Linux release 7.6.1810 (Core) kernel:Linux l-db11.tj.cn5 3.10.0-957.10.1.el7.x86_64 #1 SMP Mon Mar 18 15:06:45 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux SSD:Dera cpu: 24 core memory: 128G ...
xianSheng Qian's user avatar
2 votes
2 answers
107 views

XFS / ZFS - Unable to mount filesystem - I/O Error

We have a server with Ubuntu 20.04.6 LTS. It is the secondary storage for our backup, with 12x8TB HDDs in a RAIDZ3, with an XFS filesystem on top. A couple of days ago, one drive failed. I thought, &...
Sabsoun's user avatar
  • 41
0 votes
0 answers
19 views

Disk has been detached but dmesg throws xfs_log_force errors

I just replaced a bad Ceph OSD disk, everything went good except this one. The previous bad disk was /dev/sdh, it has been replaced with /dev/sdan. But when I tails dmesg, I got constant XFS erros: [...
Annahri's user avatar
  • 135
3 votes
1 answer
1k views

Why does the official docker image for mongo not use XFS, and then warn about not using it?

According to the official docs, MongoDB with WiredTiger is supposed to be run on Linux with the XFS filesystem. Yet, the official docker image for mongo uses ext4, which means that we get a warning ...
Magnus's user avatar
  • 165
4 votes
0 answers
158 views

Write speed to NVME disk degrade after some time of active work

I have a fairly general question, but maybe someone already had similar behavior. I have few servers with 20 nvme micron 7450 pro 15 TB disks on each. On all servers I created raid 0 using mdadm ...
igor_shk's user avatar
1 vote
0 answers
178 views

Files with apparent 86TB file size, how to shrink them?

After extracting a zip, I have 8.6P in apparent size but only 728M on disk used. I did some checks and hdparm --fibmap shows that all the files have a huge byte_offset: 94331430207488. I tried to use ...
Nassiel's user avatar
  • 11
0 votes
1 answer
348 views

Why would mounting / unmounting an XFS filesystem make it bootable again?

I’ve got some EC2 instances running Amazon Linux 2 and 2023 which use XFS as their root volume. Occasionally, after several reboots, the instance refuses to boot and gives a kernel panic, because it ...
Corey Larson's user avatar
0 votes
0 answers
176 views

Update default XFS quotas to all existing users?

How can I update existing default user quotas on XFS if I already have a default value defined? For example: I have a home directory with existing user quota defined and now I've upgraded it with the ...
Vinícius Ferrão's user avatar
0 votes
1 answer
341 views

Postfix warning: not enough free space in mail queue

I have already checked the solutions at this post, but I can't find the reason. This is my situation: Running postfix inside a docker container (docker swarm). Docker container has no quota. /var/...
lepe's user avatar
  • 469
0 votes
0 answers
170 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 ...
cw w's user avatar
  • 1
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 ...
michal roesler's user avatar
0 votes
0 answers
19 views

Cwd of a process started from hard link path

I have an app which is starting by path which contains a folder which is hard link. If I look for process current working directory it is same as source of a hard link. The main problem is that app ...
Ruslan F.'s user avatar
  • 101
0 votes
1 answer
101 views

dd: failed to open ‘/disk1/boot1.img’: Structure needs cleaning

Executing this Command : dd if=/dev/sda1 of=/disk1/boot1.img I got this Error : dd: failed to open ‘/disk1/boot1.img’: Structure needs cleaning I tried that Command on my centos machine and got that ...
achhainsan's user avatar
1 vote
2 answers
589 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 ...
LCaraway's user avatar
  • 113
0 votes
0 answers
900 views

xfs corruption metadata after reboot

I had a problem on a RAID1 with 4 disks. We replaced the faulty disk and restarted the server, the rebuild was done, two linux centos 7 machines did not come up accusing error of xfs corruption. Other ...
Christovam's user avatar
1 vote
2 answers
929 views

xfs_repair -L sent all data to lost+found directory with code names

After a RAID recovery, my xfs partition of 20 TB did not mount and I tried to repair it with xfs_repair and subsequently xfs_repair -L option. Now the partition could be mounted and all the folders ...
Sanjit's user avatar
  • 11
0 votes
1 answer
189 views

Audit Log Partition keeps getting corrupted. How to prevent or boot anyway?

I am running RHEL7, and my audit log partition randomly (not often, but often enough to annoy me) gets corrupted, preventing me from booting. How can I either prevent the partition from being ...
dberm22's user avatar
  • 61
0 votes
0 answers
601 views

Virtual machine startup error, file system corruption how to, reboot

My virtual machine had a power failure and forced shutdown, when I restarted it, it entered rescue mode and reported the following error, I want to know how I should start it, there is some ...
山河以无恙's user avatar
6 votes
2 answers
3k views

xfs: difference between block size and sector size

mkfs.xfs has two following options among others: -b block_size_options This option specifies the fundamental block size of the filesystem. The valid block_size_options are: ...
LetMeSOThat4U's user avatar
1 vote
0 answers
189 views

How do you Defrag an XFS file system

My old workstation, has /var /usr and /home mounted on an xfs file system, and it seems to spend most of its time grinding away, and getting slower and slower, much like windows used to 20 years ago, ...
sibaz's user avatar
  • 371
1 vote
0 answers
353 views

Running xfs_repair on hardware raid while still rebuilding?

Should I allow a hardware raid5 array rebuild to complete after swapping out a drive PRIOR to running an xfs_repair on the volume? Currently xfs_repair keeps failing in Phase 7 at the same spot: Phase ...
Jebediah Pennywhistle's user avatar
3 votes
1 answer
2k views

fstrim is very slow on xfs and always return same value unlike ext4

I just noticed if I do time fstrim /<some ext4>; time fstrim /<some ext4> the 2nd call usually print 0 bytes trimmed and finished immediately. However if I do same thing on XFS, 2 of the ...
Wang's user avatar
  • 322
0 votes
1 answer
1k views

Red Hat 7 XFS partition could not be mounted (can't read superblock)

I have a problem with several mounts. Can't read superbock is the error as reported below as example. I tried xfs_repair with/without -L but still got issue. Could someone advice? # mount /dev/lvm02/...
Lucas Rey's user avatar
  • 101
3 votes
1 answer
14k views

How to recover XFS file system which xfs_repair not work because of busy?

I got problem in disk of my database which is xfs file system. I tried to repair [root@scan /]# xfs_repair /dev/md127 xfs_repair: cannot open /dev/md127: Device or resource busy [root@scan /]# ls /...
Melih's user avatar
  • 131
15 votes
2 answers
3k views

Unable to mount an XFS filesystem from Linux RAID6 array ("Log inconsistent")

First time poster - my apologies if I don't get the etiquette correct. I have a ~200TB RAID6 array with 30 disks and I'm unable to mount it - I just get the message: mount /dev/md125 /export/models ...
Bob's user avatar
  • 151
0 votes
1 answer
244 views

inodes & read only bind mount

I'm using xfs filesystem, speaking about inodes topic have a question: does RO bind mount points consumes inodes? The information is the same, strictly speaking; because the binds mounts point to a ...
Julio C. Pompa Puente's user avatar
0 votes
1 answer
725 views

Very big device in Centos

I have older VM (Centos7) where I have many disks. Now it is 36 vmdk (22TB). I wanted extend one virtual disk to 2400GB and create new partition for LVM (3th on disk). But after I create partion I see ...
Pavel's user avatar
  • 427
1 vote
1 answer
906 views

Is possible to change metadata of XFS system to another disk (such SSD)

I've a system in VPS with a big XFS. Now I have the possibility to add an SSD device to that VPS. Is it possible to change the meta-data destination from partition formatted as SSD to SSD partition to ...
abkrim's user avatar
  • 416
0 votes
1 answer
931 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. ...
synkyo's user avatar
  • 101
1 vote
0 answers
575 views

NFS mounted XFS file systems not visible using xfs_quota

With CentOS7, I made the leap to XFS (from ext4) and since then I have been unable to query quotas on NFS Clients via the quota or xfs_quota commands. The xfs_quota command also does not report any ...
Will's user avatar
  • 11
0 votes
2 answers
2k views

Increase memory usage on NFS Server

I'm producing data (100GB files) that are finally copied to a server through NFS v4.2, on a 10Gb network. These files are stored on many HDDs, with XFS formatting (one copy per target drive). When the ...
Ealrann's user avatar
  • 135
0 votes
3 answers
3k views

Cannot resize XFS partition after volume increase

I have increased the size of my volume from 8GB to 16GB. After resizing the volume, I would like to expand the partition to take on the additional space. However, this operation is failing with data ...
bkr879's user avatar
  • 125
0 votes
1 answer
3k views

How do I maximize nvme raid0(md) performance (in linux)?

Nvme raid0 read(and write) performance is sometimes worse than the performance of one individual underlying drive. hdparm -t /dev/md0 : Timing buffered disk reads: 7054 MB in 3.00 seconds = ...
Horatiu's user avatar
  • 41
1 vote
2 answers
3k views

xfs superblock corrupted after power cut

Like others before me the superbock on my xfs drive has become corrupted. I've tried xfs_repair and xfs_repair -L to restore the drive but both report back the same result: Phase 1 - find and verify ...
Ben's user avatar
  • 133
1 vote
0 answers
254 views

High avgqu-sz & utilisation on madadm RAID 0 in AWS EC2 I3.8x large instance

I have an AWS EC2 i3.8xlarge with 4x1.9TB ephemeral storage volumes tied in mdadm RAID-0 (Yes, RAID 0) with XFS file system mounted using noatime and inode64 options. I am running an IO intensive ...
SVH's user avatar
  • 11
1 vote
1 answer
360 views

Issue with removing LV disk space that was extended from another disk

I have a redhat server with two disks 100gb and 500gb. The 500GB disk was unused, however I then used it to extend the /var LV. The filesystem on all mountpoints are xfs and you actually can't reduce ...
Alex's user avatar
  • 11
0 votes
1 answer
85 views

Ways to make a backup on RAID5 filesystem (mdadm) with many files

I have a NAS containing RAID5 array (5.4TB in total, 2.9TB in use) using mdadm. Now I plan to modify some hardware of it (especially SATA controller), so I'd like to have a whole backup of this RAID5 ...
NON's user avatar
  • 23
1 vote
1 answer
498 views

`fio` does not timeout even specified?

# fio --name=random-write --directory=/mnt/test/ --ioengine=posixaio --rw=randwrite -bs=4k --numjobs=1 --size=4g -iodepth=1 -runtime=600 --time_based --end_fsync=1 random-write: (g=0): rw=randwrite, ...
HCSF's user avatar
  • 255
2 votes
2 answers
751 views

Failed to Partition a 10TB HD?

Before I tried to partition a 10TB HDD again, parted saw it: # parted /dev/sdb (parted) print list Model: ATA ST10000NM0016-1T (scsi) Disk /dev/...
HCSF's user avatar
  • 255
1 vote
0 answers
531 views

Convert ext4/xfs file system to btrfs with minimal application impact

I'm trying to find a way to convert the file system of app servers (some of which run ext4 and some xfs) to btrfs. Preferably, I'd like to do this without needing to turn off the services. So far I've ...
numX412's user avatar
  • 11
1 vote
1 answer
4k views

I can't mount with mount -a for error wrong fs type, bad option, bad superblock but I can mount manually

I usually use UUID to mount my devices, because I use a lot of external ones and so I control it better. But when I want to mount partitions formatted with XFS I have problems Generally this works for ...
abkrim's user avatar
  • 416
0 votes
1 answer
625 views

Does LXC support XFS filesystem?

I am working on my local system and I want to run both docker and LXC containers. Docker provides storage options that only works with XFS to limit the storage volume inside containers. But that ...
user3271961's user avatar
3 votes
0 answers
2k views

xfs: can't read superblock

I get the following error: [root@mediaserv ~]# mount /dev/mapper/media1 /media mount: /media: can't read superblock on /dev/mapper/media1. This is Fedora 33. I have a RAID5 of 8x 8TB WD Red drives ...
Michael Wilkinson's user avatar
2 votes
3 answers
1k views

How to force re-read XFS file system contents

In our computing cluster we have set up a simple but quite effective way of serving data to computing nodes. The storage system provides to luns that are merged with LVS and on top of that we build a ...
GoNiS's user avatar
  • 23
0 votes
1 answer
427 views

No partition table required?

I was surprised to find two of my environments had different setups. One has a DOS partition style, while the other does not appear to have any kind of table defined whatsoever. I'm sort of familiar ...
Marco Shaw's user avatar
0 votes
1 answer
3k views

between ex4 and XFS which is better for large small files [closed]

Between EXT4 and XFS which file system is better when an application uses multiple threads to read/write large amount of small files on a SSD. From what I read In general, Ext3 or Ext4 is better if ...
kumar's user avatar
  • 349
2 votes
0 answers
99 views

df differs from du a lot, nfsd service seems matter

I know there have been a lot of discussion on the df/du discrepancy topic. But here I’d post a special issue and ask for some hints. here is the detail( with a hardware raid5 with 6 sas disks) system ...
Guangyu wu's user avatar
2 votes
2 answers
358 views

AWS XFS performance issues. Stripped setup vs single disk setup

I wanted to share an issue (I guess I may be misunderstanding some concepts) that I'm facing with some benchmarks I'm doing to XFS setups, as we are going to recently migrate a service to a new ...
David Barranco's user avatar
1 vote
0 answers
158 views

XFS only using first allocation group despite inode64 mount option

Background: we've been seeing incredibly slow performance allocating files, on a system that creates many small files on a 25T disk. We found from http://xfs.9218.n7.nabble.com/1B-files-slow-file-...
Dan Kinder's user avatar
0 votes
1 answer
402 views

Cannot mount XFS volume on Hetzner vps

After a volume a resizing i cannot mount an attached volume on Hetzner cloud vps root@MONITOR-BACKUP /mnt # mount -o discard,defaults /dev/disk/by-id/scsi-0HC_Volume_1552045 /mnt/BACKUP-STORAGE mount: ...
Augusto Murri's user avatar

1
2 3 4 5
7