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
2
votes
2
answers
61
views
XFS / ZFS - Unable to mount filesystem - I/O Error
We have a server with Ubuntu 20.04.6 LTS. It is the secondary storage for our backup, with 12x8TB HDDs in a RAIDZ3, with an XFS filesystem on top.
A couple of days ago, one drive failed. I thought, &...
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:
[...
3
votes
1
answer
1k
views
Why does the official docker image for mongo not use XFS, and then warn about not using it?
According to the official docs, MongoDB with WiredTiger is supposed to be run on Linux with the XFS filesystem. Yet, the official docker image for mongo uses ext4, which means that we get a warning ...
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 ...
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 ...
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 ...
6
votes
5
answers
18k
views
LVM vs RAID0 vs RAID "linear" - Combine 2 disks as one, data recovery?
given two 2TB USB external disks that have to be combined to one 4TB volume and formatted with one big Filesystem (XFS), I have a small question to ask.
Does LVM provide better Data recovery, should ...
3
votes
1
answer
14k
views
How to recover XFS file system which xfs_repair not work because of busy?
I got problem in disk of my database which is xfs file system. I tried to repair
[root@scan /]# xfs_repair /dev/md127
xfs_repair: cannot open /dev/md127: Device or resource busy
[root@scan /]# ls /...
3
votes
1
answer
470
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.
...
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
1
answer
316
views
Postfix warning: not enough free space in mail queue
I have already checked the solutions at this post, but I can't find the reason.
This is my situation:
Running postfix inside a docker container (docker swarm).
Docker container has no quota.
/var/...
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 ...
6
votes
2
answers
3k
views
xfs: difference between block size and sector size
mkfs.xfs has two following options among others:
-b block_size_options
This option specifies the fundamental block size of the filesystem. The valid
block_size_options are: ...
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 ...
5
votes
2
answers
3k
views
7Zip extraction on linux is so slow
Extracting 7zip with many small files on linux xfs, extraction speed is so slow.
My Test System Environment.
System1 : 2vCore/4GB CentOS 6.5 64bit guest on XenServer.
System2 : 2vCore/4GB Windows ...
1
vote
2
answers
3k
views
how to delete a xfs file system from logical volume (lvm2), to achieve the goal being this logical volume without any file system?
I have LVM RedHat 8 intall and there's one Volume Group there.
Fri May 19 [michal@Ora2 ~]$ sudo vgdisplay
--- Volume group ---
VG Name ol
System ID
Format lvm2
...
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
3k
views
How do I maximize nvme raid0(md) performance (in linux)?
Nvme raid0 read(and write) performance is sometimes worse than the performance of one individual underlying drive.
hdparm -t /dev/md0 :
Timing buffered disk reads: 7054 MB in 3.00 seconds = ...
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 ...
1
vote
2
answers
853
views
xfs_repair -L sent all data to lost+found directory with code names
After a RAID recovery, my xfs partition of 20 TB did not mount and I tried to repair it with xfs_repair and subsequently xfs_repair -L option. Now the partition could be mounted and all the folders ...
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
163
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 ...
1
vote
2
answers
530
views
Expanding XFS file system from another device?
I have two virtual devices on a fedora system. Both are in a raid 5 configuration. No LVM is in place. The system it’s self is installed on one of the devices. That same device is also the one with ...
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 ...
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...
...
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 ...
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.
...
0
votes
0
answers
563
views
Virtual machine startup error, file system corruption how to, reboot
My virtual machine had a power failure and forced shutdown, when I restarted it, it entered rescue mode and reported the following error, I want to know how I should start it, there is some ...
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, ...
0
votes
1
answer
2k
views
remount / move root folder to another partition on centos
We have an EC2/CentOS6 instance with "/" mounted to an EXT4 partition, and now another bigger sized hard disk formatted in XFS attached to the system. Since the former partition for "/" is ...
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 ...
3
votes
1
answer
2k
views
fstrim is very slow on xfs and always return same value unlike ext4
I just noticed if I do time fstrim /<some ext4>; time fstrim /<some ext4> the 2nd call usually print 0 bytes trimmed and finished immediately. However if I do same thing on XFS, 2 of the ...
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).
...
3
votes
1
answer
2k
views
XFS/EXT4: Why is actual file size on disk larger than apparent size? Clarification
On a CentOS 7.1.1503 (3.10.0-229.el7.x86_64) system running KVM/qemu on an XFS filesystem, I'm attempting to work out what specifically is adding additional space to a VM diskimage file.
$ ls -ls --...
43
votes
5
answers
72k
views
Ext4 vs. XFS vs. Btrfs vs. ZFS for NAS [closed]
My use case: I have Ubuntu Server 18.04 installed on an M.2 SSD. I have a 4TB HDD I want to add as storage. Since it's mostly for large media files and backups, it won't be written to very often.
...
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 ...
10
votes
5
answers
160k
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/...
0
votes
1
answer
1k
views
Red Hat 7 XFS partition could not be mounted (can't read superblock)
I have a problem with several mounts. Can't read superbock is the error as reported below as example. I tried xfs_repair with/without -L but still got issue. Could someone advice?
# mount /dev/lvm02/...
7
votes
3
answers
5k
views
What does sunit=0 and swidth=0 mean for XFS file system?
I created an XFS file system using default parameters at the time of creation of a system. Now looking at the output of xfs_info, it show 0 for the values of sunit and swidth. I can't seem to find ...
0
votes
3
answers
3k
views
Cannot resize XFS partition after volume increase
I have increased the size of my volume from 8GB to 16GB. After resizing the volume, I would like to expand the partition to take on the additional space.
However, this operation is failing with data ...
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
...
0
votes
1
answer
230
views
inodes & read only bind mount
I'm using xfs filesystem, speaking about inodes topic have a question: does RO bind mount points consumes inodes?
The information is the same, strictly speaking; because the binds mounts point to a ...
2
votes
2
answers
5k
views
Recreate XFS Partition with Existing Filesystem
I have a CentOS server with two RAID arrays. The OS array and a DATA array. Long story short, recently had tons of trouble with the OS and had to reload CentOS (was 5.7 and went to 6.5). Everything ...
0
votes
1
answer
703
views
Very big device in Centos
I have older VM (Centos7) where I have many disks. Now it is 36 vmdk (22TB). I wanted extend one virtual disk to 2400GB and create new partition for LVM (3th on disk). But after I create partion I see ...
1
vote
2
answers
5k
views
Pod stuck on ContainerCreating due to FailedMount
I have a sporadic issue specifically with big volumes (~2TB) where the pod in my Kubernetes cluster is stuck on "ContainerCreating" with the reason :
failed to mount the volume as "xfs", it already ...
1
vote
1
answer
859
views
Is possible to change metadata of XFS system to another disk (such SSD)
I've a system in VPS with a big XFS.
Now I have the possibility to add an SSD device to that VPS.
Is it possible to change the meta-data destination from partition formatted as SSD to SSD partition to ...
1
vote
2
answers
1k
views
Recreating XFS project quota information
We recreated a fileserver, which had an XFS filesystem using project quotas residing on a SAN. Unfortunately, we had forgotten to backup /etc/projects and /etc/projid on the server before reinstalling....
0
votes
1
answer
900
views
xfs_repair runs instantly, surely this should take some time to run?
I'm trying to troubleshoot some issues with multiple database engines crashing and logs suggesting corruption while reading from disk, so I'm running xfs_repair on a 2TB NVMe which contains the files.
...
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 ...