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.
338
questions
1
vote
1
answer
2k
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
2
answers
1k
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/...
6
votes
2
answers
1k
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 ...
3
votes
2
answers
23k
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
1
answer
1k
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
3
answers
6k
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 ...
1
vote
1
answer
2k
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 ...
-2
votes
2
answers
3k
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
1
answer
7k
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,...
5
votes
2
answers
4k
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
1
answer
463
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
0
answers
222
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 ...
5
votes
1
answer
18k
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 ...
4
votes
1
answer
1k
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 ...
1
vote
2
answers
2k
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 ...
1
vote
1
answer
3k
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 ...
4
votes
2
answers
3k
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/...
2
votes
1
answer
89
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 ...
4
votes
2
answers
7k
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
1
answer
2k
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 ...
1
vote
1
answer
741
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
1
answer
100
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 ...
6
votes
1
answer
54k
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, ...
2
votes
3
answers
1k
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
1
answer
3k
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
1
answer
2k
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
2
answers
781
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).
...
1
vote
2
answers
21k
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 ...
7
votes
4
answers
55k
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
1
answer
917
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 ...
2
votes
1
answer
1k
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
0
answers
934
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 ...
17
votes
2
answers
4k
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
1
answer
4k
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
0
answers
2k
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
1
answer
3k
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
2
answers
6k
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 ...
6
votes
7
answers
10k
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 ...
2
votes
1
answer
1k
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
0
answers
366
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
1
answer
703
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
1
answer
2k
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 ...
10
votes
2
answers
8k
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. ...
3
votes
1
answer
184
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....
3
votes
1
answer
2k
views
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 ...
2
votes
1
answer
794
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,...
1
vote
1
answer
208
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 ...
28
votes
2
answers
115k
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
2
answers
1k
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
...
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
...