As of May 31, 2023, we have updated our Code of Conduct.

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
1 vote
2 answers
62 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
9 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
41 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
0 votes
0 answers
51 views

How to repair an XFS volume in a RAID array

In a data server, we have a RAID array of 5 disks joined in an XFS filesystem. The dmesg output is: IPv6: ADDRCONF(NETDEV_CHANGE): enp134s0f0: link becomes ready XFS (sda2): Mounting V5 Filesystem XFS ...
user2309000's user avatar
1 vote
2 answers
63 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
290 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
0 votes
2 answers
146 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
  • 1
0 votes
1 answer
65 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
165 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
1 vote
0 answers
548 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
86 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
  • 361
1 vote
0 answers
145 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
898 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
  • 292
0 votes
0 answers
155 views

Restore docker btrfs subvolumes from another drive

I use OpenSUSE Tumbleweed with btrfs as root fs. I decided to free up space on root and move docker root directory to my home (XFS filesystem). Problem was, after moving and made symbolic link to /var/...
nintyfan's user avatar
  • 101
0 votes
1 answer
851 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
2 votes
1 answer
7k 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
  • 121
15 votes
2 answers
2k 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
144 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
482 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
  • 417
1 vote
1 answer
462 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
  • 417
0 votes
1 answer
520 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
406 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
1k 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
2k 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
2k 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
0 votes
2 answers
2k 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
  • 123
1 vote
0 answers
209 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
226 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
51 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
  • 13
1 vote
1 answer
327 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
  • 245
2 votes
2 answers
568 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
  • 245
1 vote
0 answers
371 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
3k 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
  • 417
0 votes
1 answer
492 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
1k 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
217 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
2k 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
  • 389
2 votes
0 answers
87 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
271 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
92 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
341 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
0 votes
1 answer
111 views

Expand XFS encrypted block device with no LVM

I need to expand my LUKS encrypted XFS volume but I'm not sure where to start as this is about a non-LVM device, its a simple block storage from a cloud provider that I extended from 150GB to 200GB ......
V O's user avatar
  • 101
5 votes
4 answers
5k views

How to change the file system of a partition in a RAID 1?

First, sorry if the question has already been asked and correctly answered, I did not find anything that satisfies me. I rent a dedicated machine in a datacenter, the machine run with a Debian 10 and ...
Taine's user avatar
  • 51
3 votes
1 answer
282 views

Move xfs journal from internal to external without losing data

I have a big XFS filesystem containing about 3TB of data. This runs on some network device at our virtual server provider. We created it with the default settings, thus using an internal journal. ...
Jelmer Jellema's user avatar
0 votes
0 answers
71 views

XFS inodes not neessarily unique?

(Debian 10.5, kernel 4.19.132-1 ) My understanding is that inodes are unique on a given filesystem, and indeed if we look at man inode we get the following assertion: Each file in a filesystem has ...
Little Code's user avatar
1 vote
1 answer
3k views

How to cleanly kill a stuck docker service?

Working with a Centos7 with 3.10 kernel, docker 19.03.12. Eventually, one of the docker images got full and wrote the entire /var/ mount to 100%, crashing both the docker service and the running ...
runr's user avatar
  • 133
0 votes
0 answers
222 views

RHEL + OS with XFS file system while adding additional partition with diff definition

We have the following disk - sda ( in server production - very important server ) sda is the disk of the OS ( rhel 7.2 ) , and file system is xfs sda is physical disk Xfs created with - mkfs.xfs -f -...
King David's user avatar
-1 votes
2 answers
287 views

Docker installation on RHEL 7.2 and file system requirement

We have old RHEL machine version 7.2 And we prepare to install docker service on this server The problem is that server's filesystem was created with ftype=0 parametre and docker requires ftype=1 One ...
King David's user avatar
3 votes
1 answer
1k views

Confirming parameters for XFS filesystem and LVM volume striping over 2 ADAPT (RAID6-like) volumes

We are setting up an ADAPT0 (RAID-60-like) configuration for a file server. We have six disk pools. Each consists of 14 disks and is set up using ADAPT. According to Dell's official white paper, ADAPT ...
Nicolas De Jay's user avatar

1
2 3 4 5
7