Questions tagged [xfs]

Questions about XFS filesystem, utilities and other situations where XFS filesystem is relevant.

83 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
273 views

How are XFS deltas for xfsdump -l n calculated?

I have a xfs filesystem with many small and a couple very large files (~100GB), its on a lvm2 volume. I want to do incremental backups from it. Is there any computational overhead when using a tool ...
rtur's user avatar
  • 51
4 votes
0 answers
1k views

When does Linux flush data to the disk?

I know that usually the answer to this question is "when it sees fit", or some other obscure answer. And many times I saw that if the host gets hard booted, some of files that got recently ...
aviro's user avatar
  • 5,552
4 votes
0 answers
3k views

Difference in space reserved for inodes in ext4 and XFS partitions

I am formatting a couple of 60G Logical Volumes (vg01-logs and vg01-monitoring) in one of our servers. These partitions will hold a large number of small files, so I want them with more than the ...
Sreeraj's user avatar
  • 5,062
3 votes
0 answers
3k views

XFS metadata I/O error

Something odd for a couple of days. I've just noticed a lot of error messages in dmesg. [11:34:02 2020] XFS (dm-5): metadata I/O error: block 0xf577b6e0 ("xfs_trans_read_buf_map") error 5 ...
nerabis's user avatar
  • 31
3 votes
0 answers
1k views

find inode/file using specific block on running xfs filesystem

I know that block 12024039 is bad on sda1 and I want to find out what file in the xfs filesystem is using that block and is thus corrupt. How do I do that? When I run xfs_db -f -c 'blockget -b ...
raines's user avatar
  • 284
3 votes
0 answers
882 views

XFS on-disk format upgrade

Is there any other way to upgrade an already formatted xfs v4 on-disk format partition to a xfs v5 without a back up-reformat-restore process? This was a result of creating the partitions using debian ...
Yanko Hernández Álvarez's user avatar
3 votes
0 answers
970 views

RAID 6 with XFS dealing with bad sectors

I have 7 2tb hdd in a raid 6 attached to a Adaptec 71685 dmesg message says I have bad sectors 2321236720 2321236728 2321236760 2321236792 2321236824 2321236856 2321236864 2329211680 2329212192 ...
cybernard's user avatar
  • 182
3 votes
0 answers
4k views

Unable to mount XFS volume after reboot - unknown filesystem type 'xfs'

I have an aws ec2 instance that's been running Ubuntu 12.04 for a good long while. It has attached to it an EBS volume formatted with xfs. Today after a reboot, I'm unable to mount this volume. ...
btantlinger's user avatar
2 votes
0 answers
162 views

copy XFS filesystem to another XFS filesystem on another disk with reflinks

I have a VM with two XFS file systems on two separate virtual disks. The first XFS is 2.5 TB big and the second one is 1.5 TB big. The first XFS uses 844 GB storage reported by df -h, but in reality 7....
smaxx1337's user avatar
2 votes
1 answer
580 views

Is it possible to have the External XFS Journal on a RAM disk?

Oracle suggests to have the external journal on a low latency device. The default location for an XFS journal is on the same block device as the data. As synchronous metadata writes to the journal ...
ceving's user avatar
  • 3,579
2 votes
0 answers
876 views

How do I determine what files are affected by bad blocks on a disk that uses LUKS and XFS?

Here is my setup: no partition, just LUKS1 and then XFS inside that. To confirm, the disk was set up like so: disk is installed, luksFormat, luksOpen, mkfs.xfs, mount, start using. First of all, what ...
gfdjjrtiejo's user avatar
2 votes
0 answers
658 views

xfs_quota and quota commands not working for NFS clients

I've been bumping up against this issue for years, but have never been able to find a resolution. Prior to RHEL7 (i.e. RHEL 5, RHEL 6, and CentOS 6), I was able to... Implement user quotas on my NFS ...
Will's user avatar
  • 23
2 votes
0 answers
952 views

Extremely poor performance for ZFS 4k randwrite on NVMe compared to XFS?

