Questions tagged [xfs]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

xfs uses more space than it has stored in files

Why do I see more "used" space in df than in du? $ grep bk0092 /etc/fstab UUID=c614803f-49da-4eda-aeb1-c9b3e0056e73 /repo/bk0092 xfs defaults 0 0 $ df -h /repo/bk0092/ Filesystem ...
0
votes
1answer
54 views

rhel + how to increase sdb1 after increasing sdb disk

on our rhel 7.2 VM server we increased the sdb disk ( not LVM ) from 200 to 220G , as the following ( sdb is with xfs fs ) sdb 8:16 0 200G 0 disk └─sdb1 8:17 0 200G ...
0
votes
0answers
33 views

lsof not working in emergency mode?

I have Linux Centos 7. My server keeps booting in emergency mode: xfs (dm-0): failed to recover intents journalctl gives me: Failed to mount /sysroot Mounting /dev/dm-0 fails to mount. I'm trying to ...
0
votes
0answers
25 views

How to rebuild original file structure from the “Lost” folders that show in UFS Explorer Professional Recovery

"Documents" folder had been deleted on CentOS which used LUKS & XFS. UFS Explorer Professional Recovery has been able to recover what it seems all documents that were inside this folder ...
2
votes
2answers
270 views

How is the theoretical maximum file size on filesystems like XFS calculcated?

Documentation for XFS claims its current theoretical maximum file size is 8 exbibytes - 1 byte. However, I am wondering how this calculation was computed? I cannot seem to find discussion of this ...
0
votes
1answer
28 views

Mount points overlapped

I have a VM with RHEL 6 where I have several disks with their respective mount points, they are in xfs and each one has a label which is declared in the fstab for each mount point It happens that the ...
1
vote
1answer
51 views

Deduplicating Files while moving them to XFS

I've got a folder on a non reflink-capable file system (ext4) which I know contains many files with identical blocks in them. I'd like to move/copy that directory to an XFS file system whilst ...
0
votes
0answers
41 views

XFS and zero bytes files

I am trying to establish what has happened to my data. Before I go into the history, can anyone explan the discrepency between these two outputs; # du --si /var/media/footage/k0/09/99/88 1.6G /var/...
0
votes
1answer
66 views

lsblk + file system type not appears from lsblk

we have VM machine with disks as sdb sdc sdd ,,, etc we create ext4 file system on sdb disk as the following mkfs.ext4 -j -m 0 /dev/sdb -F mke2fs 1.42.9 (28-Dec-2013) Discarding device blocks: done ...
0
votes
0answers
31 views

The last mounted timestamp of the XFS

It seems that the XFS superblock data structure inside the xfs_sb.h does not include its last mounted timestamp record. So Why the designer and developer of the XFS would "discard" this ...
0
votes
0answers
11 views

Recover data after accidental “zpool create” on the wrong drive

I created a Zpool on top of an external drive that had an XFS partition full of data. I think the partition table got written over as it now shows a ZFS partition on the drive. Is there a way to ...
0
votes
1answer
38 views

Is there a file system out there that supports custom file size limit?

I'm aware that EXT4 has a max_dir_size_kb mount option to set up the max size of each directory. It doesn't have a similar option to specify the max size of individual files, though. Is somebody aware ...
0
votes
0answers
22 views

Missed RAM in Linux

I have two servers (Oracle Linux 7, x86_64, ) with "missed" RAM. uname -r returns 4.14.35-1902.10.2.1.el7uek.x86_64 I've read where is my memory in linux? and already checked memory by the ...
1
vote
0answers
136 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 ...
0
votes
2answers
37 views

How can I extend lvm+xfs with no free partitions

I'm stuck with a centos 7 vm with 1 disk that has 4 primary partitions created... and now I need to add more space: It currently looks like this - simplified: mount /dev/mapper/centos-root on / type ...
0
votes
0answers
278 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 ...
3
votes
2answers
260 views

How to check disk usage for folders containing reflinked files on XFS?

XFS supports copy on write (CoW), so it is not entirely clear what du will say if some of the bytes are shared across files. I'd like to find a way to check how much disk space a folder uses, not ...
0
votes
0answers
38 views

Preventing file & directory creation on a new XFS filesystem

I have created a 40MB disk and formatted it with XFS using a 2k Block size. Now I am trying to mount the file system so that no files or directories can be created - not even by the root account, ...
0
votes
0answers
14 views

optimal disk configuration for a disk with only inodes and hardlinks

I would like to use the filesystem as a reference tracker. I work on a system with lots of jobs where each job has a directory and every once in a while we clean up old job directories, in the job ...
0
votes
3answers
419 views

CentOS 8 Increase disk partition and /var file system while system is running

I have /var file system part of /dev/sdc1 disk. I need to increase this disk size from 25GB to 60GB. I have increase the disk size. Now I am looking for the correct steps to increase the sdc1 ...
0
votes
1answer
665 views

Why can't we reduce XFS filesystem?

I know that we can't reduce XFS file-system and it's not supported. However I would like to know the reason why xfs don't support shrink.
0
votes
0answers
51 views

Full system partition, moving system folders and editing fstab

I have two partition one with system and other partition with home and data. I found this question that have solution to my problem, but I'm not sure how exactly to apply it to my system, what I'm ...
2
votes
1answer
251 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
423 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
1k 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
999 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
39 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
56 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
22 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
59 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
3k 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
469 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
51 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,...
1
vote
1answer
2k 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
186 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
147 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 ...
1
vote
1answer
511 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
53 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
174 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
94 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
40 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 ...
1
vote
1answer
2k 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 ...
1
vote
2answers
888 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 ...
1
vote
0answers
818 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
1answer
32 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
42 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 ...
2
votes
1answer
920 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
434 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 ...
1
vote
1answer
282 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 ...
6
votes
1answer
1k 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 ...