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.
70
questions with no upvoted or accepted answers
9
votes
2
answers
1k
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.
...
4
votes
0
answers
145
views
Write speed to NVME disk degrade after some time of active work
I have a fairly general question, but maybe someone already had similar behavior.
I have few servers with 20 nvme micron 7450 pro 15 TB disks on each. On all servers I created raid 0 using mdadm ...
4
votes
0
answers
312
views
MDADM Raid10 event mismatch after restart
I made a raid10 with 8x8TB drives the file system on it is XFS. I never had any issue with it. The raid is configured as near2 and internal bitmap. The drives are connected to a LSI-9211-8i in HBA ...
4
votes
0
answers
913
views
Format new parition of drive with xfs version 4 in Linux
I am working on an arcade machine and it cannot be updated unfortunately. A drive has corrupted data on it and in order to delete it I need to re-partition that drive. (I know it's the data and not ...
4
votes
0
answers
4k
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. ...
3
votes
0
answers
2k
views
xfs: can't read superblock
I get the following error:
[root@mediaserv ~]# mount /dev/mapper/media1 /media
mount: /media: can't read superblock on /dev/mapper/media1.
This is Fedora 33. I have a RAID5 of 8x 8TB WD Red drives ...
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, ...
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
0
answers
98
views
df differs from du a lot, nfsd service seems matter
I know there have been a lot of discussion on the df/du discrepancy topic. But here I’d post a special issue and ask for some hints.
here is the detail( with a hardware raid5 with 6 sas disks)
system ...
2
votes
2
answers
352
views
AWS XFS performance issues. Stripped setup vs single disk setup
I wanted to share an issue (I guess I may be misunderstanding some concepts) that I'm facing with some benchmarks I'm doing to XFS setups, as we are going to recently migrate a service to a new ...
2
votes
1
answer
977
views
Check XFS project quota on NFS client
I am implementing project quotas on a file server (Centos 7.8.2003) that has data volumne formatted using XFS. File access to this server will occur using NFS. I know how to check user quotas on the ...
2
votes
0
answers
255
views
Quota on filesystem mounted via SSHFS
On client C, a directory from server S is mounted via SSHFS (authenticated as user U). The relevant filesystem on S has a quota set. How can a user on C see her quota? The quota command run on C ...
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 ...
2
votes
0
answers
722
views
How can I recalculate XFS projects quota?
I have a XFS formatted disk and several projects quota in it.
# xfs_quota -xc 'report -phN'
foo 20K 22.9G 22.9G 00 [------]
bar 396K 5.7G 5.7G 00 [------]
buz 12K 22.9G 22.9G 00 [-...
2
votes
0
answers
407
views
Corrupt XFS header
On my file server I ended up growing the RAID (5) and then I went ahead and deleted and remade the partition holding the XFS filesystem. I used Parted to do this.
After parted ran I tried to mount ...
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 ...
1
vote
0
answers
163
views
Files with apparent 86TB file size, how to shrink them?
After extracting a zip, I have 8.6P in apparent size but only 728M on disk used. I did some checks and hdparm --fibmap shows that all the files have a huge byte_offset: 94331430207488.
I tried to use ...
1
vote
0
answers
171
views
How do you Defrag an XFS file system
My old workstation, has /var /usr and /home mounted on an xfs file system, and it seems to spend most of its time grinding away, and getting slower and slower, much like windows used to 20 years ago, ...
1
vote
0
answers
332
views
Running xfs_repair on hardware raid while still rebuilding?
Should I allow a hardware raid5 array rebuild to complete after swapping out a drive PRIOR to running an xfs_repair on the volume?
Currently xfs_repair keeps failing in Phase 7 at the same spot:
Phase ...
1
vote
0
answers
556
views
NFS mounted XFS file systems not visible using xfs_quota
With CentOS7, I made the leap to XFS (from ext4) and since then I have been unable to query quotas on NFS Clients via the quota or xfs_quota commands. The xfs_quota command also does not report any ...
1
vote
0
answers
254
views
High avgqu-sz & utilisation on madadm RAID 0 in AWS EC2 I3.8x large instance
I have an AWS EC2 i3.8xlarge with 4x1.9TB ephemeral storage volumes tied in mdadm RAID-0 (Yes, RAID 0) with XFS file system mounted using noatime and inode64 options. I am running an IO intensive ...
1
vote
1
answer
340
views
Issue with removing LV disk space that was extended from another disk
I have a redhat server with two disks 100gb and 500gb. The 500GB disk was unused, however I then used it to extend the /var LV. The filesystem on all mountpoints are xfs and you actually can't reduce ...
1
vote
0
answers
520
views
Convert ext4/xfs file system to btrfs with minimal application impact
I'm trying to find a way to convert the file system of app servers (some of which run ext4 and some xfs) to btrfs. Preferably, I'd like to do this without needing to turn off the services.
So far I've ...
1
vote
0
answers
153
views
XFS only using first allocation group despite inode64 mount option
Background: we've been seeing incredibly slow performance allocating files, on a system that creates many small files on a 25T disk. We found from http://xfs.9218.n7.nabble.com/1B-files-slow-file-...
1
vote
1
answer
118
views
shrink LVM (not XFS) to use for guest nodes (KVM)
I have /homemountpoint (Type=LVM). how can I reduce/home` from 418G to 200G and use remaining disk space for guest(KVM) Node? because XFS can not be shrunk ().
localhost home]$ lsblk
NAME ...
1
vote
0
answers
258
views
Using Mkfs.xfs and setting the version information
When I use mkfs.xfs it is not enabling NLINK.
I have another drive in the machine that is set up the exact what I need this drive setup and the only difference is NLINK on one and not on the other. ...
1
vote
0
answers
567
views
Hung kernel tasks after unclean shutdown of ceph cluster
I am running ceph (created by the rook-ceph operator v0.9.3) on kubernetes v1.13. After an unclean shutdown of our cluster, some processes randomly go into uninterruptible sleep. After some time, the ...
1
vote
0
answers
2k
views
Hard disk with xfs file system has bad write performance in subfolders
Our server has a raid6 array (10+2 disks, each disk is 6TB/SATA/7200rpm). We plan to make it an NFS storage shared with other clients. However, the writing speed is very slow:
[root@Server ~]# mkfs....
1
vote
1
answer
1k
views
XFS Realtime (CONFIG_XFS_RT), Is it really usefull for high i/o servers?
Recently we got more crashes and i/o errors from XFS filesystem. The reason what we thinks about it because of high disk i/o. We are uploading several GB's of data and deleting per week for big data ...
1
vote
0
answers
221
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 ...
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 ...
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 ...
1
vote
0
answers
1k
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-...
1
vote
1
answer
102
views
Will 2 heavy, simultaneous IO operations result in fragmentation?
I'm using Ubuntu 14.04 to run a web/DB server.
Disks are in a RAID6 set, using XFS. I'm somewhat new to XFS.
Suppose I have 2 heavy IO operations. In my example:
Reindexing a 400 GB database.
...
1
vote
0
answers
238
views
Need help recovering RAID 6 array
My CentOS 6.5 server had its primary drive fail the other day. Our hosting company replaced the primary drive and reinstalled the OS. The system is up and running, but the 15TB of RAID6 storage isn't ...
1
vote
1
answer
176
views
Setup 1x RAID5 array with multiple LVs and differnt filesystems?
Centos 5.9 - 2.6.18-348.3.1.el5 i686
Raid5 - 4 Disks + 1 Spare (all WD RED 3TB)
Does it make sence to create multiple LV within the same VP and configure them as differnt filesystems:
Example:
LV1: ...
1
vote
0
answers
741
views
Restoring a GPT XFS partition?
I recently added some storage to a RAID array with a single large XFS volume. To expand the volume I normally use parted to remove the partition and then recreate it so that it spans the entire volume....
1
vote
0
answers
302
views
lvm/xfs does not utilize full raid device
My older 2 CPU server (32-bit LV Xeon, centos 5) drives a raid6 array. Since I grew it from 7x2T to 8x2T (I had to CD boot a "more modern" fedora to even do the 82-hour growing, but that's another ...
1
vote
1
answer
983
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
1
answer
869
views
volume group disappeared after xfs_check run
EDIT**
I have a volume group consisting of 5 RAID1 devices grouped together into a lvm and formatted with xfs. The 5th RAID device lost its RAID config (cat /proc/mdstat does not show anything). The ...
1
vote
0
answers
110
views
Configuring multiple XFS filesystems with external logs on LVM
I'm configuring an NFS server with multiple filesystems for use by different groups of users. Other similar systems we have installed recently have used XFS filesystems on logical volumes, on top of ...
0
votes
0
answers
17
views
Disk has been detached but dmesg throws xfs_log_force errors
I just replaced a bad Ceph OSD disk, everything went good except this one.
The previous bad disk was /dev/sdh, it has been replaced with /dev/sdan. But when I tails dmesg, I got constant XFS erros:
[...
0
votes
1
answer
287
views
Why would mounting / unmounting an XFS filesystem make it bootable again?
I’ve got some EC2 instances running Amazon Linux 2 and 2023 which use XFS as their root volume. Occasionally, after several reboots, the instance refuses to boot and gives a kernel panic, because it ...
0
votes
0
answers
149
views
Update default XFS quotas to all existing users?
How can I update existing default user quotas on XFS if I already have a default value defined?
For example: I have a home directory with existing user quota defined and now I've upgraded it with the ...
0
votes
0
answers
162
views
How can I restore lost data after executing the xfs_repair command to forcibly clear log files to restore the file system?
I already know how to do xfs meta data backup. To repair the xfs file system, only the xfs_repair -L lv command is available. I will move the abnormal Inodes to the lost+found directory after I want ...
0
votes
0
answers
17
views
Cwd of a process started from hard link path
I have an app which is starting by path which contains a folder which is hard link.
If I look for process current working directory it is same as source of a hard link.
The main problem is that app ...
0
votes
1
answer
91
views
dd: failed to open ‘/disk1/boot1.img’: Structure needs cleaning
Executing this Command :
dd if=/dev/sda1 of=/disk1/boot1.img
I got this Error :
dd: failed to open ‘/disk1/boot1.img’: Structure needs cleaning
I tried that Command on my centos machine and got that ...
0
votes
0
answers
162
views
How to repair an XFS volume in a RAID array
In a data server, we have a RAID array of 5 disks joined in an XFS filesystem. The dmesg output is:
IPv6: ADDRCONF(NETDEV_CHANGE): enp134s0f0: link becomes ready
XFS (sda2): Mounting V5 Filesystem
XFS ...
0
votes
0
answers
834
views
xfs corruption metadata after reboot
I had a problem on a RAID1 with 4 disks. We replaced the faulty disk and restarted the server, the rebuild was done, two linux centos 7 machines did not come up accusing error of xfs corruption. Other ...
0
votes
1
answer
162
views
Audit Log Partition keeps getting corrupted. How to prevent or boot anyway?
I am running RHEL7, and my audit log partition randomly (not often, but often enough to annoy me) gets corrupted, preventing me from booting. How can I either prevent the partition from being ...