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.

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.

320 questions
73
votes
12 answers

ZFS vs XFS

We're considering building a ~16TB storage server. At the moment, we're considering both ZFS and XFS as filesystem. What are the advantages, disadvantages? What do we have to look for? Is there a third, better option?
Tamas Czinege
  • 833
  • 1
  • 9
  • 6
65
votes
1 answer

Why are my XFS filesystems suddenly consuming more space and full of sparse files?

I've run XFS filesystems as data/growth partitions for nearly 10 years across various Linux servers. I've noticed a strange phenomenon with recent CentOS/RHEL servers running version 6.2+. Stable filesystem usage became highly variable following…
ewwhite
  • 194,921
  • 91
  • 434
  • 799
42
votes
5 answers

How to shrink /home and add more space on CentOS7

CentOS 7 file system is XFS, And resize2fs doesn't work. I need to shrink /home to 400G and add 100G space to /. What should I do? # df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/centos-root 50G 50G 341M 100%…
GoingMyWay
  • 545
  • 2
  • 6
  • 10
42
votes
5 answers

Ext4 vs. XFS vs. Btrfs vs. ZFS for NAS

My use case: I have Ubuntu Server 18.04 installed on an M.2 SSD. I have a 4TB HDD I want to add as storage. Since it's mostly for large media files and backups, it won't be written to very often. Which filesystem do you think is best suited for this…
Alex Shaw
  • 529
  • 1
  • 4
  • 4
30
votes
3 answers

The XFS filesystem is broken in RHEL/CentOS 6.x - What can I do about it?

Recent versions of RHEL/CentOS (EL6) brought some interesting changes to the XFS filesystem I've depended on heavily for over a decade. I spent part of last summer chasing down an XFS sparse file situation resulting from a poorly-documented kernel…
ewwhite
  • 194,921
  • 91
  • 434
  • 799
26
votes
2 answers

Proper way to deal with corrupt XFS filesystems

I recently had an XFS filesystem become corrupt due to a powerfail. (CentOS 7 system). The system wouldn't boot properly. I booted from a rescue cd and tried xfs_repair, it told me to mount the partition to deal with the log. I mounted the…
Michael Kohne
  • 2,284
  • 1
  • 16
  • 29
24
votes
1 answer

Unable to create files on large XFS filesystem

We have a Linux server with a 4 TB filesystem, which is used to store subversion repositories. There are many repositories, several of which have been in use for several years. The disk was originally about 1 TB, but we started running out of space…
Jenny D
  • 27,358
  • 21
  • 74
  • 110
22
votes
2 answers

Newly created XFS filesystem shows 78 GB used

We have a 12 TB RAID 6 array which is supposed to be set up as a single partition with an XFS file system. On creating the new file system, it says it has 78 GB in use, but there are no files on the drive. [root@i00a ~]# df -h Filesystem Size …
yakatz
  • 1,213
  • 3
  • 12
  • 33
21
votes
2 answers

Very strange file size (more than 600 PB) on a small filesystem

I had a file on an XFS filesystem which size was about 200 GB. It was a QCOW2 image containing a virtual disk of a KVM-driven virtual machine. Something went wrong (maybe it was some glitch of qemu-kvm, I'm not sure), the virtual machine had crashed…
Volodymyr Melnyk
  • 537
  • 5
  • 18
18
votes
2 answers

Cause of page fragmentation on "large" server with xfs, 20 disks and Ceph

Any insight from someone with a bit of experience in the linux IO system would be helpful. Here is my story: Recently brought up a cluster of six Dell PowerEdge rx720xds to serve files via Ceph. These machines have 24 cores over two sockets with two…
pingu
  • 181
  • 1
  • 6
17
votes
2 answers

Is GPT needed on a 16 TB data disk?

I have made /dev/sdb which is a 16 TB disk using hardware RAID, where I am temped to put XFS directly on /dev/sdb without making partitions. In the future will I need to expand this to double the size. The hardware is an HP ProLiant DL380 Gen 9 with…
Jasmine Lognnes
  • 2,490
  • 8
  • 31
  • 51
16
votes
2 answers

Production-ready, highly reliable filesystems on Linux: ext4 ext3 XFS or JFS (or ZFS)?

The last real question I've seen on this topic is from about two years ago (is ext4 ready for production usage). In the intervening time, how has ext4 improved? XFS, JFS, and ext3 are the standby reliable choices. I've only used ext4 on recent…
warren
  • 17,829
  • 23
  • 82
  • 134
15
votes
1 answer

How can you shrink an XFS filesystem?

I have an xfs filesystem that has some free space. Can I shrink it? I know of xfs_growfs. And there is resize2fs and resize_reiserfs. Side question: is xfs not a good filesystem choice for bulk longterm file storage?
Paul Tarjan
  • 559
  • 3
  • 8
  • 17
15
votes
2 answers

Verify A Partition is Aligned in Linux With RAID and LVM

Does anyone know the steps to verify that a XFS filesystem on top of LVM and md RAID is properly aligned on an array of 4096 Byte aka "Advanced Format" sectored disks? Some references…
Kyle Brandt
  • 82,107
  • 71
  • 302
  • 444
15
votes
2 answers

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 mount:/dev/md125: can't read superblock If I run…
Bob
  • 151
  • 5
1
2 3
21 22