Questions tagged [xfs]

XFS is a scalable, high performance journaling file system from Silicon Graphics, later ported to Linux.

XFS is a scalable, high performance journaling file system from Silicon Graphics, later ported to Linux.

Not to be confused with extensions for financial services, sometimes called XFS by those that use it.

91 questions
4
votes
1 answer

How do you determine if an XFS filesystem is frozen programmatically?

I'm writing a simple EC2 snapshot script and need to determine if there is a way to know if a filesystem is frozen or not. As it currently stands, trying to do anything to a frozen filesystem hangs the script (and hangs in bash shell as well). Is…
wrangler
  • 1,995
  • 2
  • 19
  • 22
3
votes
1 answer

Cutycapt, wkhtmltopdf, wkhtmltoimage, phantomjs not displaying characters properly

The only characters they are displaying are the English ones. The layout of the printed page is as it should be, but the only thing that is wrong is the characters in any script other than english (roman) being replaced with boxes. I have already…
Vish
  • 4,508
  • 10
  • 42
  • 74
3
votes
1 answer

latency on posix reads()

we have a very latency sensitive application, in the sense that latency spikes on reads are very very bad. I’ve tested XFS and ext4, and writing O_ASYNC to the file and then fdatasync() at the end can lead to 1 second or more spikes in read…
Michael Xu
  • 557
  • 1
  • 5
  • 14
3
votes
1 answer

Solr / Lucene best file system

I've done some logs indexing benchmark with Solr with Redhat 7.3. The machine included 2 7200 RPM with software RAID 1, 64GB memory and a E3-1240v6 CPU. I was really surprised to find a huge difference in IO performance between ext4 and xfs (see…
Avner Levy
  • 6,601
  • 9
  • 53
  • 92
3
votes
1 answer

How XFS finds WFPOpen?

I'm going to implement an SPI for my own hardware (maybe virtual). As I found (maybe I mistake) when an application calls WFSOpen, XFS calls WFPOpen in SPI. But this "in SPI" means where? Maybe I should give the address of the dll file in which…
hamidi
  • 1,611
  • 1
  • 15
  • 28
3
votes
1 answer

How to override the value of X-Frame-Options HTTP Header at page level

I have a .Net Web application in which I've used some iframes and framesets. To protect my site from Cross-Frame Scripting attack I'm planning to add a HTTP Response Header "X-Frame-Options" with a value of "SAMEORIGIN" in my IIS or my Global.asax.…
Vinay
  • 318
  • 2
  • 4
  • 17
3
votes
2 answers

Using filesystem as database for 15M files - is it efficient?

I have 15 million simple key/value records. The key sizes are all single words, the values they contain range in size from a few bytes to 10MB each. Random keys will need to be frequently accessed. I'm thinking that it would be much more efficient…
Alasdair
  • 13,348
  • 18
  • 82
  • 138
3
votes
2 answers

Seeking large file in c++ on windows

I'm writing a small utility to parse xfs filesystem on windows. For small size image <5GB my utility is working fine: I'm able to list all files and directories. But when I try to parse large xfs image > 30GB. It is giving wrong results. I'm using…
praks411
  • 1,972
  • 16
  • 23
2
votes
0 answers

Creating/modifying extents in XFS

I am working on a data-deduplication scheme between disks and am wondering how I can dig down into the XFS internals and create/modify extents for files. Here is an example of what I want to do, suppose we have the file: bippity boppity boo And we…
user439407
  • 1,666
  • 2
  • 19
  • 40
2
votes
1 answer

xfs - how to not modify mtime when writing to file?

I have a file, a.dat that is 1GB and resides on disk. For performance reasons, I reuse this file and simply overwrite its contents as needed, rather than creating a new file and letting it grow (each grow operation has to update its size in the…
JaredC
  • 5,150
  • 1
  • 20
  • 45
2
votes
1 answer

Project Quotas in ext4

This is regarding setting of Project Quotas/ Directory Quotas on ext4 filesystems. The patch for allowing Project Quotas in ext4 filesystems was submitted via patch https://lore.kernel.org/patchwork/patch/541895/ . I have tried the below steps…
2
votes
1 answer

XFS RHEL7.3 Cold Reboot, file truncate

We are upgrading our application from RHEL6.5 ext4 to RHEL7.3 XFS. We have observed that with XFS file system doing a cold reboot (from system console - iLO) truncates some of our files (that are being written to disks every few seconds) to zero…
Avita
  • 57
  • 7
2
votes
1 answer

How do I create an XFS volume out of root volume on EC2?

I've created a new EC2 instance and setting up a bunch of software on it. MongoDB 3.2's Production checklist suggests installing it on an XFS (or ext4) volume. How do I create a volume of, say 15 GB, out of /dev/xvda1, format is as XFS using mkfs…
Aayush Kothari
  • 526
  • 3
  • 20
2
votes
2 answers

How to find Logical Name for PinPad XFS if it is not mentioned in Manual

I have started XFS implementation of SZZT Pinpad .I am facing an issue with the WFSOpen command Its giving an error “ – 14 “which is mentioned as WFS_ERR_HARDWARE_ERROR in the Manual. Please let us know if we are missing out on any parameter Value…
Swapnil
  • 29
  • 3
2
votes
1 answer

How to dynamically fill the structure which is a pointer to pointer of arrays in C++ implementing xfs

Structure 1: typedef struct _wfs_cdm_cu_info { USHORT usTellerID; USHORT usCount; LPWFSCDMCASHUNIT * lppList; } WFSCDMCUINFO, * LPWFSCDMCUINFO; Structure 2: typedef struct _wfs_cdm_cashunit { USHORT usNumber; USHORT usType; …
TechBrkTru
  • 346
  • 1
  • 25