Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [xfs]

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

0
votes
0answers
26 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
24 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
55 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
0answers
72 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
24 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
67 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
144 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
47 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 ...
0
votes
0answers
51 views

How XFS on RHEL7 can affect performance?

I've found out that xfs file system type is default for RHEL7. Is there any known issues with that fs? How can it affect performance? Is there a way to move back to ext? BTW, after moving from ...
1
vote
2answers
702 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
130 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
1k 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
312 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
2answers
299 views

Format a raw image to XFS in Proxmox VE

I have a system with Proxmox VE 5.1 and a LXC container with Fedora 27. The container has 2 disk (raw format), the rootfs and an additional mount point, both of them are in ext4, I want to format to ...
0
votes
1answer
232 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: [...
0
votes
0answers
155 views

XFS file system with RAID0 configuration

As for following article https://lwn.net/Articles/476263/ I am trying to achieve the best performance to find a string from the 12 different files with 12 dedicated threads.For that I have configured ...
0
votes
1answer
2k views

xfs_repair could not find valid secondary superblock

I had 3 bad tracks on my hard drive so I used Disk Genius to fix it,ofcourse the data near the back tracks were wiped out.Then I booted from linux rescue disk and run xfs_repair /dev/sda1 xfs_repair /...
1
vote
1answer
2k 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-...
0
votes
0answers
153 views

Centos 7 reduce xfs root file system - Is it possible? [duplicate]

I have centos 7 server, got new LUN and increased root filesystem logical volume. Root file system is xfs type. Is it possible to reduce the root file system with-out taking any outage? df -h / ...
1
vote
0answers
370 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
0answers
60 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 ...
0
votes
0answers
489 views

CentOS server failed to mount /sysroot: bad initramfs?

Our VPS SSD host based on KVM has experienced crashes during the last months: I was given just two screenshots of logs from my collegues and no journalctl log at all. We have two other hosts but from ...
-1
votes
1answer
96 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 ...
1
vote
1answer
2k views

Centos 7 - migrate standard root partition to LVM

I would like to migrate standard root partitions (Centos 7 with xfs filesystem) to the LVM partition, unfortunately every attempt fails and after reboot the system won't start (I suspect problem with ...
0
votes
1answer
901 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 ...
2
votes
1answer
962 views

mounting xfs linux partition in High Sierra

I am trying to mount a 2TB xfs partition on an external disk in a new Macbook Pro with High Sierra. I have already installed osxfuse-3.7.1 and fuse-xfs-0.2.1 ; it did not work out. The disk is not ...
0
votes
1answer
2k views

How do I mount an XFS partition enabling ACL?

I tried using: sudo mount -t xfs -o acl /dev/sdb1 /mnt/ssd I got: mount: wrong fs type, bad option, bad superblock on /dev/sdb1. BTW, I'm using Fedora 25.
1
vote
1answer
455 views

how to decrease partition size + lvm

on /var we have 101G on the Linux red hat server grep var /etc/fstab /dev/mapper/vg10-00_var /var xfs defaults 0 0 we want to decrease it to 30G df -h /var Filesystem ...
3
votes
1answer
3k views

How to recover xfs data after rm?

Is it possible to recover files that have been rm'ed from an XFS filesystem? How can I recover any files assuming they haven't been overwritten? Edit: The existing questions regarding this topic are ...
0
votes
1answer
179 views

Amazon EBS - extend LVM partition (non destructively)

I have an Amazon EBS volume that I'm using as a backing store for MongoDB, and I want to extend it. The volume holds a single partition, which is an LVM partition type. That partition belongs to a ...
1
vote
1answer
847 views

enable to mount /dev/centos/home after lvresize, bad superblock

I wanted to create a separate Logical Volume out of centos-home LV. I reduced the size of home lv using lvreduce command and created a new volume with 100%FREE space. But when i tried to login to a ...
0
votes
1answer
767 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....
5
votes
1answer
628 views

Why 576GB of files on ext4 doesn't fit on a 600GB xfs? [closed]

I want to test XFS dedup feature, so i put a new HD to my fileserver VM. I started rsync files from old disk to new one, but I got "No space left on device". This is my df -h output: Filesystem ...
6
votes
3answers
4k views

Does any file system implement Copy on Write Mechanism for CP

We have seen OS doing Copy on Write optimisation when forking a process. Reason being that most of the times fork is proceeded by exec , so we don't want to incur the cost of page allocations and ...
1
vote
1answer
908 views

Error setting up a new xfs file system: unknow fs type

I am trying to setup a new xfs filesystem in Debian 9/stretch. My kernel version is 4.9.0-3-amd64. For that I installed the package xfsprogs, and initialised the new partition with: mkfs.xfs /dev/...
0
votes
1answer
635 views

XFS on LVM on soft raid10 stripe alignment

I am working on setting up a backup server using a bunch of 3TB disks. I've put a lot of thought into this, and I'd like to use the following setup: I'll partition the disks with a single partition, ...
0
votes
1answer
316 views

CentOS7 QUOTA xfs

I can not enable disk quotas for /home (/dev/md2). For / (/dev/md1) it works fine. What am I doing wrong? cat /etc/fstab # <file system> <mount point> <type> <options> <...
3
votes
1answer
2k views

How do YOU detect a failed XFS filesystem?

Currently I monitor for a failed filesystem (as a result of a failed disk, controller, whatever) by checking syslog for messages like this: 2017-06-15T17:18:10.081665+00:00 2017-06-15T17:18:10+00:...
28
votes
1answer
4k views

Why is ext4 only recommended up to 16 TB?

In the ext4 wiki article I've seen that ext4 can be used up to 1 EiB, but is only recommended up to 16 TiB. Why is that the case? Why is XFS recommended for larger file systems? (ELICS: Explain me ...
1
vote
2answers
2k views

extend disk space in VMWare with no Volume groups

I have CentOS7 installed as guest in VMWare Fusion. Need to increase the size of my disk. Following this guide. Got to step 3) Extend your Logical Volume with the new partition and created a physical ...
2
votes
0answers
552 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
0answers
326 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 ...
7
votes
1answer
2k views

