rsync file limit
Posted: 2019/03/06 20:08:28
Many of our customers still run servers on CentOS 5.11 and use rsync 3.0.6 to synchronize bmp signature picture files from their hard drive to a flash drive for backup purposes. However, I discovered that a maximum of only 32,765 files are written to the sigcaps directory on the flash drive. The rsync command is:
rsync -a /keypos/sigcaps/ /mnt/usbdrive/sigcaps/
Apparently, once the 32765 file count is reached, it starts producing errors like this sample even though there's plenty of space left on the flash drive:
rsync: rename "/mnt/usbdrive/sigcaps/.193702.bmp.054L9Z" -> "193702.bmp": No space left on device (28)
rsync: rename "/mnt/usbdrive/sigcaps/.193704.bmp.Bhe66U" -> "193704.bmp": No space left on device (28)
rsync: rename "/mnt/usbdrive/sigcaps/.193705.bmp.kFbOdQ" -> "193705.bmp": No space left on device (28)
rsync: rename "/mnt/usbdrive/sigcaps/.193706.bmp.OxtdXV" -> "193706.bmp": No space left on device (28)
rsync: rename "/mnt/usbdrive/sigcaps/.193707.bmp.2YxCd2" -> "193707.bmp": No space left on device (28)
For this example, there were actually 58,653 bmp files in the /keypos/sigcaps directory. I researched on the web and found nothing about a 32k file limit. Any ideas or suggestions will be greatly appreciated.
rsync -a /keypos/sigcaps/ /mnt/usbdrive/sigcaps/
Apparently, once the 32765 file count is reached, it starts producing errors like this sample even though there's plenty of space left on the flash drive:
rsync: rename "/mnt/usbdrive/sigcaps/.193702.bmp.054L9Z" -> "193702.bmp": No space left on device (28)
rsync: rename "/mnt/usbdrive/sigcaps/.193704.bmp.Bhe66U" -> "193704.bmp": No space left on device (28)
rsync: rename "/mnt/usbdrive/sigcaps/.193705.bmp.kFbOdQ" -> "193705.bmp": No space left on device (28)
rsync: rename "/mnt/usbdrive/sigcaps/.193706.bmp.OxtdXV" -> "193706.bmp": No space left on device (28)
rsync: rename "/mnt/usbdrive/sigcaps/.193707.bmp.2YxCd2" -> "193707.bmp": No space left on device (28)
For this example, there were actually 58,653 bmp files in the /keypos/sigcaps directory. I researched on the web and found nothing about a 32k file limit. Any ideas or suggestions will be greatly appreciated.