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

34
votes
12answers
23k 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 ...
29
votes
1answer
6k 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 ...
25
votes
3answers
9k 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 ...
16
votes
2answers
7k 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: ...
14
votes
2answers
2k 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 ...
12
votes
2answers
836 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 ...
11
votes
1answer
273 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. ...
10
votes
2answers
818 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
6k 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 ...
8
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
3answers
6k 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
3k 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
1k 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
283 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
988 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 ...
5
votes
6answers
4k 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
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
7k 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 ...
5
votes
2answers
3k 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. ...
5
votes
1answer
2k 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: ...
5
votes
3answers
716 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
1k 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
1k 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
226 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
2answers
946 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 ...
4
votes
1answer
5k 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 ...
4
votes
2answers
746 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 ...
4
votes
2answers
456 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 ...
4
votes
1answer
358 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 ...
4
votes
1answer
488 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 ...
3
votes
3answers
1k 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
2k 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
4answers
3k 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
39 views

What is the default journal commit interval of XFS?

Ext3 and Ext4 have a default journal commit interval of 5 seconds, which can be changed with the 'commit' mount option. I can verify that my VirtualBox host indeed flashes its disk icon after 5 ...
3
votes
1answer
4k 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 ...
3
votes
4answers
722 views

How can I reduce inode utilization on an ext4 filesystem?

Summary of My Need We put a large amount of files on a filesystem for analysis at a later time. We can't control how many files we're going to have, and this one box needs access to all of them. ...
3
votes
2answers
1k views

Error growing XFS volume with xfs_growfs

I added another 8TB to my 20TB array and tried to expand it with xfs_growfs, no joy and no idea why it is failing. Much googleing has provided some answers but nothing that has worked. I am at my ...
3
votes
1answer
879 views

XFS Check/Repair Fails

I have a mysql database server on an EC2 instance with 3 drives in a Raid 0 array. This morning the server crashed and after inspecting the logs, I noticed a Structure Needs Cleaning error(i.e. System ...
3
votes
1answer
171 views

Uneven utilization of disks in xfs-formatted logical volume

We have a backup server with 66TB of available space, set up like so: 12 6TB RAID10 arrays -> 12 PVs -> 1 VG -> 1 LV -> xfs This filesystem is used exclusively for backups (through BackupPC). It ...
3
votes
1answer
1k views

XFS I/O Error accessing Logical Block 0 of an LVM snapshot: is the drive or snapshot bad?

I have OpenSuSE 11.3 running as a Xen host on a machine with 8x296GB Cheetah 15k.6 SAS disks, 4 of which are mirrored, the other 4 striped. I'm using LVM to manage the disks and they are formatted ...
2
votes
7answers
1k views

Filesystem for an external drive that'll only connect to Linux

I just bought a new 500GB external harddrive. Most of the time I only store operating system ISO's on those things and some movies. Large files anyway, well over 4GiB sometimes, so FAT is out of the ...
2
votes
3answers
1k views

Raid-5 Performance per spindle scaling

So I am stuck in a corner, I have a storage project that is limited to 24 spindles, and requires heavy random Write (the corresponding read side is purely sequential). Needs every bit of space on my ...
2
votes
3answers
7k 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 ...
2
votes
3answers
2k views

Ubuntu 9.10 cron script 'ec2-consistent-snapshot' unable to execute and access files

I have a Ubuntu 9.10 image running on Amazon EC2 and I've setup a backup script ec2-consisten-snapshot. I'm able to run the script from SSH, and everything works peachy. sudo ec2-consistent-snapshot ...
2
votes
1answer
222 views

get mkfs.xfs options from existing xfs filesystem

I set up a new server last week, did some testing with different mkfs.xfs options on mdadm raid5, i finally found some statisfying mkfs options. Now i am about to set up a new server having exactly ...
2
votes
4answers
1k views

Store and backup 200 million small files

My disk are 10x1TB SAS 7200 RPM in a RAID 10 with a MegaRaid 9260 hardware controller with cache/BBU. This results in a 4.6TB RAID 10 volume. hdparm -t (when device is empty) results in 500MB/s. RAID ...
2
votes
1answer
1k views

Corrupted XFS and no way to xfs_repair

One of my hosted server has some XFS problems. after the last crash, some of my RRD folders got corrupted. example (sorry, it's in french): # rm * rm: impossible de supprimer « create_rrd.sh »: La ...