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
0
votes
1 answer

How can I check that quotas have been enabled is XFS?

I have a filesystem that should be mounted with the prjquota flag. But due to human factors, someone might forget to do that, so I need to check that quota was enabled on application startup. I thought that it's possible to check using quotactl with…
Nolv
  • 63
  • 8
0
votes
1 answer

How to change block size on XFS

Situation: Server uses XFS filesystem, block size 4kB. There are a lot of small files. Result: Some directories take 2+GB space, but actual file size is less then 200MB. Solution: Change XFS block size to least possible, 512B. I am aware it means…
Petr
  • 55
  • 2
  • 7
0
votes
1 answer

How do I successfully switch to XFS filesystem without corrupting any data?

My MongoDB has recently been using lots of CPU on IO Wait. I believe by switching to XFS filesystem it should stop these issues. How can I successfully do this without corrupting any of my current data? I am on Ubuntu 18.04. My disk is currently…
codingdan
  • 25
  • 3
0
votes
1 answer

How to get an access to the disk device in a pod?

In my Kubernetes pods with mounted volumes, I don't seem to have access to the underlying disk device in the /dev folder. I need that for the XFS tools to work. I am running the cluster on DigitalOcean. The example volume is mounted on /var/www. The…
Aleš Krajník
  • 177
  • 1
  • 10
0
votes
1 answer

How do I know if a cash dispense transaction is successful or failure?

I am trying to develop an ATM cash transaction monitoring application. I am using the CEN-XFS APIs to listen to events generated by the Cash Dispenser Device Class (CWA1574-8) interface. I read through the WFS_CMD_CDM_DISPENSE command documentation…
Shree
  • 1
  • 4
0
votes
0 answers

How do I know if a cash loading / cash replenishment operation is done

I am trying to develop a cash level monitoring application for ATMs. I monitor the cash counters of ATM using CEN-XFS APIs. The WFS_INF_CDM_CASH_UNIT_INFO command provides me the current cash level, but how do I know if counters are cleared and…
Shree
  • 1
  • 4
0
votes
0 answers

Finding Switch connectivity and ATM Status

Through CEN-XFS, I am able to get the device status of all peripherals in an ATM. But, is there a standard way to find if the ATM application is connected to switch and is in-service?
Shree
  • 1
  • 4
0
votes
0 answers

Dispenser Counters in XFS is very different from the Counters maintained by the application

I was trying to build an application which will monitor activities on Peripheral through XFS. Whenever there is a change in Cash Units, application receives CASHUNITINFO_CHANGED event. Based on which I fetch the Cash Unit Information using…
Shree
  • 1
  • 4
0
votes
1 answer

EC2 could not expand EBS volume when using Centos 8 AMI Official

I'm using Centos public images in https://wiki.centos.org/Cloud/AWS to launch EC2 instance, more detail I'm using T3.micro. After I modified volume size in AWS console, I can see a new size has been show in lsblk output…
Tien Dung Tran
  • 1,127
  • 4
  • 16
  • 32
0
votes
1 answer

LVM linux. What does it mean LEs in my task? May be it is typo

at the moment I preparing to RHCSA exam and complete some tasks to achieve desired result. I have a question by this task:"Create a logical volume called linuxadm of size equal to 10 LEs in vgtest volume group (create vgtest with PE size 32MB) with…
juke er
  • 40
  • 6
0
votes
2 answers

Truncated file in XFS filesystem using dd - how to recover

Disk layout My HDD raid array is going for his end of life, and I bought some new disks for it. Old HDD I have used as a storage of raw disk images for kvm/qemu virtual machines. Raid array was built using mdadm. On md device I have physical volume…
0
votes
1 answer

MongoDB LVM snapshots backup and restore on diffent filesystems

I want to backup a large MongoDB database (aprox. 100GB) using LVM snapshot, but the filesystem differs from the backup to restore point. The actual database resides on AWS EBS with ext4 filesystem and I want to restore it in another EBS with…
eszanon
  • 3
  • 1
  • 3
0
votes
0 answers

XFS inodes suddenly exhausted - but not because of IUsed going up

I got an alert that IUse% on my XFS filesystem had suddenly jumped from 3% to 96% used. An hour or so later, it went back to 3%. During the problem: # df -i /data Filesystem Inodes IUsed IFree IUse% Mounted…
Daniel
  • 2,032
  • 5
  • 21
  • 27
0
votes
0 answers

Writing J/XFS code to interact with ATM peripherals

I have been trying to learn J/XFS and am stuck at a point where I am unable to start. Though the specifications go in detail about the available calls and the API, there are very little or no sample code snippets which shows how code can be written…
hax
  • 282
  • 1
  • 17
0
votes
1 answer

ocassional "Permission denied @ rb_sysopen" by a ruby script

i'm working on a ubuntu 16.04 box with : ruby 2.3.1p112 filesystem : XFS i have written a ruby script which writes small & unique text files to a group of folders, each writes would occur in around 5 seconds, and in each time the folder to be…
jimzcc
  • 142
  • 4
  • 13