| Back | Main view

IMiS/ARChive v9 fails to run on xfs filesystem with enabled inode64

Product:IMiS/ARChive
Release:9.9.x.x
Date:06/13/2019

Case: IMiS/ARChive v9 does not run on xfs filesystem with enabled inode64 mount option. Example of server log file:

06/07/19 11:09:30.310 [iarcd:81216:4112140032] INFO[6] Service locale set to "en_US.UTF-8".
06/07/19 11:09:30.310 [iarcd:81216:4112140032] INFO[6] Initializing daemon.
06/07/19 11:09:30.332 [iarcd:81217:4112140032] NOTI[5] Internal libraries initialized.
06/07/19 11:09:30.332 [iarcd:81217:4112140032] NOTI[5] IMiS/ARChive daemon initializing
06/07/19 11:09:30.332 [iarcd:81217:4112140032] INFO[6] Reading configuration file.
06/07/19 11:09:30.342 [iarcd:81217:4112140032] INFO[6] Child 81221 exited with exit code 86.
06/07/19 11:09:30.343 [iarcd:81217:4112140032] ERR[3] msgctl(0, IPC_RMID) error 43: Identifier removed
06/07/19 11:09:30.343 [iarcd:81217:4112140032] ERR[3] Error launching iavol process.
06/07/19 11:09:30.343 [iarcd:81217:4112140032] ERR[3] Error reading configuration file.
06/07/19 11:09:30.343 [iarcd:81217:4112140032] INFO[6] Fatal error occured. Server is shutting down.

Additional debugging with strace() reveals that statfs64() function returns with error EOVERFLOW. Example of strace() log:

[pid 81584] stat64("/iarc/rcache/.", {st_mode=S_IFDIR|0750, st_size=6, ...}) = 0
[pid 81584] stat64("/iarc/rcache/..", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 81584] getdents64(3, /* 0 entries */, 32768) = 0
[pid 81584] statfs64("/iarc/rcache/", 84, 0xff900840) = -1 EOVERFLOW (Value too large for defined data type)

Description:

Xfs filesystem uses inode64 option for support of large volumes. If 32bit inodes are used, xfs place inodes only in the first 1TB of disk, which can lead to situation when there are no more free inodes left and therefore volume become "full" even if there is enough free space on it (http://xfs.org/index.php/XFS_FAQ). IMiS/ARChive server does not support xfs filesystem, which is mounted with inode64 option.

Related Documents:

http://xfs.org/index.php/XFS_FAQ
http://man7.org/linux/man-pages/man5/xfs.5.html
https://www.tcm.phy.cam.ac.uk/sw/inodes64.html

| Back | Main view