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 ...
2
votes
1answer
21 views

Unable to resize logical volume

I'm showing a difference in available space in lvdisplay vs df -h [user@box]~ lvdisplay --- Logical volume --- LV Path /dev/rhel_data/www LV Name www VG Name ...
5
votes
1answer
41 views

xfs on lvm on hardware RAID: correct parameters?

I have 10 disks with 8 TB each in a hardware RAID6 (thus, 8 data disks + 2 parity). Following the answer of a very similar question, I hoped for an automatic detection of all necessary parameters. ...
0
votes
0answers
24 views

Enabling quota on xfs partitions

OS: Ubuntu 16.04 I have installed the quota commandline tool from apt and found some instructions to enable quota on the root partition by appending rootflags=uquota,gquota to GRUB_CMDLINE_LINUX ...
2
votes
0answers
40 views

old tape backup using xfsrestore

I have some old tapes that were backups to servers from an old irix machine. I need to get the data off of them and I know they were written to the tapes via 'xfsdump'. I'm running ubuntu 14.04 server....
0
votes
0answers
27 views

SOLVED mount(2): Stale file handle NFS after update server to Debian 8

I've several server that mounting NFS on remote backups server Everything worked until I did an update on the NFS server to Debian Jessie. Now some machines work and others not work. Try several ...
0
votes
2answers
718 views

Does XFS support default quotas?

We need to set a default quota for all users. From what I can see from man 8 xfs_quota, you can only set quotas for individual users. I need to set a quota that applies to everyone without having to ...
2
votes
1answer
27 views

RAID geometry parameters for XFS on top of LVM

I need to set up an XFS filesystem on top of LVM on top of a hardware RAID-6 (10x 6TB + 2 parity) and I found the guideline on http://xfs.org/index.php/XFS_FAQ ("How to calculate the correct sunit,...
2
votes
1answer
193 views

Want to understand XFS strangeness

have a XFS partition that I find to act very strangely. It mounts fine under a system but won't mount under others --of which my main system. As I'm new at XFS, I'd love to hear from users more ...
1
vote
1answer
22 views

Dir size increases after rsyncing to a different machine with same configuration

Have a MySQL (percona, 14.14 Distrib 5.6.28-76.1) machine with a 1TB SSD hosting around 712Gb of mysql data. MySQL has 4 databases, with, say database1, taking major space, 656Gb. Lets call this ...
6
votes
1answer
203 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 ...
3
votes
2answers
309 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 ...
0
votes
2answers
34 views

blockdev report different blocksize if mounted

I have a proliant running Red Hat 7, with two data disk with raid 1 (hardware raid). I created the file sytem using this command: mkfs.xfs /dev/sdb Default block size for xfs is 4096. So ...
0
votes
1answer
52 views

Moving disk space from /home to / on RHEL7.2 with xfs file system

I've setup RHEL7 with default partitioning, and they partitioned it as following: /dev/mapper/rhel-home 100GB /home /dev/mapper/rhel-root 50GB / Both are on xfs filesystem. How can i shift most of ...
2
votes
1answer
336 views

How to investigate high CPU for dmeventd (lvm2 / xfs)

I have three CentOS 7.2.1511 Servers that started showing dmeventd at the top of the cpu utilization (single core). They are running docker and apache mesos. Even when I shutdown docker and mesos ...
0
votes
3answers
1k views

How many subdirectories does the XFS filesystem support within a given directory?

EXT3 supports 32,000 subdirectories. EXT4 supports 64,000... I've read about people having millions of subdirectories on the XFS filesystem, but can't find an exact value referenced anywhere. How ...
1
vote
3answers
93 views

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 /...
4
votes
0answers
59 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. ...
1
vote
0answers
27 views

Create xfs system with mfks

I'am following a guide to install Zenoss which asks me to create a xfs system. To do this I need to run the following command: mkfs -t xfs Partition The guide says as follows: 'Replace Partition ...
1
vote
0answers
89 views

XFS On VMware VM Fails With Bad Magic Number

I have almost exactly the same problem as described here. I am on RHEL7. 3.10.0-229.4.2.el7.x86_6 Inside vmware VM. file -s /dev/sdb /dev/sdb: LVM2 PV (Linux Logical Volume Manager), UUID: 89o2LY-...
2
votes
1answer
57 views

Run out of space when copying between similar XFS systems [duplicate]

I have a 4Tb disk with 1 xfs partition (sda1). I wanted to copy almost all the data there (2,8Tb from the 3,6Tb used) into a new disk (sdc1). First I have prepared sdc in the same way sda: parted -l ...
0
votes
0answers
54 views

unable to mount XFS after rescue

I am facing strange problem with XFS file system. Below is the exact scenario: I'd a corrupt 2 TB disk with XFS (I/O error), so that decide to rescue data from old disk to new disk. I'd run ddrescue ...
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-...
3
votes
1answer
204 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
1answer
160 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-...
0
votes
1answer
56 views

raid0 (soft-RAID using Linux md drivers) hosting XFS: how to repair after replacing bad disk?

So the latest configuration of our Nova compute nodes are using raw /dev/sdX devices (no labels nor partitions) as components for an md0 (raid0) array on which they're hosting an XFS filesystem. When ...
0
votes
0answers
74 views

