Stack Exchange Network

Stack Exchange network consists of 175 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.

1
vote
1answer
68 views

XFS vs ext4 performance

According to this blog, XFS is old file system and works slowly with small files. My first impression when reading this was XFS was not good. However someone told me that XFS makes disk perform ...
0
votes
1answer
41 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
1answer
43 views

move system partitions to different physical drive with different filesystem

My RHEL7 system is configured like this: Filesystem Size Used Avail Use% Mounted on /dev/mapper/rhel-root 50G 18G 33G 36% / /dev/mapper/rhel-home 504G 147G 357G 30% /home /...
0
votes
1answer
29 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 ...
0
votes
2answers
50 views

Setting noatime via mount options vs no atime updates (A) file attribute

From man chattr When a file with the 'A' attribute set is accessed, its atime record is not modified. This avoids a certain amount of disk I/O for laptop systems. However when I am remounting ...
1
vote
1answer
55 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 ...
0
votes
0answers
34 views

How to calculate the deduplication ratio of a XFS filesystem?

ZFS offers a simple and straightforward way to show the deduplication ratio of it's pools in the output of zpool status. After a short research I don't find any function built into the XFS commands. ...
0
votes
0answers
305 views

Workaround for shrinking a XFS CentOS root partition

I run a cloud VPS with Centos 7 installed. Unfortunately, I could not customize disk partitions during installation so now I have no free space in the volume group automatically created because it is ...
2
votes
0answers
62 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
1answer
169 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
164 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
152 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
2answers
446 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
71 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
205 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
275 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
92 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
35 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
242 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
309 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
218 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
194 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
602 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
129 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
57 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
1k 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
311 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
3k 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
608 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
501 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
527 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
1answer
3k 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
4k 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-...
1
vote
0answers
510 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
76 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
1answer
893 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
156 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
3k 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
2k 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 ...
1
vote
1answer
4k 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
715 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
6k 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
328 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
2k 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
1k 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
699 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 ...
10
votes
4answers
6k 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
2k 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
786 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, ...