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.
35
questions
65
votes
1
answer
24k
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 ...
6
votes
1
answer
17k
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 ...
45
votes
5
answers
110k
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
/...
10
votes
5
answers
162k
views
How to recover XFS file system with "superblock read failed"
I have a disk from a Buffalo LinkStation that has an XFS partition on it that I cannot mount.
Plugging the disk into an SATA->USB caddy on an Ubuntu box. I get the following:
$ sudo fdisk -l /dev/...
15
votes
2
answers
3k
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
...
10
votes
2
answers
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 ...
9
votes
6
answers
17k
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 ...
76
votes
13
answers
72k
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 ...
24
votes
1
answer
4k
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 ...
14
votes
2
answers
4k
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 ...
8
votes
3
answers
57k
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 over ...
7
votes
2
answers
8k
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
1
answer
2k
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 ...
5
votes
2
answers
4k
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 ...
0
votes
1
answer
2k
views
Storing many small files with xattr in XFS and ext4
I have many small files (20 millions) with xattr on XFS drives. The average size of files is around 20KB and the average size of xattr is about 512 bytes.
Because I would like to move them to ext4, I ...
31
votes
3
answers
18k
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
2
answers
10k
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 ...
13
votes
1
answer
12k
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 ...
10
votes
3
answers
13k
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 ...
9
votes
4
answers
19k
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 ...
8
votes
1
answer
10k
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
2
answers
21k
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
4
answers
2k
views
Effectively handling 2+ million files
I have a file based DB that has about 2M files stored in 3 levels of subdirectories.
2/2/6253
2/2/6252
...
File a vary from 30 bytes to 60 KB. Whole DB is Read Only. DB is about 125 Gigabytes big.
...
5
votes
6
answers
6k
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
1
answer
509
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.
...
3
votes
2
answers
3k
views
Access xfs quota info from NFS client
I've got an xfs filesystem (on a Centos 6.4 server) mounted via NFS on a client server (Centos 6.3). I can't seem to access the quota info from the client. It simply returns nothing for xfs_quota -c ...
3
votes
4
answers
2k
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 ...
2
votes
1
answer
705
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 ...
2
votes
1
answer
5k
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 ...
2
votes
1
answer
800
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
1
answer
1k
views
Why does active-active configuration degrade performance compared to failover?
We are setting up the new storage for an HPC compute cluster that we are managing for applied statistics, bioinformatics, and genomics.
Configuration
We have the main enclosure with a Dell EMC ME4084 (...
1
vote
4
answers
2k
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
...
1
vote
1
answer
7k
views
Trying to determine the correct number of XFS allocation groups for postgresql server on Linux
I am running a PostgreSQL 8.4.5 server on the linux 2.6.33.7 kernel on an 8 disk raid array with an LSI controller.
Most of the tables are around 1GB or less.
I know that XFS uses allocation groups (...
1
vote
2
answers
4k
views
How to "align" a Linux file system with a SSD?
I'm interested in getting a dedicated server with a SSD, probably Corsair Force series CSSD-F120GB2-BRKT.
It'll be an Linux server, most likely running XFS (but I'm open to other alternatives).
...
0
votes
1
answer
12k
views
Shrinking or removing home partition in CentOS 7 installation [closed]
I made the mistake of creating a home partition that fills up all my disk space, and it's formatted in XFS, which to my knowledge isn't shrinkable.
Since I have no use for the home partition anyway (...