Koozali.org: home of the SME Server

Workstation backup, "Disk space not available" and other problems

Offline LANMonkey

  • *****
  • 350
  • +0/-0
    • Database Collection of Transcripts for the ICTY
My SME server is using a CIFS share on a Windows Home Server to perform backups.  Here is a copy and paste from my configuration report in the server-manager->administration->backup and restore:

Code: [Select]
Backup is Enabled.
Backup is made on LAN workstation 192.168.0.123 via cifs
Destination backup share folder is Users/XXXX
Login is XXXX
Password is ********
Number of rotating backup sets is 3
Number of daily backups contained in each set is 1
Compression level (0-9) of backup is 6
Daily backup occurs at 2:00
Each daily backup session is cleanly timed out after 8 hours.
Full backup sessions (new backup set) are allowed everyday

Here is a typical report:

Code: [Select]
==================================
DAILY BACKUP TO WORKSTATION REPORT
==================================
Backup of XXX.MyDomain.com started at Mon Jul  4 02:00:40 2011
Backup of mysql databases has been done
Mounting backup shared directory 192.168.0.123/Users/XXX
Backup temp directory /mnt/smb/tmp_dir/XXX.MyDomain.com is mounted and is writable
Using set number 1 of 3
Attempt full backup
Backup base file name is full-201107040200
Making backup in temp directory
Using a backup session timeout of : 28770 seconds


 --------------------------------------------
 101328 inode(s) saved
 with 0 hard link(s) recorded
 0 inode(s) changed at the moment of the backup
 0 inode(s) not saved (no inode/file change)
 0 inode(s) failed to save (filesystem error)
 287 inode(s) ignored (excluded by filters)
 0 inode(s) recorded as deleted from reference backup
 --------------------------------------------
 Total number of inode considered: 101615
 --------------------------------------------
Rotating backups in a new set /mnt/smb/XXX.MyDomain.com/set0.
Moving backup files to target directory /mnt/smb/XXX.MyDomain.com/set0
Disk space not available
Updating backup configuration data
Backup successfully terminated at : Mon Jul  4 02:53:45 2011

I have also been getting other reports before this:

Code: [Select]
Can't remove directory /mnt/smb/XXX.MyDomain.com/set0
(Resource temporarily unavailable) at /etc/e-smith/events/actions/workstation-backup-dar line 305
Error while moving backup file /mnt/smb/tmp_dir/XXX.MyDomain.com/full-201107030200.1.dar
from temporary dir /mnt/smb/tmp_dir/finch.symbiota.net to /mnt/smb/XXX.MyDomain.com/set0 :
No such file or directory at /etc/e-smith/events/actions/workstation-backup-dar line 366.
Backup terminated: backup failed - status: 7424 