fstrim doesn't seem to trim a partition that uses lvm and dm-crypt

I try to setup Fedora 25 with dm-crypt and LVM, but struggle to make TRIM work. $ sudo fstrim -av /boot: 28.6 MiB (30003200 ...
1
vote
1answer
509 views

Does fio corrupt file system (XFS on mdadm, RAID10)?

I'm doing some intensive testing on a mdadm (software RAID) partition made of 6 SSDs using fio (Ubuntu 16.10 Server). The partition was formatted using XFS, is unmounted during tests, contains no ...
0
votes
0answers
16 views

Can multiple distributiond share a single /home partition? [duplicate]

I will be installing Manjaro(Arch based distro) and elementaryOS(Ubuntu based distro). I already have a 8G swap that is shared by multiple distributions. I wish to share a single /home partition for ...
4
votes
4answers
22k views

How to repair CentOS ? Failed to mount /sysroot

I have installed centOS 7 on my machine and I am using it for last 4-5 month it was working fine. But few days back due to power cut (un-proper shut down) there is something bad happened with my ...
0
votes
1answer
366 views

“xfs_copy” equivalent for ext4?

I love xfs_copy's ability to clone an xfs file system from disk to disk. Is there an equivalent tool to clone an ext4 file system? I've tried dump/restore, but it requires the destination file ...
4
votes
1answer
284 views

XFS Volume has wrong blocksize after being mounted

I did the following: $ mkfs.xfs -b size=4096 /dev/xvdf meta-data=/dev/xvdf isize=256 agcount=4, agsize=131072 blks = sectsz=512 attr=2, projid32bit=1 ...
0
votes
1answer
113 views

What is the safe fill limit of XFS partition?

Recently i purchased couple of 4TB drives with the intent of archiving camera footage on them. Naturally, I'd like to jam as much data on the two drives as i can. Once the partition is full, it should ...
6
votes
1answer
2k views

rsync of sparse qemu image increases disk size

I have a sparse raw qemu image that I want to transfer to another server. qemu-img info gives me: image: sparse.img file format: raw virtual size: 50G disk size: 16G I transfer it with: rsync -azhP ...