Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

How can I safely modify a file on an XFS filesystem mounted by a different or hibernated system?

Recently I broke my system by modifying a configuration file such that the root user would no longer accept login due to PAM crashing. I did not want to power off the system, and instead wanted to ...
fuzzyTew's user avatar
  • 134
0 votes
0 answers
52 views

need to extend / xfs file system rocky machine

trying to extend / on xfs file system growfs is not working proberly and doesn't affect / it gives me the below error data size unchanged, skipping I need to extend / which is xfs file system
Yasmin Maysra's user avatar
0 votes
1 answer
84 views

XFS block size confused on ubuntu

I format my partition (/dev/sda1) to XFS filesystem with a block size of 64KB (mkfs.xfs -b size=65536 /dev/sda1). The xfs_info shows exactly the bsize but the blkid shows only 4096 bytes. Please help ...
Le Minh's user avatar
0 votes
1 answer
136 views

Report quota of a XFS filesystem mounted with NFS

I have setup quota on an XFS filesystem and users can run this on that server to get their quota report: xfs_quota -c 'quota -hu user' /xfs_partition However I would like users to be able to retrieve ...
Gabriel Cretin's user avatar
0 votes
1 answer
183 views

How to extend / partition by reducing /home partition in a live linux server?

We are running a CentOS Linux server to host websites. The website data are stored in /home partition and it is mounted separately. Here's it: [root@myserver ~]# df -h Filesystem Size ...
MinHeap's user avatar
2 votes
2 answers
7k views

how to delete a xfs file system from logical volume (lvm2), to achieve the goal being this logical volume without any file system?

I have LVM RedHat 8 intall and there's one Volume Group there. Fri May 19 [michal@Ora2 ~]$ sudo vgdisplay --- Volume group --- VG Name ol System ID Format lvm2 ...
michal roesler's user avatar
2 votes
2 answers
1k views

Expanding XFS file system from another device?

I have two virtual devices on a fedora system. Both are in a raid 5 configuration. No LVM is in place. The system it’s self is installed on one of the devices. That same device is also the one with ...
LCaraway's user avatar
  • 123
7 votes
2 answers
6k views

xfs: difference between block size and sector size

mkfs.xfs has two following options among others: -b block_size_options This option specifies the fundamental block size of the filesystem. The valid block_size_options are: ...
LetMeSOThat4U's user avatar
1 vote
0 answers
359 views

How do you Defrag an XFS file system

My old workstation, has /var /usr and /home mounted on an xfs file system, and it seems to spend most of its time grinding away, and getting slower and slower, much like windows used to 20 years ago, ...
sibaz's user avatar
  • 371
1 vote
0 answers
539 views

Running xfs_repair on hardware raid while still rebuilding?

Should I allow a hardware raid5 array rebuild to complete after swapping out a drive PRIOR to running an xfs_repair on the volume? Currently xfs_repair keeps failing in Phase 7 at the same spot: Phase ...
Jebediah Pennywhistle's user avatar
0 votes
1 answer
1k views

xfs_repair runs instantly, surely this should take some time to run?

I'm trying to troubleshoot some issues with multiple database engines crashing and logs suggesting corruption while reading from disk, so I'm running xfs_repair on a 2TB NVMe which contains the files. ...
synkyo's user avatar
  • 101
1 vote
1 answer
587 views

`fio` does not timeout even specified?

# fio --name=random-write --directory=/mnt/test/ --ioengine=posixaio --rw=randwrite -bs=4k --numjobs=1 --size=4g -iodepth=1 -runtime=600 --time_based --end_fsync=1 random-write: (g=0): rw=randwrite, ...
HCSF's user avatar
  • 255
1 vote
0 answers
623 views

Convert ext4/xfs file system to btrfs with minimal application impact

I'm trying to find a way to convert the file system of app servers (some of which run ext4 and some xfs) to btrfs. Preferably, I'd like to do this without needing to turn off the services. So far I've ...
numX412's user avatar
  • 11
2 votes
3 answers
2k views

How to force re-read XFS file system contents

In our computing cluster we have set up a simple but quite effective way of serving data to computing nodes. The storage system provides to luns that are merged with LVS and on top of that we build a ...
GoNiS's user avatar
  • 23
2 votes
2 answers
390 views

AWS XFS performance issues. Stripped setup vs single disk setup

I wanted to share an issue (I guess I may be misunderstanding some concepts) that I'm facing with some benchmarks I'm doing to XFS setups, as we are going to recently migrate a service to a new ...
David Barranco's user avatar
0 votes
0 answers
328 views

RHEL + OS with XFS file system while adding additional partition with diff definition

We have the following disk - sda ( in server production - very important server ) sda is the disk of the OS ( rhel 7.2 ) , and file system is xfs sda is physical disk Xfs created with - mkfs.xfs -f -...
King David's user avatar
-1 votes
2 answers
402 views

Docker installation on RHEL 7.2 and file system requirement

We have old RHEL machine version 7.2 And we prepare to install docker service on this server The problem is that server's filesystem was created with ftype=0 parametre and docker requires ftype=1 One ...
King David's user avatar
3 votes
1 answer
2k views