Code: [Select]
Can't remove directory /mnt/smb/XXX.MyDomain.com/set2
(No such file or directory at /etc/e-smith/events/actions/workstation-backup-dar line 305
Use of uninitialized value in numeric ne (!=) at /usr/lib/perl5/5.8.8/File/Copy.pm line 205.

Code: [Select]
Can't remove directory /mnt/smb/XXX.MyDomain.com/set1
(Resource temporarily unavailable) at /etc/e-smith/events/actions/workstation-backup-dar line 305

By far the most regular disturbing report is "Disk space not available".  I get this even when the report says the regular backup was successful.

What is going on?
« Last Edit: July 04, 2011, 07:07:30 PM by LANMonkey »

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Workstation backup, "Disk space not available" and other problems
« Reply #1 on: July 04, 2011, 08:12:30 PM »
LANMonkey, please report any problems with SME server software, via the Bug tracker. See 'BUGS' link at the top of the forum.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Workstation backup, "Disk space not available" and other problems
« Reply #2 on: July 07, 2011, 03:43:12 PM »
LANMonkey, please report any problems with SME server software, via the Bug tracker. See 'BUGS' link at the top of the forum.

Please report each problem via a different bug report when you do report them. Thanks.

Offline cliff

  • *
  • 16
  • +0/-0
Re: Workstation backup, "Disk space not available" and other problems
« Reply #3 on: July 10, 2011, 05:02:12 PM »
After reading your post I did a very similar setup for CIFS backup to a Windows7 workstation.  The backup started on schedule, completed successfully and added incremental changes every day.  Disk statistics are reported correctly. 

Offline cliff

  • *
  • 16
  • +0/-0
Re: Workstation backup, "Disk space not available" and other problems
« Reply #4 on: July 13, 2011, 02:40:03 AM »
This week I moved the backup to another Linux server using a samba share.  It again worked but showed
"Disk space not available" rather than the detail shown from the Windows7 backup.

==================================
DAILY BACKUP TO WORKSTATION REPORT
==================================
Backup of oreo.****.org started at Tue Jul 12 15:00:02 2011
Backup of mysql databases has been done
Mounting backup shared directory 192.168.0.10/share/home/oreo dtbkup/
Backup temp directory /mnt/smb/tmp_dir/oreo.****.org is mounted and is writable
Using set number 1 of 2
Attempt full backup
Backup directory oreo.****.org/set1 created
Backup base file name is full-201107121500
Making backup in temp directory
Using a backup session timeout of : 88500 seconds


 --------------------------------------------
 75694 inode(s) saved
 with 0 hard link(s) recorded
 0 inode(s) changed at the moment of the backup
 0 inode(s) not saved (no inode/file change)
 0 inode(s) failed to save (filesystem error)
 244 inode(s) ignored (excluded by filters)
 0 inode(s) recorded as deleted from reference backup
 --------------------------------------------
 Total number of inode considered: 75938
 --------------------------------------------
Rotating backups in a new set /mnt/smb/oreo.****.org/set1.
Moving backup files to target directory /mnt/smb/oreo.****.org/set1
Disk space not available
Updating backup configuration data
Backup successfully terminated at : Tue Jul 12 17:52:22 2011

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Workstation backup, "Disk space not available" and other problems
« Reply #5 on: July 13, 2011, 05:05:25 PM »
Rotating backups in a new set /mnt/smb/oreo.****.org/set1.
Moving backup files to target directory /mnt/smb/oreo.****.org/set1
Disk space not available
Updating backup configuration data
Backup successfully terminated at : Tue Jul 12 17:52:22 2011
Are you sure you have enough storage available on your server? Due to the nature of the backup mechanism, you need twice the size of the daily backup volume IIRC.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline cliff

  • *
  • 16
  • +0/-0
Re: Workstation backup, "Disk space not available" and other problems
« Reply #6 on: July 13, 2011, 06:42:47 PM »
The backup used 83.9 GB leaving 108.67 GB free after.  Does this mean I need to free up more space before the next full backup?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Workstation backup, "Disk space not available" and other problems
« Reply #7 on: July 13, 2011, 08:01:39 PM »
IMHO backup routine is unable to get the free space.. but I don't know why :-)

Offline cliff

  • *
  • 16
  • +0/-0
Re: Workstation backup, "Disk space not available" and other problems
« Reply #8 on: July 13, 2011, 10:57:16 PM »
Accurate disk info was reported when doing the same backup to a Windows 7 desktop.

==================================
DAILY BACKUP TO WORKSTATION REPORT
==================================
Backup of oreo.****.org started at Mon Jul  4 16:45:03 2011
Backup of mysql databases has been done
Mounting backup shared directory 192.168.0.50/users/admin/downloads/
Backup temp directory /mnt/smb/tmp_dir/oreo.***.org is mounted and is writable
Using set number 0 of 2
Attempt full backup
Backup directory oreo.****.org/set0 created
Backup base file name is full-201107041645
Making backup in temp directory
Using a backup session timeout of : 88500 seconds


 --------------------------------------------
 75705 inode(s) saved
 with 0 hard link(s) recorded
 0 inode(s) changed at the moment of the backup
 0 inode(s) not saved (no inode/file change)
 0 inode(s) failed to save (filesystem error)
 244 inode(s) ignored (excluded by filters)
 0 inode(s) recorded as deleted from reference backup
 --------------------------------------------
 Total number of inode considered: 75949
 --------------------------------------------
Rotating backups in a new set /mnt/smb/oreo.****.org/set0.
Moving backup files to target directory /mnt/smb/oreo.****.org/set0
Disk usage 133G, 44% full, 172G available
Updating backup configuration data
Backup successfully terminated at : Mon Jul  4 19:36:43 2011

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Workstation backup, "Disk space not available" and other problems
« Reply #9 on: July 13, 2011, 11:52:04 PM »
so it isn't a SME's issue, IMHO

Offline cliff

  • *
  • 16
  • +0/-0
Re: Workstation backup, "Disk space not available" and other problems
« Reply #10 on: July 20, 2011, 06:15:51 AM »
The next full bachup completed sucessfully leaving 28.94 GB or 18% free disk space.   

==================================
DAILY BACKUP TO WORKSTATION REPORT
==================================
Backup of ****.****.org started at Tue Jul 19 15:00:03 2011
Backup of mysql databases has been done
Mounting backup shared directory 192.168.0.10/share/home/**** dtbkup/
Backup temp directory /mnt/smb/tmp_dir/****.****.org is mounted and is writable
Using set number 0 of 2
Attempt full backup
Backup base file name is full-201107191500
Making backup in temp directory
Using a backup session timeout of : 88500 seconds


 --------------------------------------------
 75747 inode(s) saved
 with 0 hard link(s) recorded
 0 inode(s) changed at the moment of the backup
 0 inode(s) not saved (no inode/file change)
 0 inode(s) failed to save (filesystem error)
 244 inode(s) ignored (excluded by filters)
 0 inode(s) recorded as deleted from reference backup
 --------------------------------------------
 Total number of inode considered: 75991
 --------------------------------------------
Rotating backups in a new set /mnt/smb/****.****.org/set0.
Moving backup files to target directory /mnt/smb/****.****.org/set0
Disk space not available
Updating backup configuration data
Backup successfully terminated at : Tue Jul 19 17:54:29 2011

Offline LANMonkey

  • *****
  • 350
  • +0/-0
    • Database Collection of Transcripts for the ICTY
Re: Workstation backup, "Disk space not available" and other problems
« Reply #11 on: July 20, 2011, 06:03:49 PM »
What is the purpose of "Moving backup files to target directory ..."?  What are the consequences of "Disk space not available"?

Is my system backed up or not when I get that error message?  It says the backup was successful.  Was it? 

Offline cliff

  • *
  • 16
  • +0/-0
Re: Workstation backup, "Disk space not available" and other problems
« Reply #12 on: July 21, 2011, 01:00:33 AM »
What is the purpose of "Moving backup files to target directory ..."?  What are the consequences of "Disk space not available"?

Is my system backed up or not when I get that error message?  It says the backup was successful.  Was it? 
The backup files are processed and stored in a temp directory on the target disk.  When finished,
the files are moved.  A full backup is done once a week with incremental changes processed daily. 
Two backup sets are saved and I expect 1 is overwritten each week.  I think "Disk space not available"
is simply a "failure to connunicate."  Did you try "verify workstation backup?" 

Offline LANMonkey

  • *****
  • 350
  • +0/-0
    • Database Collection of Transcripts for the ICTY
Re: Workstation backup, "Disk space not available" and other problems
« Reply #13 on: October 23, 2011, 09:25:28 PM »
The backup files are processed and stored in a temp directory on the target disk.  When finished,
the files are moved.  A full backup is done once a week with incremental changes processed daily. 
Two backup sets are saved and I expect 1 is overwritten each week.  I think "Disk space not available"
is simply a "failure to connunicate."  Did you try "verify workstation backup?"

I'm back after sitting on this a while.  I've just reinstalled SME 8.0beta6 and the last backup shows the same problem, "Disk space not available".  I have verified that the system is backed up, and was backed up since I was able to do a successful restore.

Is this a bug?  If so, I'll report it.