Questions tagged [xfs]

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

Filter by
Sorted by
Tagged with
-2
votes
0answers
32 views

Create and Mount filesystem on RHEL 7

I am new to Unix and I want to create and mount a dedicated filesystem on RHEL 7 for directory /opt/tools/xyz so that I can install some software in that directory. The dedicated filesystem should ...
2
votes
1answer
74 views

Can I merge an XFS partition with another XFS partition?

I am using an SSD where I have 3 partitions: $ lsblk /dev/sda NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 111.8G 0 disk ├─sda1 8:1 0 2M 0 part ├─sda2 8:2 0 108G ...
0
votes
1answer
26 views

Backup and restore of root file system (Ubuntu 20.04)

It seems I will have to move my root FS from XFS v4 to v5 because there seems to be a move to remove v4 support from Linux kernel. I can use tar to backup and restore files but I am not sure if that ...
1
vote
0answers
56 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 ...
0
votes
0answers
70 views

Comparison of File system for 500 million of 50KB files for best write performance

linux kernel 5 (ubuntu 18.04) Use case is writing 100K files (50KB) in bursts, file system half 500million of files (per folder can be a small number if needed) and deleting old files all of the time. ...
0
votes
1answer
20 views

Are XFS quotas and linux quotas part of the same thing?

I see there are two ways to create quotas, there is xfs_quota and then this suite of utilities like edquota and repquota. It seems all of these utilities can provide inode quotas. How does that tools ...
0
votes
0answers
17 views

Failed command for vdo2?

This was a practice exam question... to create a vdo volume with a logical size of 16GB on a 4GB disk. So I did the following vdo create --name=vdo2 --device=/dev/sdc --vdoSlabSize=128M --...
0
votes
1answer
16 views

Fixing xfs fs error lives on home directory

How to fix xfs fs error on home directory as unmount it will get denied/prevented ?
-1
votes
1answer
20 views

Should the storage device be stopped before using xfs_growfs?

My cloud server has an external device formatted as XFS. After expanding the volume, I will need to run the command: $ sudo xfs_growfs /dev/sdb Since it is critical for a service to keep writing on ...
0
votes
1answer
80 views

xfs_repair /dev/sdb + could not find valid secondery superblock

we have rhel 7.2 machine , and machine is VM type since one of the machines disk failure,we performed xfs_repair /dev/sdb ( in single user mode ) finally after 1 hour we get the following message ...
0
votes
1answer
41 views

increase /var partition by adding few disks

Before one year I extend the /var on the redhat 7.x server as the following from 100G to 200G notes: a. VG-A is the VG b. server is VM server c. file-system is XFS procedure: 1. pvcreate /dev/sdb 2. ...
1
vote
0answers
28 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,...
0
votes
0answers
19 views

xfs project quota - Project Removal

I can successfully setup and use the xfs project quota on Ubuntu. When I am done with the project, I wish to remove the directory and remove the quota information from the config files. I have ...
0
votes
0answers
342 views

xfs filesystem - changing ftype=0 to ftype=1

I have Centos 7.7 with xfs filesystems where each was created with ftype=0, for example: naming =version 2 bsize=4096 ascii-ci=0 ftype=0 Is is possible to change/convert it to ftype=...
0
votes
1answer
23 views

XFS space full and also inode got full too? How could this happen?

# df . -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/mapper/vgFOO-lv_bar 53136 52857 279 100% /bar # df . -h Filesystem Size Used Avail Use% Mounted on /...
0
votes
0answers
20 views

birth/crtime timestamp is recorded on one xfs but not the other xfs filesystem

Two different xfs filesystems on two different Fedora. Why one of them records Birth(crtime) in the inode and why the other one doesn't? How to find the configuration/attribute differences between ...
0
votes
1answer
92 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. (...
-1
votes
1answer
48 views

Linux start without mount to /var

after reboot the rhel machine , we noticed that server isn't up and when access the OS to single user mode we can see that /var not mounted therefore we perform xfs_repair but its hang for 5 hours ...
0
votes
0answers
66 views

1T USB drive will not accept ext4 or xfs filessystem

I bought two 1T USB drives that I wanted to use for a backup media. They came default with exFAT on them and I can mount them with fuse drivers on Centos. But I would rather use a native filesystem ...
1
vote
0answers
21 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 ...
0
votes
0answers
23 views

XFS partition in Volume Group is suddenly showing up as Atari partition

I have a server with a large amount of data stored in an XFS partition within a Volume Group spanning a couple physical drive and numerous segemnts/extents. Suddenly, in the last couple hours, the XFS ...
0
votes
1answer
534 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
124 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
26 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
404 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
20 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
27 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
29 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
27 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 ...
2
votes
1answer
455 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
171 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
113 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 ...
4
votes
1answer
496 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
37 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
83 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
700 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
497 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
2k 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
43 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
52 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
16 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
503 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
297 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
84 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 ...
9
votes
1answer
18k 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
601 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
205 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
44 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
493 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 ...