Confirming parameters for XFS filesystem and LVM volume striping over 2 ADAPT (RAID6-like) volumes

We are setting up an ADAPT0 (RAID-60-like) configuration for a file server. We have six disk pools. Each consists of 14 disks and is set up using ADAPT. According to Dell's official white paper, ADAPT ...
Nicolas De Jay's user avatar
0 votes
0 answers
199 views

Folder in Ubuntu Became a File and the other Show Question Mark in Owner/Group

I encountered a very weird issue, appreciate if someone could help. One of my folder stored in a LVM2 XFS filesystem (mdadm RAID6), silently became a file and a folder showing question mark on both ...
teclinux's user avatar
2 votes
1 answer
1k views

Why does active-active configuration degrade performance compared to failover?

We are setting up the new storage for an HPC compute cluster that we are managing for applied statistics, bioinformatics, and genomics. Configuration We have the main enclosure with a Dell EMC ME4084 (...
Nicolas De Jay's user avatar
1 vote
1 answer
367 views

Organizing millions of files in ftp with btrfs file system

I have FTP that should handle about 1 million files if not more. file sizes are variable between 1MB to 100Mb but the have average of 30MB. We have about 1000 resources and hundreds of thousand site ...
nima moradi's user avatar
0 votes
0 answers
238 views

linux filesytem options for vmware esxi nfs datastore

I want to use linux based NFS datatstore in vmware esxi 6.5 .Which linux file system is best suited for this prurpose ? I tried xfs,but it has defrangementation issue mentioned here https://blog....
Babasaheb's user avatar
2 votes
2 answers
27k views

Resize partition using parted

There is a pretty big file-server(~85TB) running xfs file system, on Centos 6.9 which we use for our backups. We were out of space, so I added 10 new similar drives to the array and rebuilt RAID 6 ...
user8802482's user avatar
2 votes
2 answers
2k views

Failed XFS after resizing partition

I pretty much followed the same general idea as here: Resizing a partition -Resize VMware disk: Through vSphere, resize disk from 100GB to 300GB (Reboot VM) -Delete partition (fdisk /dev/sdb, d, 1) -...
Marco Shaw's user avatar
2 votes
2 answers
1k views

XFS Realtime (CONFIG_XFS_RT), Is it really usefull for high i/o servers?

Recently we got more crashes and i/o errors from XFS filesystem. The reason what we thinks about it because of high disk i/o. We are uploading several GB's of data and deleting per week for big data ...
James Arems's user avatar
2 votes
1 answer
2k views

File system, that handles over 2 million files

I'm going to store files in one folder in my server. The amount of files will exceed 2 million. Each file size will have range between 5MB - 100MB. What kind of file system can handle well that ...
Mr.D's user avatar
  • 125
-1 votes
2 answers
2k views

Centos 7 Move storage space from one filesystem to another

I have a server using Centos 7, and with the storage capacity allocated as such: What I would like to do is take some of the space from the /dev/mapper/centos-home file system and give it to /dev/...
Vaishal Patel's user avatar
3 votes
2 answers
26k views

Understanding XFS inode limits

I reached the inode limit on my XFS partition. There are plenty of questions about this. Some suggest the answer is to increase the maximum percentage of space allocated for inodes. Or, as the ...
Synesso's user avatar
  • 219
1 vote
0 answers
249 views

XFS filesystem over 1 PB in size

My business requirements (licensing) require me to create a single XFS filesystem of over 1 PB with potential to grow to 2-3 PB in the future. This is to use as a backup repository so lots of ...
Yolo Perdiem's user avatar
0 votes
1 answer
2k views

Restoring logical volumes to their original sizes after running lvreduce and screwing things up in CentOS 7

Should have read more on the subject before attempting this, but now I am much more informed... screwing things up tends to do that. Only learned of the shortcomings of xfs after the fact. The OS was ...
cheslijones's user avatar
1 vote
1 answer
792 views

How to benchmark the performance of XFS with a large number of files?

I have a single server running some code that creates millions of small files all in a single directory. At first, the code runs extremely fast. After a day or so, it begins to slow down quite a bit. ...
Franz Kafka's user avatar
3 votes
0 answers
2k views

why my XFS file system got corrupted? root cause analysis

I have a block SAN storage volume mounted to my server via FC, I have formatted the volume with XFS. I started experiencing file system corruption that can be easily repaired with xfs_repair, ...
user1007727's user avatar
-1 votes
2 answers
7k views

How to convert ext2 to xfs file system on Centos 7

I want to convert my partition file system ext2 to xfs since I will be dealing with larger files. I am not quite sure how to do it, should I convert ext2 to ext4 first, then ext4 to xfs or direct ...
Lunatic Fnatic's user avatar
1 vote
1 answer
215 views

Dir size increases after rsyncing to a different machine with same configuration

Have a MySQL (percona, 14.14 Distrib 5.6.28-76.1) machine with a 1TB SSD hosting around 712Gb of mysql data. MySQL has 4 databases, with, say database1, taking major space, 656Gb. Lets call this ...
Gautam Somani's user avatar
3 votes
2 answers
2k views

Optimizing storage of 10-20 million files on RAID5 (currently using LVM+XFS)

Although I've browsed some of the questions here, I think every situation is different and maybe requires a totally different solution. What I have now: Linux software RAID5 on 4x4TB enterprise HDD ...
jazzman's user avatar
  • 51
9 votes
2 answers
1k views

Can Btrfs use SSD for metadata and leave bulk data on HDD?

is it possible for Btrfs to use SSD for metadata only & leave bulk data on less costly storage such as HDD? I refered to this page Using_Btrfs_with_Multiple_Devices and can not find a solution. ...
zJay's user avatar
  • 191
1 vote
0 answers
2k views

XFS On VMware VM Fails With Bad Magic Number

I have almost exactly the same problem as described here. I am on RHEL7. 3.10.0-229.4.2.el7.x86_6 Inside vmware VM. file -s /dev/sdb /dev/sdb: LVM2 PV (Linux Logical Volume Manager), UUID: 89o2LY-...
user3081519's user avatar
7 votes
3 answers
5k views

What does sunit=0 and swidth=0 mean for XFS file system?

I created an XFS file system using default parameters at the time of creation of a system. Now looking at the output of xfs_info, it show 0 for the values of sunit and swidth. I can't seem to find ...
mhucka's user avatar
  • 699
5 votes
4 answers
2k views

Effectively handling 2+ million files

I have a file based DB that has about 2M files stored in 3 levels of subdirectories. 2/2/6253 2/2/6252 ... File a vary from 30 bytes to 60 KB. Whole DB is Read Only. DB is about 125 Gigabytes big. ...
Worker's user avatar
  • 647
2 votes
2 answers
12k views

XFS as default filesystem in the enterprise

After reading up on the whole data=ordered fiasco that EXT4 went through and how much support there was on it accommodating "broken" applications, I was surprised that a filesystem that is not ...
Thomas Lynema's user avatar
-2 votes
2 answers
2k views

Which file system best handle multiple, concurrent write sessions [closed]

Which file system best handle multiple, concurrent write sessions Which file system can handle more concurrent write sessions; let’s say 32 write sessions? The file system has to handle 32 ...
Jijo John's user avatar
  • 101
3 votes
2 answers
2k views

FS for many small files, mostly reads?

I need a direction since all the blogs/benchs seems to contradict. Goal: Having a lot of small files on FS in a directory tree fashion similar to this AB/CD/EF... Two size groups : G1 : 10-20 kB G2 : ...
Larry's user avatar
  • 145
3 votes
4 answers
7k views

Cannot install centos 6.4 with XFS

I would like install centos 6.4 and use XFS as filesystem for some partitions in my configuration. But Anaconda don't propose XFS in the filesystem choice. Then I try to install in text mode but in ...
Atchoum's user avatar
  • 31
1 vote
4 answers
558 views

Slower file create on faster server. Why?

I have thwo servers. The old one is 24GB RAM, i7-950 @ 3,0Ghz, 2x 1,5TB SATA HDD (ST31500341AS). The new is 32GB RAM, i7-3770 @ 3,4GHz, 2x 3,0TB SATA HDD (ST3000DM001-9YN166). Now I noiticed, ...
Steffen Heil's user avatar
31 votes
3 answers
18k views

The XFS filesystem is broken in RHEL/CentOS 6.x - What can I do about it?

Recent versions of RHEL/CentOS (EL6) brought some interesting changes to the XFS filesystem I've depended on heavily for over a decade. I spent part of last summer chasing down an XFS sparse file ...
ewwhite's user avatar
  • 200k
1 vote
2 answers
2k views

Filesystem recommendation for 5 TB file storage

I have a locally attached 5 TB RAID6 system (IBM DS3512). It will be used as a storage for large data files that are written in sequential writes, and then read back for processing. Eventually the ...
Asgeir S. Nilsen's user avatar
11 votes
5 answers
174k views

How to recover XFS file system with "superblock read failed"

I have a disk from a Buffalo LinkStation that has an XFS partition on it that I cannot mount. Plugging the disk into an SATA->USB caddy on an Ubuntu box. I get the following: $ sudo fdisk -l /dev/...
Kieran's user avatar
  • 213
13 votes
2 answers
1k views

Performance impact of running different filesystems on a single Linux server

The book "HBase: The definitive guide" states that Installing different filesystems on a single server is not recommended. This can have adverse effects on performance as the kernel may have to ...
Alex's user avatar
  • 8,049
0 votes
1 answer
9k views

mkfs.xfs: libxfs_device_zero write failed: Input/output error

I can't find a way to create a filesystem on one of my disks. first i'm geting the following output: [root@~]# mkfs.xfs /dev/sdb1 mkfs.xfs: /dev/sdb1 appears to contain a partition table (dos). mkfs....
Crazy_Bash's user avatar
3 votes
1 answer
14k views

Recommended filesystem for MySQL (xfs vs ext4)

Setting up a MySQL 5.5 server, and wondering what the recommended filesystem is? ext4 or xfs? Running InnoDB and 40% writes 60% reads. Thanks.
Justin's user avatar
  • 5,588