XFS No space on device

I have setup an XFS partition server on LVM. When copying files to the home partition, "No space on device" is displayed.

df -h displays enough space:

/dev/mapper/prod--vg-home     35G   21G   15G  60% /home

df -i also displays sufficient indexes:

/dev/mapper/prod--vg-home   36700160  379390 36320770    2% /home

I tested the effect of changing the maximum percentage of inodes:

xfs_growfs -m 25 /dev/mapper/prod--vg-home

This amount can be easily reduced and increased.

During experiments with this parameter, I noticed that reducing it to 3% and increasing it to 25% and deleting some files, I can again add a lot more files.

xfs_info displays:

meta-data=/dev/mapper/prod--vg-home isize=256    agcount=14, agsize=655360 blks
         =                       sectsz=512   attr=2
data     =                       bsize=4096   blocks=9175040, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0
log      =internal               bsize=4096   blocks=2560, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0

I read about 64-bit inodes, but it seems to be applicable only to large disks (more than 1 TB).

Is there any other parameter that may cause the message "Out of space on the device."

thank

+4
2

xfs_growfs, , inodes . , inode64. , /dev/vda 1, :

mount -o remount,inode64 /dev/vda1

:

http://xfs.org/index.php/XFS_FAQ#Q:_Why_do_I_receive_No_space_left_on_device_after_xfs_growfs.3F

+8

"" : lsof -nP + L1

0

All Articles