I've been a fan of ZFS for a long time and I use it on my home NAS, but in testing its viability for production workloads I've found that its performance is inconceivably bad compared with XFS on the ...
Evan's user avatar
  • 161
2 votes
1 answer
451 views

XFS mount at 100% full, how to pinpoint problem

running SLES 11.4 on a server, there are ~5 disks as Raid-5 via LSI megaraid, which provides 2.2 TB of usable space... when creating this it showed up as /dev/sdb and I created one parition as XFS, ...
ron's user avatar
  • 6,647
2 votes
0 answers
2k views

How to retrieve a testdisk disk image file from an XFS partition?

The previous situation I had a problem many years ago with an HDD (with a Windows installation and two usual partitions - the boot one and the NTFS one containing the system and the data) with which ...
Paradox's user avatar
  • 1,425
2 votes
0 answers
547 views

On CentOS 7 allow certain users Read & Write to mounted file systems of different types

I have a query around mounting file systems of differing types in such a way that a selection of users have r/w access to them. Here's the scenario. I've rebuilt a media server to Centos 7 minimal ...
Lithium007's user avatar
2 votes
0 answers
296 views

LUKS cannot be closed on lvm with lvmcache

I have a CENTOS borgbackup server. All transactions are done over SSH, inside a bind-mounted chroot jail. Most of this detail is probably unnecessary, but I thought a little context might help. I ...
osteichthyes's user avatar
2 votes
0 answers
363 views

XFS over iSCSI share with cluster; will fencing cause data corruption/loss?

When using XFS on iSCSI share, where HA is enabled, nodes may be fenced by cluster. Will this result in data loss / corruption / etc. ?
Prashant Gupta's user avatar
2 votes
0 answers
560 views

DMX problem with fonts

I have problem with fonts in xdmx: I am starting new X startx -- /usr/bin/X11/Xdmx :1 -display 192.168.0.104:0 -fontpath tcp/192.168.0.102:7100 (II) dmx: Generation: 1 (II) dmx: DMX ...
debianguy's user avatar
2 votes
1 answer
2k views

Some space mysteriously disapears on XFS filesystems

I have 2 XFS filesystems where space seems to disappear mysteriously. The system (Debian) was installed many years ago (12 years ago, I think). The 2 XFS filesystems were created at that time. Since ...
user2233709's user avatar
  • 1,679
1 vote
0 answers
50 views

Parsing xfs_quota -c 'free' output with bash

Is it possible to parse the output of xfs_quota -c "free" /mnt/xfs in a deterministic way? The problem is that depending on the length of the path to the block device mounted on /mnt/xfs its ...
Rovanion's user avatar
  • 959
1 vote
0 answers
2k views

how to solve `XFS Filesystem has duplicate UUID - can't mount` without reboot?

I use udiskctl to mount my usb disks. From time to time my usb hub has power problem that when I turn on some device using large current, the hub will reset all connections. This results in ...
Wang's user avatar
  • 1,296
1 vote
1 answer
325 views

Unable to figure the permissions required by lstat

I am running into this weird permission issue on Debian 10, with lstat call on XFS filesystem. I have been referring to this link to understand how extended ACLs will work The man page says that ...
viral_mutant's user avatar
1 vote
0 answers
310 views

can't read superblock on /dev/nvme0n1p1. (xfs)

The Disk Type : xfs Suddenly we can't access the data from the Hard Disk. We got the following error while trying to mount the disk using this command : mount /dev/nvme0n1p1 /000. mount: /000: can't ...
Sathya's user avatar
  • 31
1 vote
0 answers
2k views

mkfs complain about disk is apparently in use by the system

on our rhel server we want to re-create ext4 filesystem as [root@worker ~]# mkfs.ext4 -j -m 0 /dev/sdd -F mke2fs 1.42.9 (28-Dec-2013) /dev/sdd is apparently in use by the system; will not make a ...
yael's user avatar
  • 13.2k
