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
31
votes
2 answers

Storing & accessing up to 10 million files in Linux

I'm writing an app that needs to store lots of files up to approx 10 million. They are presently named with a UUID and are going to be around 4MB each but always the same size. Reading and writing from/to these files will always be sequential. 2…
hookenz
  • 36,432
  • 45
  • 177
  • 286
15
votes
0 answers

Directories created by boost::filesystem::create_directories() not immediately accessible?

I am using boost::filesystem::create_directories() to create new directories. When I try to access these directories shortly after creation, I get an error saying: no such directory. But if I sleep for a while after creating directories everything…
polapts
  • 5,493
  • 10
  • 37
  • 49
13
votes
3 answers

How to resize root partition online , on xfs filesystem?

when I am trying to extend the root partition , using below method [root@oel7 ~]# resize2fs /dev/root_vg/root resize2fs 1.42.9 (28-Dec-2013) resize2fs: Bad magic number in super-block while trying to open /dev/root_vg/root Couldn't find valid…
pathak.pk
  • 358
  • 1
  • 3
  • 5
8
votes
2 answers

How to display the values from structures in C# from C++

abc.h file typedef struct sp_BankNoteTypeList { int cim_usNumOfNoteTypes; struct sp_notetype { USHORT cim_usNoteID; CHAR cim_cCurrencyID[3]; ULONG cim_ulValues; bool cim_bConfigured; …
TechBrkTru
  • 346
  • 1
  • 25
8
votes
2 answers

XFS No space left on device

I have a server setup of an XFS partition on LVM. While copying files to the home partition, "No space left on device" is displayed. df -h displays sufficient space: /dev/mapper/prod--vg-home 35G 21G 15G 60% /home df -i also displays…
Purf
  • 83
  • 1
  • 6
8
votes
4 answers

XFS grow not working

So I have the following setup: [ec2-user@ip-172-31-9-177 ~]$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 80G 0 disk ├─xvda1 202:1 0 6G 0 part / └─xvda2 202:2 0 4G 0 part /data All the tutorials I find say to…
Jammer
  • 542
  • 1
  • 6
  • 14
7
votes
1 answer

How to enable compression for XFS file system on centos5.5?

I am using file system type as "XFS" and i want to enable compression for XFS-file system. I surfed through the net but i couldnot found related data. If anyone aware of the compression for XFS-file system please let me know.. Thanks Guys,
kumar_88
  • 1,145
  • 2
  • 11
  • 11
6
votes
1 answer

How to get more Disk performance in Google Cloud?

One of the volumes for one of our (Ubuntu 16.04) Google Cloud VM's is at 100% disk utilization pretty much all the time - here is a 10 second sample plucked at random from the system: iostat -x 10 Device: rrqm/s wrqm/s r/s w/s …
rotten
  • 1,580
  • 19
  • 25
5
votes
2 answers

Race condition while moving files on Linux

Suppose I have two scripts. The first one puts (with mv command) some files into a directory, the second one checks the directory once in a while and processes the files. The situation I'm concerned about is when the second script starts processing…
nab
  • 4,751
  • 4
  • 31
  • 42
5
votes
1 answer

How to set Docker Backing Filesystem to XFS?

I'm having difficulty setting up Docker to build a container with the XFS Filesystem. My Storage Driver is correctly set to overlay2, but my Backing Filesystem is extfs. Is there something I would specify for storage-opts in my docker daemon file?
Nick
  • 77
  • 1
  • 6
5
votes
1 answer

What updates mtime after writing to memory mapped files?

I'm using XFS on Linux and have a memory mapped file to which I write once per second. I notice that the file mtime (shown by watch ls --full-time) changes periodically but irregularly. The gap between mtimes seems to be between 2 and 20 seconds…
John Zwinck
  • 239,568
  • 38
  • 324
  • 436
5
votes
2 answers

Xfs file size, inode size and block size

ll /srv/node/dcodxx/test.sh -rw-r--r--. 1 root root 7 Nov 5 11:18 /srv/node/dcodxx/test.sh The size of the file is shown in bytes. This file is stored in an xfs filesystem with block size 4096 bytes. xfs_info /srv/node/sdaxx/ meta-data=/dev/sda …
user2887201
  • 317
  • 2
  • 9
  • 19
4
votes
2 answers

Extend GlusterFS on top of LVM

I need to add more space to one of our gluster volumes. The volumes are replica 2 and sit on top of an LVM. The file system is XFS. The current size is 4TB and I want to resize to 6TB. The LVM has enough Free PEs on both replica servers. ---…
raidlman
  • 355
  • 2
  • 14
4
votes
1 answer

Intel NVMe drive Performance degradation with xfs filesystem with sector size other than 4096

I am working with NVMe card on linux(Ubuntu 14.04). I am finding some performance degradation for Intel NVMe card when formatted with xfs file system with its default sector size(512). or any other sector size less than 4096. In the experiment I …
Christina Jacob
  • 665
  • 5
  • 17
4
votes
3 answers

Small file not committed to disk for over a minute

I have an embedded Linux app that writes to a file at a fairly slow rate (50 bytes/s or so). The file is on a hard drive, XFS filesystem. The file is being written to by calling write(), not fwrite(). If I power-cycle the system and check the file,…
gimmeamilk
  • 2,016
  • 5
  • 24
  • 36
1
2 3 4 5 6 7