Questions tagged [xfs]
Questions about XFS filesystem, utilities and other situations where XFS filesystem is relevant.
236 questions
0
votes
2
answers
2k
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 ...
11
votes
1
answer
8k
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 ...
1
vote
1
answer
959
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)...
-2
votes
1
answer
2k
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"?
1
vote
0
answers
107
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
0
answers
3k
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 ...
0
votes
0
answers
113
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 ...
0
votes
1
answer
2k
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
1
answer
116
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 ...
2
votes
1
answer
573
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
1
answer
1k
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 ...
2
votes
0
answers
614
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 ...
1
vote
1
answer
601
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 ...
0
votes
1
answer
3k
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
...
0
votes
1
answer
316
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 ...
1
vote
1
answer
4k
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
1
answer
841
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
1
answer
1k
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
2
answers
3k
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 ...
0
votes
0
answers
2k
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 ...
0
votes
1
answer
4k
views
xfs: attempt to access beyond end of device
on a redhat 7.2 (I have no root access there) commands like ls, cat, run in/on some directories/files created within an xfs filesystem hangs. I also observe on dmesg output continous errors like:
[Thu ...
3
votes
1
answer
21k
views
[Firmware Bug]: the BIOS has corrupted hw-PMU resources and CentOS 7 not initializing
So I was on my desktop computer as usual, and then this happens out of nowhere:
For the little time that I've researched about the error, the first message [Firmware Bug]: the BIOS has corrupted hw-...
2
votes
0
answers
365
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 ...
-1
votes
1
answer
809
views
extending a 40TB xfs formated FS over LVM
I need to increase space on my data volgroup in a VM.
The VM is running CentOS 6.6, and it is not the root partition.
Two physical raw disks are currently two physical volumes, that are part of ...
3
votes
1
answer
9k
views
How can I view the superblock of an XFS partition?
I know that EXT superblock information can be found using dumpe2fs -h /dev/sda1, but what is the XFS equivalent of this? The best I have found so far is xfs_info /dev/sda1, but this doesn't seem to ...