Cant change user quota on xfs partition

I cant change user quota even command exit status is 0. Used: xfs_quota -x -c 'limit bsoft=1024m bhard=2048m 56a4d3057ec81767ebe0415b' / Also used webmin interface to update user quota but on ...
-1
votes
1answer
121 views

Cannot mount XFS partition

I have a XFS partition in one of my HDD partitions. Here's my disks: aksesfarma@elementary-PC:~$ sudo blkid -o list device fs_type label mount point UUID ---------------------------------------...
3
votes
2answers
257 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 ...
0
votes
0answers
90 views

Troubleshooting with kernel call trace and underlying root cause with XFS

How to determine the root underlying cause of an error when looking through a Linux kernel call trace, and in which order should I read the call trace? From my understanding, the call trace should ...
4
votes
1answer
132 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 ...
0
votes
2answers
585 views

Correct procedure for mounting xfs filesystem to use quotas

I am using a Hetzner box on which I have configured my partitions to use LVM, and have set /home as a xfs filesystem. I use Webmin to administer the box which is running Debian 7.6, and have the ...
2
votes
1answer
125 views

What does sunit=0 and swidth=0 mean for XFS file system?

I created an XFS file system using default parameters at the time of creation of a system. Now looking at the output of xfs_info, it show 0 for the values of sunit and swidth. I can't seem to find ...
1
vote
1answer
789 views

Weird used/free space view of network drives with Samba and XFS

I'm using XFS project quotas to offer some private and limited disk space to my users, running Windows. It works pretty well, as the users can't exceed the quota like expected. However, the Samba's ...
1
vote
3answers
215 views

Rsync size is difference from source to destination

I'm using rsync with the options -r for recursive -l copy symlinks as symlinks -t preserve modification time -D preserve devices and specials -v verbose --prune-empty-dirs The source FS is ext4 and ...
0
votes
1answer
22 views

xfsretsore from a zipped image to a unmouted partition

I have a zipped image which I am restoring to a unmounted partition: gunzip -c /mnt/sda3/backup.gz | xfsrestore - /dev/sda7 I get a error: xfsrestore: ERROR: specified destination /dev/sda7 is not ...
0
votes
2answers
2k views

Cannot mount XFS - bad superblock

Please bare in mind I am very noob and have not much idea what I am doing. We have a Dell PowerEdge 420 with a 716iS iSCSI raid. The network connect dropped in the middle of disk usage and we are no ...
2
votes
1answer
4k views

How can I check whether 64-bit inodes are used in an existing XFS filesystem?

Some of my users have had trouble with software (on Scientific Linux) that cannot list directory contents when accessing an XFS filesystem mounted with the "inode64" option. So I have copied the data ...
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 ...
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 ...
1
vote
1answer
125 views

Disk cache impaction on linux df result

I am having a problem in which casing the df results unreliable. I'm using the xfs files system on sles 11 sp3. Basically there is a big difference (a few GBs) between the free size before and after I ...
0
votes
0answers
33 views

After xfs repair, only files from root user are accessible

After a power failure during server installation of CentOS, the external storage system that contains user data could not be mounted due to failed superblocks. I performed an xfs_repair on the system,...
1
vote
1answer
602 views

XFS Project Quotas on Debian Squeeze

I'm trying to set up project quotas with XFS on a debian box and run in some problems when defining the quotas i get back an error cannot set limits: function not implemented Am i missing something? ...
1
vote
0answers
171 views

XFS/EXT4: Why is actual file size on disk larger than apparent size? Clarification

On a CentOS 7.1.1503 (3.10.0-229.el7.x86_64) system running KVM/qemu on an XFS filesystem, I'm attempting to work out what specifically is adding additional space to a VM diskimage file. $ ls -ls --...
0
votes
1answer
2k views

XFS: Internal error XFS_WANT_CORRUPTED_GOTO

After what appears to be a power outage on my standby postgres database, i'm receiving the error: XFS: Internal error XFS_WANT_CORRUPTED_GOTO after the system reboots as well as postgres error log ...
0
votes
0answers
225 views

7Zip extraction on linux is so slow

Extracting 7zip with many small files on linux xfs, extraction speed is so slow. My Test System Environment. System1 : 2vCore/4GB CentOS 6.5 64bit guest on XenServer. System2 : 2vCore/4GB Windows ...
1
vote
1answer
95 views

how do I clone a disk that is represented by a vmdk file? [closed]

I have VirtualBox installed on Windows 8.1. I have created a CentOS 7 virtual machine that loads the contents of a detached hard drive that is connected to the PC via a SATA Wire. The virtual ...
1
vote
1answer
113 views

Recreating XFS project quota information

We recreated a fileserver, which had an XFS filesystem using project quotas residing on a SAN. Unfortunately, we had forgotten to backup /etc/projects and /etc/projid on the server before reinstalling....
3
votes
0answers
373 views

Data recovery for XFS partition

I want to recover data from a XFS partition. It seems that I need to xfs_repair the partition but I am not sure I would lose the data, so I prefer to ask to experts. I run a Virtual Box Linux Mint. ...
19
votes
1answer
945 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 ...