1 vote
0 answers
130 views

Where can I see the difference in those mounts?

# mount | grep 'rootvg-var\b' /dev/mapper/rootvg-var on /var type xfs (rw,relatime,seclabel,attr2,inode64,noquota) /dev/mapper/rootvg-var on /var/lib/docker/containers type xfs (rw,relatime,seclabel,...
Andrew Savinykh's user avatar
1 vote
1 answer
1k views

Linux I/O Deadlock since Kernel Upgrade

I have been using Linux-Kernel 5.4.35 (and newer versions) after upgrading from 4.19, and ever since that my hpsa md RAID 0 hangs after some days (2-3 Days), RAID changes to read-only/I/O rejected. (...
hulululu11's user avatar
1 vote
0 answers
250 views

What is mounted on what with xfs; storage drivers for docker

I have a virtual redhat linux machine, that I am using for Docker. Apparently, I haven't set it properly up for production mode as I am still running the storage mode as a loop-back device with ...
MrGumble's user avatar
  • 111
1 vote
0 answers
1k views

rhel + Metadata corruption detected at xfs

due of linux electricity failure , our server crashed and reboot now server is up but we see the following messages from dmesg is it mean that OS damaged ? [33505.670070] XFS (dm-2): Unmount and ...
yael's user avatar
  • 13.2k
1 vote
0 answers
83 views

Is there any tool that can test a potential XFS superblock for validity?

All XFS superblocks start with XFSB. Given a list of potential superblocks, is there any method to test them for validity? $ sudo grep --byte-offset XFSB -ao /dev/sdb 689569283:XFSB 1114071063:XFSB ...
Evan Carroll's user avatar
  • 30.9k
1 vote
1 answer
685 views

Are XFS volumes conceptually same as linux logical volumes?

According to the Wikipedia page for XFS, the XFS file system supports: Max. volume size: 8 exbibytes − 1 byte Max. file size: 8 exbibytes − 1 byte (Refer to the info-box on right side of the page)...
Sunshine's user avatar
  • 245
1 vote
0 answers
92 views

utimes() and utimensat() syscalls hangs for 90 sec

CentOS 7.6, xfs filesystem: We observe hanging backup and compile jobs because utimes() and utimensat() syscalls hang on random files for 90 sec. xfs mount options are rw,relatime,attr2,inode64,...
Bernd M.'s user avatar
1 vote
1 answer
403 views

Safe way of extending xfs partition

I created an xfs partition using fdisk and mkfs.xfs on my 6T hhd. I ended up with only 2T. What is the safest way of expanding the partition to take up all the remaining space without disturbing the ...
Ivan Jacob Agaloos Pesigan's user avatar
1 vote
0 answers
827 views

How to determine free/used space of an unmounted xfs partition?

I can determine an unmounted partition of ext4 with tune2fs, but I don't know how to do it with an xfs partition, I wonder if it's that right: # blockdev --getsize64 /dev/sdb5 465567744 # blockdev --...
sebelk's user avatar
  • 4,399
1 vote
1 answer
2k views

Mounting XFS partition image from xfs_copy

Used xfs_copy to copy a partition of the hard drive of a Fedora 27 server to a file, now trying to mount the file on my Antergos desktop I get: mount: /mnt/server: wrong fs type, bad option, bad ...
PoLoMoTo's user avatar
1 vote
0 answers
1k views

Mounting a 4tb lvm in Centos 7 keeps saying not enough space on device

I have a Centos 7 vm that won't boot, the journalctl says *failed to mount /sysroot. Dependency failed for Initrd Root File System. Dependency failed for Reload Configuration from the Real Root * ...
Joey Ponce's user avatar
1 vote
1 answer
173 views

XFS Resize Possible?

Can I dd XFS home to backup drive then nuke home & resize root recreating new XFS home then dd file structure back?!? Cannot upgrade Mint 17.3 to 18 as not enough room in root. Would this work ...
fleamour's user avatar
  • 243
1 vote
0 answers
396 views

Extending XFS filesystem CentOS 7 Google Cloud

I have Googled everything, and literally nothing is working. Here is df -h: Filesystem Size Used Avail Use% Mounted on /dev/sda1 10G 7.7G 2.4G 77% / devtmpfs 103G 0 103G ...
Nick's user avatar
  • 163
1 vote
0 answers
3k views

Unable to mount XFS after rescue, why?

I am facing a strange problem with XFS file system. Below is the exact scenario: I'd a corrupt 2TB disk with XFS (I/O error), so with that decided to rescue data from old disk to new disk. I'd run ...
rh.mahfuz's user avatar
1 vote
0 answers
407 views

xfs partition table on RAID array corrupt

So, I'm usually fairly knowledgeable, and with google on my side am able to figure things out. This time however, I'm at a loss for figuring out what to do. background : I have a server I built, ...
p4cm4n88's user avatar
1 vote
0 answers
273 views

Unmount nested mounts not working after unmounted root of nest

I have a XEN Server, which I can't reboot. My boss has filesystems mounted as such strange way: /mnt/hda1/hda2 Then he unmounted them as such umount /mnt/hda1/ Now he can't unmount hda2 anymore. ...
user avatar
1 vote
0 answers
725 views

How is default readahead value determined

I have two different devices running XFS and the default readahead value set differs between the two disks. Why is that ? How is the default size computed ? Is it device dependent ? I might also add ...
Marius Cotofana's user avatar
1 vote
1 answer
3k views

Why are there so many XFS processes?

My centos7 system has seen many of the following XFS processes viewed using ps aux | wc-l to see about 500 processes, But I don't understand why there are so many XFS processes? Here's some of them ...
doubledna's user avatar
0 votes
1 answer
20 views

xfs_quota bsoft limit explanation

Using RHEL 8.9, I have xfs_quota applied to each home account folder under /home. In doing xfs_quota -x -c 'limit bhard=1g ron' /home I can observe for example a cp fail when trying to copy a single ...
ron's user avatar
  • 6,647
0 votes
1 answer
52 views

xfs_quota apply for all users under /home

in RHEL 8.9, I have a 100gb XFS formatted /home partition; all local user accounts in /etc/passwd have their home directories under /home. And all user accounts primary gid is and will always be 100 {...
ron's user avatar
  • 6,647
0 votes
1 answer
57 views

Can the data on corrupt XFS disk be saved?

I have 6 SSD disks (Disk model: Samsung SSD 970 EVO Plus 2TB) equipped on a Linux server (Rocky Linux 9.1). Two m.2 to pcie converter cards are used, one holds 4 disks and the other holds 2. All disks ...
Ben Lau's user avatar
0 votes
0 answers
50 views

Recovering an XML file on Oracle Linux 8 with LVM and XFS

I have a VM with Oracle Linux 8.8 virtualized on VMware, LVM is used and the format is XFS (v6). If I delete a file, for example xml (in users /home), is there any way to recover it? Its clear that ...
d2rkm4n's user avatar
  • 101
0 votes
0 answers
29 views

Recover modified files in xfs filesystem or find out what happened!

I would like to know if there is a way, I could narrow down what happened on our file system that cause over 700 files to be modified at the exact same date and time making the file sizes 0 bytes for ...
Ali K's user avatar
  • 1
0 votes
0 answers
103 views

Help make sense of xfs_logprint output

I recently came across this thread about recovering file in linux: Recover deleted files on Linux. After consulting the top answer which describes recovering in the ext file system family, I wanted to ...
amoosebitmymom's user avatar
0 votes
1 answer
197 views

Is there a case where Applications need to do it's own File corruption checks with file systems like EXT4 and XFS and recent Linux OS like Red-Hat 8

What I presumed is File systems like EXT4 and XFS. Writes blocks to disk (Could be a Hard Disk or a SSD) along with a checksum. When Reading back, if checksum fails, read operation will NOT return ...
aKumara's user avatar
  • 111