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.

2
votes
1answer
52 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 ...
0
votes
1answer
19 views

Can I tell from the system log, whether XFS was cleanly unmounted on the previous shutdown?

Is there an XFS equivalent of the fsck.ext4 message "recovering journal"? (See Does "recovering journal" prove an unclean shutdown/unmount? ). fsck.xfs is a no-op. So does the kernel log ...
1
vote
0answers
25 views

On CentOS 7 allow certain users Read & Write to mounted file systems of different types

I'm a relative linux noob and 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 ...
1
vote
2answers
74 views

How to determine freeze/unfreeze status of a filesystem?

I use xfs_freeze to freeze and unfreeze my xfs filesystem: xfs_freeze -f /blahblah xfs_freeze -u /blahblah After I run the unfreeze command I want to make sure that the filesystem is not frozen ...
1
vote
1answer
31 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
1answer
40 views

Permission denied when accessing a file with acls on xfs file system

I'm trying to use ACLs with the xfs file system on Amazon Linux (RHEL-ish distribution). However, when I configure acls and try to access a file with a test user, my access is denied. I currently ...
0
votes
1answer
71 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
0answers
35 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
28 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
96 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
1answer
129 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
48 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
99 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
267 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
63 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
52 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
889 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
201 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
2k 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
402 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
359 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
332 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
192 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
182 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
418 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
63 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
601 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
115 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
1k 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
1k 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
3k 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
538 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
4k 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
236 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
1k 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
949 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
655 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 ...
9
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
1k 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
689 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
345 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
3answers
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
3k 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
628 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
377 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 ...