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.
343 questions
0
votes
1
answer
21
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 ...
0
votes
0
answers
31
views
Increase boot (xfs) partition
I need to increase the /dev/sda2 partition where the RHEL8 system mounts the boot partition, using the remaining space at the right, e.g. adding 1GiB to sda2
I tried booting with GPARTED (where the ...
0
votes
0
answers
52
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
0
votes
0
answers
59
views
XFS corruption, superblock overwritten by plain file data (Debian 11/Kernel 5.10)
I encountered my first XFS corruption recently. It happened on 2 distinct VMs which were identically deployed (on GCE infrastructure), once on VM 'A' and twice on VM 'B'. A third identical VM 'C' ...
2
votes
1
answer
89
views
xfs_repair exits with segfault in libc
Repair with xfs_repair of a backup volume has segfault problems.
A brief introduction to the system: There are 2 RAID6 Arrays, each of them identified as a ~160TB disk by the OS. 2 Arrays have a ...
0
votes
1
answer
84
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 ...
0
votes
1
answer
136
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 ...
0
votes
1
answer
183
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 ...
0
votes
0
answers
89
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
...
2
votes
2
answers
562
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, &...
0
votes
0
answers
71
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:
[...
5
votes
1
answer
2k
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 ...
4
votes
0
answers
212
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 ...
1
vote
0
answers
309
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 ...
0
votes
1
answer
714
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 ...
0
votes
1
answer
678
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/...
2
votes
2
answers
7k
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
...
0
votes
1
answer
164
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 ...
2
votes
2
answers
1k
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 ...
1
vote
0
answers
1k
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 ...
1
vote
2
answers
1k
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 ...
0
votes
1
answer
336
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 ...
0
votes
0
answers
847
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 ...
7
votes
2
answers
6k
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: ...
1
vote
0
answers
359
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, ...
1
vote
0
answers
539
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 ...
3
votes
1
answer
3k
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 ...
0
votes
1
answer
2k
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/...
3
votes
1
answer
18k
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 /...
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
...
0
votes
1
answer
301
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 ...
0
votes
1
answer
929
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 ...
1
vote
1
answer
1k
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 ...
0
votes
1
answer
1k
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.
...
1
vote
0
answers
683
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 ...
0
votes
2
answers
3k
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 ...
0
votes
3
answers
4k
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 ...
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 = ...
1
vote
2
answers
4k
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 ...
1
vote
0
answers
276
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 ...
1
vote
1
answer
414
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 ...
0
votes
1
answer
105
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 ...
1
vote
1
answer
587
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, ...
2
votes
2
answers
887
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/...
1
vote
0
answers
622
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 ...
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 ...
0
votes
1
answer
717
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 ...
3
votes
0
answers
3k
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 ...
2
votes
3
answers
2k
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 ...
0
votes
1
answer
515
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 ...