Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
19 views

Resize xfs root partition

Fedora 25 Hey guys, I've just cloned my 120gb SSD to a 240gb SSD, and would like to extend my root partition. It seems this isn't as easy as I was hoping and could use some assistance! fdisk -l ...
-1
votes
1answer
58 views

How to recover a TAR file from a partially overwritten XFS disk?

This is the scenario. The environment is Linux (Arch Linux actually). An uncompressed 1,3TB tar file has been written on a freshely XFS-formatted 2TB disk as a backup. Later on, a 586MB UEFI boot ...
1
vote
0answers
36 views

What are the guidelines for xfs metadata size?

I will use a 4TB disk on a CentOS machine that will serve Samba shares to Windows clients. I understand that xfs can write the metadata in a different physical disk. How large/fast should be that ...
2
votes
1answer
44 views

xfs_db reports high file fragmentation where VM is located, but VM shows almost no fragmentation

I have several libvirt VMs stored on xfs partitions and am using gluster to replicate the storage. The VMs use qcow2 for storage. Some of the partitions where the VMs are located indicate high file ...
1
vote
1answer
42 views

xfs_fsr reports insufficient freespace on large VM images

I have several systems using glusterfs and xfs partitions. Some of these systems are hosts for VMs (using libvirt and with qcow2 for storage). I noticed that there was some substantial fragmentation ...
1
vote
2answers
534 views

MariaDB 10.3 CPU usage, Server performance suggestions

my platform: 8 cores, CPU benchmark > 10k (Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz) 32GB of RAM 2x 7200 SATA enterprise HDD, 128MB cache, each of them have physical 512b block size Actual file ...
1
vote
1answer
94 views

File system, that handles over 2 million files

I'm going to store files in one folder in my server. The amount of files will exceed 2 million. Each file size will have range between 5MB - 100MB. What kind of file system can handle well that ...
-1
votes
2answers
160 views

Centos 7 Move storage space from one filesystem to another

I have a server using Centos 7, and with the storage capacity allocated as such: What I would like to do is take some of the space from the /dev/mapper/centos-home file system and give it to /dev/...
5
votes
1answer
171 views

Why do my SSD read latency benchmarks get markedly worse when I put an XFS filesystem on top?

I am benchmarking a small server box based on the SuperMicro E300-8D. I've installed the latest CentOS 7.5 with the latest updates, 64GB of DDR4-2100 RAM, and a Samsung 970 EVO 1TB NVMe SSD. The OS ...
0
votes
1answer
847 views

Understanding XFS inode limits

I reached the inode limit on my XFS partition. There are plenty of questions about this. Some suggest the answer is to increase the maximum percentage of space allocated for inodes. Or, as the ...
0
votes
1answer
99 views

XFS fs does not mount on boot but mounts ro ok from cli

