Questions tagged [xfs]

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

68 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
211 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 ...
3
votes
0answers
759 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 ...
3
votes
0answers
2k 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 ...
3
votes
0answers
3k 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. ...
2
votes
0answers
59 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
96 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, ...
2
votes
0answers
1k 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 ...
2
votes
0answers
448 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 ...
2
votes
0answers
427 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
0answers
374 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
0answers
151 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 ...
2
votes
0answers
294 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. ?
2
votes
0answers
544 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 ...
2
votes
1answer
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 ...
1
vote
1answer
37 views

Increase disk size and change from MBR to GPT

I have a CentOS server on VMware that has, among others, a disk of 1.5TB, with a single xfs partition using the whole disk. This disk/partition is running out of space, so I need to increase its size ...
1
vote
1answer
77 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 ...
1
vote
0answers
178 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 ...
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 ...
1
vote
0answers
55 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
3k 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=...
1
vote
1answer
599 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
vote
0answers
104 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 ...
1
vote
0answers
850 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 ...
1
vote
0answers
43 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 ...
1
vote
1answer
116 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
1answer
178 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
0answers
440 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 --...
1
vote
1answer
902 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
0answers
901 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 * ...
1
vote
1answer
2k views

How to mount a xfs volume to centOS 7 ec2 instance /home directory

I created t2.medium instance and attached ebs volume to the instance Here are some useful information. sudo pvs PV VG Fmt Attr PSize PFree /dev/xvdb1 vg_home lvm2 a-- <200....
1
vote
1answer
163 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 ...
1
vote
0answers
357 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 ...
1
vote
0answers
2k 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 ...
1
vote
0answers
301 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, ...
1
vote
0answers
190 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. ...
1
vote
0answers
428 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 ...
1
vote
1answer
2k 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 ...
0
votes
1answer
27 views

Is it possible for an application to corrupt an entire filesystem?

OS is Debian 10. I was using Basilisk to install some old mac classic applications to a shared drive, ie "Unix Root", as the mac volume didn't have enough space. When viewing the installed ...
0
votes
0answers
23 views

Recover XFS Overwritten partition with backup disk

I added an OS disk as a secondary disk to a VM in Azure. It had boot problems suddenly after a VM resize with errors like: "error: no such device: root.". So I thought, I will add the disk ...
0
votes
0answers
52 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
36 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 ...
0
votes
0answers
54 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
0answers
32 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
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 ...
0
votes
0answers
374 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 ...
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
0answers
52 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 ...
0
votes
1answer
535 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 ...
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 ?