Questions tagged [xfs]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
29 views

xfs_repair , complain about contains a mounted and writable filesystem

Since we have the following from dmesg [37785.390633] XFS (dm-2): Metadata corruption detected at xfs_dir3_block_read_verify+0x5e/0x110 [xfs], block 0x7f8af18 [37785.390634] XFS (dm-2): Unmount and ...
0
votes
2answers
33 views

repair file system by edit the fstab file

is it possible to run xfs repair by re-edit the fstab file? /dev/mapper/vg-linux_root / xfs defaults 0 0 UUID=7de1dc5c-b605-4a6f-bdf1-f1e869f6ffb9 /boot xfs ...
0
votes
0answers
19 views

how to repair OS with xfs file system

we have rhel machine version 7.2 after some testing , we understand that OS file system became corrupted and we want to use with xfs_repir in order to repair the disk /dev/sda what the procedure ...
0
votes
0answers
36 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 ...
0
votes
0answers
11 views

XFS Error: Internal error !link at line 484 of file fs/xfs/xfs_iops.c. Caller xfs_vn_get_link_inline+0x12/0x50 [xfs]

So the kernel is throwing that error. I already unmounted and ran xfs_repair, rebooted the system and am still getting these errors. Any idea what's causing them and any solutions other than ...
0
votes
1answer
26 views

Added space to LVM, shows up in Size, but as Used

My root partition is XFS on LVM. Before I did anything, I had two physical disks which were combined using md as /dev/md126 into a PV. That PV was the only member of a VG centos_x5backup, and there ...
1
vote
0answers
14 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 ...
0
votes
0answers
23 views

Change partition sizes on vm server

I am gathering logs on a server using rsyslog to forward to the server and am having some issue with the partition sizes. Here is the current filesystems and lvms Filesystem Type ...
1
vote
1answer
104 views

Find the filename associated with an inode number on XFS filesystem

We have an inode number that we're trying to associate to an actual file name. The filesystem is XFS. Looking there are examples that purport to be able to accomplish this with xfs_db and/or ...
0
votes
2answers
69 views

How to corrupt xfs/ext4 metadata

I want to develop a system that repairs corrupted xfs/ext4 file system automatically using pxe rescue. To do so, I need to reproduce fs corruption several times during developing. It's nice that ...
0
votes
0answers
41 views

is it right to mix diff file system between kafka machines

we have kafka cluster with 3 machines each kafka machine use disk for DATA , and each disk is 20TB size the file system on the disk is ext4 now we want to add additional 5 kafka machines but to ...
1
vote
1answer
41 views

What is the right mkfs cli in order to create xfs file-system on huge disk

We need to create xfs file-system on kafka disk The special thing about kafka disk is the disk size kafka disk have 20TB size in our case I not sure about the following mkfs , but I need advice to ...
3
votes
0answers
249 views

Is there a way to enable reflink on an existing XFS filesystem?

I currently have a 4TB RAID 1 setup on a small, personal Linux server, which is formatted as XFS in LVM. I am interested in enabling the reflink feature of XFS, but I did not do so when I first ...
0
votes
0answers
33 views

Software RAID slows down while emptying buffer

I am experimenting with mdraid in CentOS 7.6, trying to understand these results from fio. I am doing a sequential write to a 4 stripe array, and the speed starts out good while it writes to the RAM ...
1
vote
1answer
55 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)...
1
vote
2answers
305 views

Why is NFSv4 not translating POSIX ACL's in a usable way?

I have an XFS filesystem in which some folders (using mode setting) have no public accessiblity, with group owner having read-only privileges. There is a program (which runs as user cryosparc_user) ...
-1
votes
1answer
222 views

What is the difference between “dentry” and “inode table” in Linux FS? [duplicate]

Are dentries and inode table same thing? If not what is the purpose of each and where are they stored? How does the filesystem exactly work specifically "ext4" or "xfs"?
2
votes
2answers
686 views

Change filesystem without losing data

I've got 16 nodes of elasticsearch (RHEL 7) - 18TB each, every node has a ext4 filesystem. For better efficency I need to change to XFS filesystem. Is there any tool / way which help me change ...
2
votes
0answers
37 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,...
2
votes
1answer
30 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, ...
0
votes
0answers
15 views

keep directory with 3M files/300K dirs in disk cache

I have a slow disk with 3mill images in ~300K directories, linux mint on ubuntu 18.04. df -lk: /dev/sdb1 1952558140 1214544040 738014100 63% /data cat /etc/fstab: UUID=<uid> /data ...
2
votes
0answers
282 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 ...
1
vote
0answers
218 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 ...
1
vote
0answers
63 views

Centos mysterious disk space use df vs du [duplicate]

My root disk is showing 100% filled space, but checking space used via du it is far less. I tried to zero "deleted" files but still the space is not recovered. It is an xfs file system, but since it ...
5
votes
1answer
7k views

XFS vs ext4 performance [closed]

According to this blog, XFS is old file system and works slowly with small files. My first impression when reading this was XFS was not good. However someone told me that XFS makes disk perform ...
0
votes
1answer
471 views

Unable to boot on gentoo: GRUB2 - xfs - NVME SSD

I am currently configuring gentoo on a new machine using an NVME 500Gb SSD. I reboot my computer, select the disk I want to boot off of, grub2 initializes, and then, the error I get is the following: ...
0
votes
1answer
132 views