I have a server with a LSI raid controller. The server shows two devices sda and sdb. sdb is not partitioned but has a xfs fs formatted directly (i don't know why) into it. We decide to reboot it ...
0
votes
2answers
398 views

how to remove a project id from xfs project quota?

I successfully use xfs project (or directory) quota. However I just discovered that I am unable to remove quota information once I don't need it anymore. For example, I had 3 projects with project id ...
0
votes
1answer
221 views

Linux: recover data from xfs

I have a broken XFS filesystem on one of my HDD. I ran xfs_repair which was not able to find a secondary superblock to repair the filesystem. Therefore, I am not able to mount the HDD/partition. I ...
0
votes
0answers
103 views

How to increase the size of a /var Filesystem on AWS EC2 centos instance

currently i have: xfs_info /var meta-data=/dev/mapper/ami-var isize=512 agcount=4, agsize=1966080 blks = sectsz=512 attr=2, projid32bit=1 = ...
-2
votes
2answers
446 views

redhat 6 version + xfs_repair or fsck.xfs in order to fix corrupted file-system

we have redhat machines version - 6.x all disks that mounted have xfs files system as: UUID=198s5364-a29c-429e-b16d-e772acd /data_SA xfs rw,noatime,inode64,allocsize=16m 1 2 we ...
2
votes
1answer
691 views

xfs slow performance; ls hang

I have a very strange problem with a xfs on a centos7 storage server. On this one particular fs in lvm, it had been very slow in many different occasion. At first I thought it was a read and/or write,...
1
vote
1answer
285 views

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, ...
0
votes
1answer
120 views

Growing XFS filesystem on AWS in Kubernetes

I have an EBS volume that originally was 1 Tb: # df -h | grep data /dev/xvdcl 1000G 54G 946G 6% /usr/share/elasticsearch/data I then grew it to 3 Tb via the AWS console. Now I want to grow ...
1
vote
0answers
92 views

XFS filesystem over 1 PB in size

My business requirements (licensing) require me to create a single XFS filesystem of over 1 PB with potential to grow to 2-3 PB in the future. This is to use as a backup repository so lots of ...
1
vote
1answer
1k views

Corruption of in-memory data detected: where does the issue lie?

We are experiencing crashes on our SSD VPSes, all working on KVM: crashes occur for different reasons; in the hurry to restore the service my team uses to reload a previous snapshot of the machine and ...
3
votes
1answer
400 views

XFS very slow on LVMed Raid 6

i have a new storage server with 6 x 8TB WD Red HDDs. They build a RAID 6 with mdadm and a chunk size of 256k. On top of that mdraid i have LVM which then holds the different filesystems. Initially i ...
0
votes
1answer
501 views

How to decrease the size of AWS EBS volume having xfs file system

I am having an EBS volume of 50 GB and I want to decrease it to 20 GB. The OS is centos 7 and has XFS file system. I have followed this link but it is more specific to ext4 and Ubuntu, can someone ...
0
votes
1answer
655 views

How to move space from my XFS /home partition to XFS root partition

I am running centos 7 minimal. My /home partition is about 500gb and root is only 50gb. I need help figuring out how to reduce the /home partition so I have free space to allocate to the root ...
2
votes
2answers
241 views

ZFS snapshot zd0 block device

I'm trying to make use of the ability of zfs snapshots. To explain a little how it's configured on my end: zpool create vol0 mirror /dev/sda /dev/sdb zfs create -o volblocksize=128K -V 15T vol0/...
3
votes
1answer
42 views

40tb storage on sles 11 sp1

I managed to set /dev/sdb to gpt, mkfs.xfs then mount it. But whenever I rsycnc file, it will shows kernel error related to xfs in log messages and failed at about 5GB to 6GB total size rsync. I read ...
2
votes
2answers
1k views

XFS: possible memory allocation deadlock in kmem_alloc

I am performing a data analysis that entails loading a large data matrix of ~112GB into a memory-mapped file using R programming language, specifically the bigmemory package (see https://cran.r-...
0
votes
1answer
270 views

Restoring logical volumes to their original sizes after running lvreduce and screwing things up in CentOS 7

Should have read more on the subject before attempting this, but now I am much more informed... screwing things up tends to do that. Only learned of the shortcomings of xfs after the fact. The OS was ...
0
votes
1answer
273 views

How to benchmark the performance of XFS with a large number of files?

I have a single server running some code that creates millions of small files all in a single directory. At first, the code runs extremely fast. After a day or so, it begins to slow down quite a bit. ...
1
vote
1answer
33 views

XFS Folder Dates

I have a server running Centos 7, kernel 3.10.0-514.16.1.el7.x86_64, Samba 4.5.2, and XFS. We archive documents in a bunch of small .tif files, so XFS works great for us. The folder is mounted in ...
4
votes
1answer
10k views

Centos7 - Buffer I/O error on dev sda, logical block xxxxxxxxx, lost async page write

I have a webserver that have the content in HP MSA2040 Storage (10 tb total storage). I keep getting error like below Jul 31 19:06:24 xxxxxxxx*** kernel: blk_update_request: I/O error, dev sda, ...
1
vote
3answers
406 views

centos7 xfs lmv cloning on smaller device

I'm going to repropose a question posted on stackoverflow a week ago, I'm sorry if someone found this spam but I still need help to solve this issue. I thought it could be useful also for others. ...
2
votes
1answer
2k views

VM Guest resize on CentOS7 xfs partition

I must be missing the boat. I'm trying to add more space to a virtual CentOS 7 server XFS partition running inside VMware. I've added 10 GB of space to a drive inside vSphere for the guest. The ...
10
votes
1answer
641 views

Getting files out of XFS with 64kb block size

I've been on a mission to recover files from one of my 2 perfectly working, non-corrupted, non-encrypted NAS drives that used to be in RAID 1. The NAS was Patriot Javelin S4, which (as I found from my ...
0
votes
2answers
339 views

Networked In-Memory FileSystem w/ zram + XFS + GlusterFS - Best Practices

A few months ago I used XFS formatted zram devices strung together with GlusterFS to create a distributed / networked / replicated in-memory filesystem on a few bare metal servers (running RHEL 7.2). ...
0
votes
2answers
7k views

Risk of not repairing “Structure needs cleaning” XFS errors

I have an XFS file system with file system errors affecting some non-critical files. I wish to repair it; the business wishes to continue to run with those errors. What are the known risks of not ...
0
votes
1answer
7k views

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... ...
3
votes
1answer
144 views

Unable to mount xfs volume to replay log. Now what?

42TB LUN, formatted in XFS and shared via NFS was reported 'unavailable' by customers. In the end I was forced to restart the file server. The XFS LUN won't mount until it is repaired, and to repair ...
1
vote
1answer
430 views

blockdev --getbsz reports different blocksize when partition is mounted

I have a centos 7 machine and am trying to mount an xfs parition with a 4096 kb block size. when the xfs patition is unmounted: blockdev --getbsz /dev/xvdc 4096 when mounting using mount -t xfs ...
0
votes
0answers
408 views

Format lvm from ext4 to xfs

I have an lvm partition with ext4 which I want to transform to XFS. I stumble upon fstransform which looks like the right tool, but to transform the partition it needs to be unmounted which is a ...
16
votes
2answers
3k views

Is GPT needed on a 16 TB data disk?

I have made /dev/sdb which is a 16 TB disk using hardware RAID, where I am temped to put XFS directly on /dev/sdb without making partitions. In the future will I need to expand this to double the ...
0
votes
1answer
1k views

Replacing BTRFS snapshots with XFS+LVM

I working on replacing an unstable btrfs snapshot based backup system. One of the option was to go ZFS but it's not natively in the kernel. XFS was reliable for me since 10 years but as my research ...
3
votes
0answers
453 views

why my XFS file system got corrupted? root cause analysis

I have a block SAN storage volume mounted to my server via FC, I have formatted the volume with XFS. I started experiencing file system corruption that can be easily repaired with xfs_repair, ...
1
vote
1answer
676 views

How can increase root partition on KVM guest

I have a kvm guest,as follow, The guest disk /dev/vda actually is a qcow2 file in Host [root@guest ~]# cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core) [root@guest ~]# uname -a Linux ...
-1
votes
2answers
3k views

How to convert ext2 to xfs file system on Centos 7

I want to convert my partition file system ext2 to xfs since I will be dealing with larger files. I am not quite sure how to do it, should I convert ext2 to ext4 first, then ext4 to xfs or direct ...
5
votes
6answers
3k views

VPS: How can I update the available hard disk space after upgrade?

I made an upgrade of a VPS hosted on OVH, specifically from VPS CLOUD 1 to VPS CLOUD 2 that have 25gb more of previous solution (50gb total). On this VPS is installed CentOS 7.2.1511 There is the ...
1
vote
1answer
242 views

Lost LVM meta data, but filesystem still works

Here is setup: 70TB JBOD as part of a SAN, split into 5 LUNs (4x15TB and 1x10TB). File server running Centos 7 connects to the 5 LUNs via iSCSI, using iscsiadm, across two netowrk paths, for a total ...
1
vote
0answers
168 views

kvm guest reboots into centos 7 emergency mode after extending xfs with a second drive

I have a host server running Centos 7 and KVM for virtualization. I created a guest also running Centos 7, and it works perfectly. However because my host server does not have a lot of space left on ...
2
votes
1answer
157 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 ...
0
votes
1answer
869 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 ...
7
votes
1answer
2k 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. ...