I'm seeing out-of-storage errors from rsync_bpc when transferring large (4 GB) 
files:

rsync_bpc: failed to open 
"/home/localuser/mysql/hostname-srv-sql.our_database.sql", continuing: No space 
left on device (28)

The volume supporting the 'pc' folder has 6 GB free and lives an SSD under 
/var/lib/BackupPC whereas the pool folders are linked to a traditional hard 
disk with 78 GB free. The backup pool lives on a 100GB platter with a 
LUKS-encrypted LVM hosting an XFS filesystem. The 'pc' folder resides on the 
operating system's SSD:

# ls -lht /var/lib/BackupPC
total 4.0K
drwxr-x---. 9 backuppc backuppc 4.0K Aug 20 12:06 pc
lrwxrwxrwx. 1 backuppc backuppc   33 Aug 14 14:35 pool -> 
/mnt/backup-volume/BackupPC/pool/
lrwxrwxrwx. 1 backuppc backuppc   34 Aug 14 14:35 cpool -> 
/mnt/backup-volume/BackupPC/cpool/

So which system is it claiming is out of space? Full Xfer error log and other 
data follows:

Running: /usr/bin/rsync_bpc --bpc-top-dir /var/lib/BackupPC/ --bpc-host-name 
hostname-srv-sql --bpc-share-name / --bpc-bkup-num 1 --bpc-bkup-comp 3 
--bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 --bpc-bkup-inode0 137627 
--bpc-attrib-new --bpc-log-level 1 -e /usr/bin/ssh\ -l\ backuppc 
--rsync-path=sudo\ /usr/bin/rsync --super --recursive --protect-args 
--numeric-ids --perms --owner --group -D --times --links --hard-links --delete 
--delete-excluded --partial --log-format=log:\ %o\ %i\ %B\ %8U,%8G\ %9l\ %f%L 
--stats --timeout=72000 --exclude=/sys --exclude=\*.vhd hostname-srv-sql:/ /
incr backup started for directory /
Xfer PIDs are now 129260
This is the rsync child about to exec /usr/bin/rsync_bpc
********************************************************************************
NOTICE: Use of this system is protected and monitored
********************************************************************************
This system is the property of blah blah blah
...
********************************************************************************
Xfer PIDs are now 129260,129338
xferPids 129260,129338
[ skipped 2 lines ]
rsync_bpc: failed to open 
"/home/localuser/mysql/hostname-srv-sql.our_database.sql", continuing: No space 
left on device (28)
[ skipped 4 lines ]
rsync_bpc: mkstemp 
"/home/localuser/mysql/.hostname-srv-sql.our_database.sql.000000" failed: No 
space left on device (28)
[ skipped 99 lines ]
Done: 0 errors, 2 filesExist, 3001 sizeExist, 520 sizeExistComp, 0 filesTotal, 
0 sizeTotal, 23 filesNew, 2554137 sizeNew, 554933 sizeNewComp, 137627 inode

Relevant BackupPC system data:

backuppc-host: $ df -hP
Filesystem                 Size  Used Avail Use% Mounted on
/dev/mapper/rootvg-rootlv  7.8G  182M  7.2G   3% /
devtmpfs                   1.7G     0  1.7G   0% /dev
tmpfs                      1.7G     0  1.7G   0% /dev/shm
tmpfs                      1.7G  9.1M  1.7G   1% /run
tmpfs                      1.7G     0  1.7G   0% /sys/fs/cgroup
/dev/mapper/rootvg-usrlv   9.8G  1.4G  7.9G  16% /usr
/dev/mapper/rootvg-optlv   2.0G  6.1M  1.8G   1% /opt
/dev/sda1                  976M  138M  772M  16% /boot
/dev/mapper/rootvg-tmplv   2.0G  6.3M  1.8G   1% /tmp
/dev/mapper/rootvg-homelv  976M  3.1M  906M   1% /home
/dev/mapper/rootvg-varlv   7.8G  1.5G  5.9G  20% /var
/dev/mapper/luks            96G   19G   78G  20% /mnt/backup-volume
/dev/sdb1                  6.8G   32M  6.4G   1% /mnt/resource
tmpfs                      344M     0  344M   0% /run/user/1001
tmpfs                      344M     0  344M   0% /run/user/0

backuppc-host: $ lsblk
NAME                 MAJ:MIN RM SIZE RO TYPE  MOUNTPOINT
fd0                    2:0    1   4K  0 disk
sda                    8:0    0  64G  0 disk
├─sda1                 8:1    0   1G  0 part  /boot
└─sda2                 8:2    0  63G  0 part
  ├─rootvg-tmplv     253:1    0   2G  0 lvm   /tmp
  ├─rootvg-usrlv     253:2    0  10G  0 lvm   /usr
  ├─rootvg-swaplv    253:3    0   2G  0 lvm   [SWAP]
  ├─rootvg-optlv     253:4    0   2G  0 lvm   /opt
  ├─rootvg-homelv    253:5    0   1G  0 lvm   /home
  ├─rootvg-varlv     253:6    0   8G  0 lvm   /var
  └─rootvg-rootlv    253:7    0   8G  0 lvm   /
sdb                    8:16   0   7G  0 disk
└─sdb1                 8:17   0   7G  0 part  /mnt/resource
sdc                    8:32   0  96G  0 disk
└─sdc1                 8:33   0  96G  0 part
  └─luks-backup_disk 253:0    0  96G  0 lvm
    └─luks           253:8    0  96G  0 crypt /mnt/backup-volume

hostname-srv: # df -hP
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2        31G   14G   16G  47% /
tmpfs           3.4G     0  3.4G   0% /dev/shm
/dev/sda1       477M   97M  355M  22% /boot
/dev/sdb1        99G  2.1G   92G   3% /mnt/resource

Target system's database directory:

# ls -lha /home/localuser/mysql/
total 5.1G
drwxrwxr-x. 2 localuser localuser 4.0K May  3 01:00 .
drwxr-x---. 3 localuser localuser 4.0K Jan  4  2018 ..
-rw-rw-r--. 1 backuppc backuppc 3.9G Aug 22 01:03 
hostname-srv-sql.our_database.sql
-rw-rw-r--. 1 backuppc backuppc 1.2G May  2 01:02 
hostname-srv-sql.another_database.sql
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to