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

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 they get placed into directories on the XFS…
sysadmin1138
  • 131,083
  • 18
  • 173
  • 296
6
votes
1 answer

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 happens. It's not acceptable if the partition is…
flypen
  • 205
  • 1
  • 2
  • 6
5
votes
2 answers

When to use xfs_copy, and when to use xfsdump

I'm about to copy data from one XFS file system to another (smaller) XFS file system. The file systems may be unmounted while copying. I don't want to have to worry about ACLs, SELinux contexts, etc, so I'm looking at xfs_copy and xfsdump. When…
Troels Arvin
  • 630
  • 7
  • 16
5
votes
3 answers

How to recover from - can't read superblock error - after using lvreduce command (CENTOS7 XFS)

I was attempting to reallocate unused disk space (1.2Tb) from /dev/mapper/centos-home to /dev/centos/root using the steps in How to move disk space from centos-home to centos-root. After running... $ umount /dev/mapper/centos-home $ lvreduce -L…
Steve Bushnell
  • 81
  • 1
  • 1
  • 4
5
votes
2 answers

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 server. In any case, I performed a DD test and am…
5
votes
3 answers

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 hardware (2GhzCore2, 8GbRAM and about 4TB worth of HDDs…
Leah Calum
  • 211
  • 2
  • 8
5
votes
4 answers

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. Added: All files are compressed by zlib (python) I…
Worker
  • 647
  • 1
  • 6
  • 9
5
votes
1 answer

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 (Postgresql). My sysadmins gave me a SSH…
5
votes
2 answers

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 other way of replication to another…
Sandra
  • 9,973
  • 37
  • 104
  • 160
5
votes
2 answers

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 to move data around to free up space below 1TB.…
Ole Tange
  • 2,836
  • 5
  • 29
  • 45
5
votes
2 answers

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% Mounted on /dev/sda3 127G 19G 102G 16%…
beketa
  • 93
  • 1
  • 6
5
votes
3 answers

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 of superfast low-level way to chown every file on…
Aidan Kane
  • 185
  • 1
  • 1
  • 8
5
votes
2 answers

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 options passed to mkfs.xfs for the creation of the…
ewwhite
  • 194,921
  • 91
  • 434
  • 799
5
votes
3 answers

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 172MB left of free space. Most likely because…
Yaaarrg
5
votes
1 answer

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 folders very soon too. it's 2.6.24-27-xen x86_64…
Devrim
  • 1,197
  • 4
  • 16
  • 29