move system partitions to different physical drive with different filesystem

My RHEL7 system is configured like this: Filesystem Size Used Avail Use% Mounted on /dev/mapper/rhel-root 50G 18G 33G 36% / /dev/mapper/rhel-home 504G 147G 357G 30% /home /...
0
votes
1answer
42 views

Will relabeling a partition destroy data

Is it possible to relabel a partition that was accidentally relabeled with a different file system type? We think we accidentally relabeled sdb1 as XFS when it should have been labeled lvm(8e), after ...
0
votes
2answers
349 views

Setting noatime via mount options vs no atime updates (A) file attribute

From man chattr When a file with the 'A' attribute set is accessed, its atime record is not modified. This avoids a certain amount of disk I/O for laptop systems. However when I am remounting ...
1
vote
1answer
263 views

XFS, GlusterFS v5.5 and the Year-2038 problem

I tried out default retention periods e.g. to set the Retention date to 2071. When I did the WORMing, everything seems to be OK. From FUSE and also at Brick-Level, the retention was set to 2071 on all ...
2
votes
0answers
210 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 ...
2
votes
1answer
310 views

Why do some filesystems perform better at storing large files?

I read about the XFS filesystem and found that it is good at storing large files. Why are some filesystems (XFS) good at storing large files and others (ext4/ext3) are not? Is it because of the ...
0
votes
1answer
367 views

Can I tell from the system log, whether XFS was cleanly unmounted on the previous shutdown?

Is there an XFS equivalent of the fsck.ext4 message "recovering journal"? (See Does "recovering journal" prove an unclean shutdown/unmount? ). fsck.xfs is a no-op. So does the kernel log ...
1
vote
0answers
248 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 ...
2
votes
2answers
1k views

How to determine freeze/unfreeze status of a filesystem?

I use xfs_freeze to freeze and unfreeze my xfs filesystem: xfs_freeze -f /blahblah xfs_freeze -u /blahblah After I run the unfreeze command I want to make sure that the filesystem is not frozen ...
1
vote
1answer
105 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 ...
1
vote
1answer
616 views

Permission denied when accessing a file with acls on xfs file system

I'm trying to use ACLs with the xfs file system on Amazon Linux (RHEL-ish distribution). However, when I configure acls and try to access a file with a test user, my access is denied. I currently ...
0
votes
1answer
648 views

Merge mount points

Basically, I need to remove the /home mount point, and just use the / mount point. Filesystem Size Used Avail Use% Mounted on /dev/mapper/rhel-root 50G 5.6G 45G 12% / devtmpfs 7.8G 0 7.8G 0% /dev ...
1
vote
0answers
245 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 --...
0
votes
1answer
60 views

How to detect RO FS when Linux can't [closed]

So I've got several disks on several servers who lost their disks due to a brief network delay. according to mount and /proc/mounts, the disks are rw. When I sudo or try to access a faulty mount, I ...
0
votes
1answer
440 views

mount failed /home partition for booting

I tried to change my /home username so I switch to tty0 and change the username by usermod command but because some pid is active , I can't modify user. So I kill those proccess with kill command. ...
0
votes
1answer
809 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 ...
1
vote
1answer
444 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 ...
1
vote
1answer
370 views

What is “spinodes” in the output of xfs_info?

The output of xfs_info is as follows: meta-data=/dev/mapper/vg0-mirror.sjtug isize=512 agcount=13, agsize=268435455 blks = sectsz=512 attr=2, projid32bit=1 ...
0
votes
1answer
1k views

XFS How can I verify that barriers option is turned on?

Can anyone tell me how to determine if the barriers option is turned on for my XFS filesystem? The XFS docs say that it's on by default since kernel 2.6 but I want to know for sure that it's on. I'm ...
0
votes
1answer
385 views

Shared disk files synchronization

I have two Centos 7 servers with a shared disk mounted via fstab with: /dev/sdb /mnt/shared xfs rw,suid,dev,noexec,auto,user,sync 0 0 I can see the disk and its content on both servers, but ...
1
vote
2answers
2k views

how to perform xfs_repair on disk that is actually UUID

we have redhat machines version 6.x we want to fix the file-system on one of our disks UUID=198s5364-a29c-429e-b16d-e772acd /data_SA xfs rw,noatime,inode64,allocsize=16m 1 2 but ...
1
vote
2answers
528 views

what is the best approach to fix file-system corruption on huge data

we need to fix filesystem corruption on sdb on redhat 6 version sdb is xfs file system df -h | egrep "Filesystem|/data" Filesystem Size Used Avail Use% Mounted on /dev/sdb 8.2T 7.0T ...
4
votes
2answers
5k views

big data + what is the right filesystem ext4 or xfs?

We have Linux Redhat version 7.2 , with xfs file system. from /etc/fstab /dev/mapper/vgCLU_HDP-root / xfs defaults 0 0 UUID=7de1ab5c-b605-4b6f-bdf1-f1e8658fb9 /boot ...
0
votes
0answers
864 views

Zero Free Space on Centos 7 KVM

I have a number of Centos 7 KVM virtual machines running under proxmox. Is there a way to ZERO out all unallocated space with zeros? I have some that are EXT4 and some that are XFS. Reason I want ...