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.

learn more… | top users | synonyms

43
votes
12answers
35k views

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 ...
42
votes
1answer
11k views

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 ...
26
votes
3answers
13k views

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 ...
20
votes
2answers
3k views

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-...
19
votes
1answer
924 views

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 ...
16
votes
2answers
8k views

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 ...
15
votes
2answers
2k views

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 are: http://www....
14
votes
2answers
3k views

HP DL380p Gen8 (p420i controller) I/O oddity on XFS partitions

On DL380p gen8 servers using XFS on top of LVM on top of raid 1+0 with 6 disks, an identical workload results in a ten-fold increase in disk writes on RHEL 6 compared to RHEL 5, making applications ...
13
votes
1answer
1k views

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. ...
12
votes
2answers
1k views

Inode tables shrinking sharply over time causing rsync/inode problems

We setup a Linux (it's on Amazon AWS, a CentOS-like system although we are not exactly sure the customizations done on it) system with 4TB storage as an XFS volume over LVM (ultimately to be used for ...
10
votes
2answers
894 views

Adding 60TB Storage to an SLES 10 Server

I have to add some archive\staging storage to an SLES 10 Server. The requirement is to present fairly large volumes (9-20TB each approx, 60TB or so in total) that will be used to store archive data (...
10
votes
1answer
7k views

Easy to expand Linux software RAID 5 with XFS. Best practices?

I use my Ubuntu machine as a file server for Windows/Linux/Mac clients using a Samba share. I need it to be easily expandable by just adding more hard drives without having to move any data back and ...
9
votes
2answers
3k views

CentOS 6 doing lots more IO than CentOS 5

I'm benchmarking an application on two identical servers, one is Centos 5.8 and the other is Centos 6.2. My application is running much slower (50% or less) on the Centos 6.2 machine. In attempting ...
7
votes
2answers
2k views

Large RAID stripe size wastes space with small files?

I'm planning a Maildir storage with RAID 0+1(or RAID 10, RAID 5) on XFS filesystem and XFS will be created with stripe unit and width that RAID will use. I don't determine RAID stripe size yet, but ...
7
votes
1answer
15k views

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 ...
7
votes
3answers
8k views

How to corrupt a file system

I am going to be testing 'xfs_repair' on some large file systems ( around 50 TB ) as in the past the memory usage is high. While I could test the program only on file systems which were correct it ...
7
votes
4answers
4k views

Does putting the XFS log on an SSD significantly improve performance?

I have a five disk array running XFS in RAID5, and I would like to improve it's performance. I have seen some hints that putting the log onto a separate device can help, does putting the log onto an ...
7
votes
1answer
2k views

XFS: no space left on device, (but I have 850GB available!)

I'm using a combination of mdadm, lvm2, and XFS on Amazon EC2. So far, I've had success running a RAID 5 volume built from a number of EBS volumes. The EBS volumes are attached and used with mdadm to ...
6
votes
1answer
3k views

Mount XFS partition with < 4k block size

I have an XFS partition with a 64k blocksize. But I can only mount it in Ubuntu 10.10 when the blocksize is the default of 4k. How can I mount a partition with the larger blocksize? This works: ...
6
votes
2answers
4k views

It is XFS reliable? In case of a power gone off is xfs riskier that ext3 in data corruption/safey?

I have been having some electrical issues,mostly power going out suddenly for a few months,and although ups solve the thing mostly. But still i am worried about filesystem corruption,and data lost. ...
6
votes
1answer
13k views

Can't mount XFS partition anymore

I have 9 partitions formatted as XFS on my server. When I try to mount one of them, it fails. The others mount fine. root@fileserver2 # mount | grep xfs | head -1 /dev/sdb1 on /mnt/hdd1 type xfs (rw,...
6
votes
1answer
121 views

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 ...
6
votes
1answer
481 views

The impact of a high directory-to-file ratio on XFS

We're building a product that is likely to generate very large XFS volumes, and I'm trying to discover the scaling bottlenecks we're likely to run into given the architecture. As we manipulate files ...
6
votes
1answer
2k views

XFS Adding Quotas - Skip Quota check on first mount/boot

We run a 14TB XFS fileserver on our cluster and want to add quota support. This is running 3.9.2-1.el6.elrepo.x86_64 kernel under CentOS 6.3 (Final). The issue is when we unmount the XFS RAID, and re-...
5
votes
6answers
6k views

Monitoring XFS filesystem health in Linux

I recently experienced a filesystem meltdown. I had a server running for about 180 days non stop without any issues, but then I noticed weird stuff happen and apparently the ext3 filesystem was in ...
5
votes
2answers
2k views

Can XFS or GlusterFS replace my ZFS needs?

Right now I have a FreeBSD hosts with ZFS and NFSv4. It is replicated to another FreeBSD box for backup purposes. The ZFS features that are important to me are software RAID6 snapshots, or some ...
5
votes
3answers
2k views

OpenSolaris ZFS barebones for NAS

I've been tasked to suggest a NAS replacement for our aging fileserver at work, its currently running Linux with XFS (using LVM). We're a very small company of 5 folks, so we're using commodity ...
5
votes
1answer
11k views

How to format XFS parition if the stability is the most important thing

We want to use XFS to format some partitions in a server. High performance is of course our goal, but we prefer to stability firstly. For example, we want to recover the FS quickly if power failure ...
5
votes
2answers
6k views

How to Increase the Size of an XFS File System?

I just created an Amazon AWS EC2 instance running RHEL7: [root@ip-10-184-161-46 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 (Maipo) [root@ip-10-184-161-46 ~]# And even ...
5
votes
3answers
1k views

Where is my space on /var being used?

I'm a novice linux admin and now responsible for the OS of a 3 node Tomcat cluster. (Tomcat is handled by the DEVs luckily.) I got alarmed by our monitoring solution that /var on server01 has only ...
5
votes
2answers
2k views

Modify XFS filesystem creation parameters during kickstart installation

I'm streamlining the kickstart process for a series of EL6.2 (RHEL, CentOS, SL, etc.) systems. I'd prefer to use XFS over ext4 for the growth/data partition. However, I'd like some control over the ...
5
votes
2answers
671 views

xfs: find files on the first 1 TB

I have been hit by xfs' No space left on device. According to the FAQ: http://xfs.org/index.php/XFS_FAQ#Q:_Why_do_I_receive_No_space_left_on_device_after_xfs_growfs.3F The only way to fix this is ...
5
votes
2answers
2k views

RAID Read/Write Speed Gradually Slows

This is actually a server at home, but I felt it was sufficiently complicated as to not have it on SuperUser and could easily apply to a professional situation. I have a file server running Debian (...
5
votes
1answer
890 views

Optimization XFS on Linux guest in Hyper-V (VHDX)

In our company we're using Hyper-V (Windows Server 2012) hypervisor and VM to organize our in-company services in our data-center. I am supposed to set up Ubuntu 12.04 LTS guest for our main database (...
5
votes
1answer
252 views

upgrading ext3 fs on ubuntu 8.04

so we are stuck with this closed source system that keeps on adding folders to one directory, and it's going to hit the 32k limit soon because it's ext3. and that folder is expected to have +100k ...
4
votes
6answers
3k views

JFS or XFS or anything else?

After deciding to use LVM2 as volumemanager on our servers there was also the wish for an online resizeable filesystem. After reading a few articles I decided to use JFS in favour of XFS. Now today I ...
4
votes
3answers
15k views

changing filesystem format from xfs to ext4 without losing data

I have a fresh Lucid Lynx (Ubuntu 10.04) running on a laptop. where I defined the filesystems as: mount point / on ext4 (46 Gb) mount point /home on jfs (63 GB) swap as 3 Gb I left the machine ...
4
votes
1answer
130 views

rsync (and scp) failing with no space left on XFS device

I have a fresh install of CentOS 7 with a primary partition of 400GB formatted for XFS. Less than one GB is currently in use. I am trying to rsync 65GB of files over and the copy starts failing ...
4
votes
1answer
741 views

Disabling/Enabling Modules Parameter RHEL

I'm working with kernel module parameters, and I've found myself a bit confused. In particular, I'm attempting to enable posix ACL support for XFS file systems. This requires the XFS module to be ...
4
votes
0answers
51 views

Can Btrfs use SSD for metadata and leave bulk data on HDD?

is it possible for Btrfs to use SSD for metadata only & leave bulk data on less costly storage such as HDD? I refered to this page Using_Btrfs_with_Multiple_Devices and can not find a solution. ...
3
votes
3answers
2k views

Fastest way to chown a whole device (xfs)

I need to chown 1.5 million files on a drive. I'm currently doing: sudo chown -R www-data:www-data /root-of-device but it takes an awfully long time to run. I was wondering if there was some sort ...
3
votes
2answers
956 views

CEPH's raw space usage

I can't understand ceph raw space usage. I have 14 HDD (14 OSD's) on 7 servers , 3TB each HDD ~ 42 TB raw space in total. ceph -s osdmap e4055: 14 osds: 14 up, 14 in pgmap v8073416: ...
3
votes
4answers
5k views

Cannot install centos 6.4 with XFS

I would like install centos 6.4 and use XFS as filesystem for some partitions in my configuration. But Anaconda don't propose XFS in the filesystem choice. Then I try to install in text mode but in ...
3
votes
1answer
193 views

High load average, but low CPU/IO figures - how to diagnose? (dmesg output included)

We have a Hadoop cluster where arbitrary data nodes will lock up. This is usually pre-ceded by ever-increasing load averages, with CPU and IOwait remaining practically non-existant. The use case for ...
3
votes
2answers
6k views

Resize XFS on CentOS after expand Raid

I have a 16Tb partition on Raid 6 array using xfs file system. # df -hT Filesystem Type Size Used Avail Use% Mounted on /dev/sdc1 xfs 15T 7.4T 7.2T 51% /backup I reconstructed ...
3
votes
2answers
4k views

XFS: No space left on device

I am using XFS on small HDD (/dev/sdb1, less than 150G) and storing many small files (-32KB). df -h and -i show that it has available space. # df -hv Filesystem Size Used Avail Use% ...
3
votes
4answers
1k views

EBS+RAID10+XFS slower than EBS+RAID10+EXT3 using MySQL?

We're currently using EC2 with 16 EBS volumes in RAID10 configuration for our MySQL data. I know some people don't recommend to put EBS volumes to RAID but that's not what I'm concerned about at the ...
3
votes
2answers
297 views

Optimizing storage of 10-20 million files on RAID5 (currently using LVM+XFS)

Although I've browsed some of the questions here, I think every situation is different and maybe requires a totally different solution. What I have now: Linux software RAID5 on 4x4TB enterprise HDD ...
3
votes
1answer
133 views

Cant enable quotas on XFS file system

I'm trying to enable quotas on Centos 7 I ran yum install quota Edited fstab: /dev/mapper/centos-root / xfs defaults,usrquota,grpquota 0 0 UUID=6c443910-a7e9-4e97-...
3
votes
2answers
227 views

Acceptable I/O speeds for 6 x 250GB SSDs in RAID 10

I'm running CentOS 7 (XFS filesystem) on a dell server with a PERC H700 raid controller. Inside this server I have 6 x Samsung 850 Evo 250GB SSDs (yes they are consumer drives however, this is a home ...