Backup interrotto per spazio insufficiente
Inviato: martedì 6 marzo 2018, 10:38
Buongiorno a tutti, cercherò di illustrare il più chiaramente possibile la situazione.
Possiedo da poco una nuova NAS Synology DS918+ con 4 HHD da 2 TB cad uno in RAID 10, in essa vi sono dati per un totale di 1,14 TB. Ho collegato alla mia rete la vecchia NAS WD My Book Live Duo RAID 0 per un totale di 4 TB.
Entrambe con IP statico rispettivamente:
NAS Synology IP 192.168.1.97
NAS WD IP 192.168.1.98
Volendo utilizzare la vecchia NAS WD come unità di backup in rete, dopo aver ripristinato il setup di fabbrica della stessa e averla messa in RAID 0 ho provveduto da terminale SSH a renderla un server rsync come segue:
1 tramite editor vi ho portato il valore RSYNC_ENABLE da false a true come di seguito:
vi /etc/default/rsync
# defaults file for rsync daemon mode
# start rsync in daemon mode from init.d script?
# only allowed values are "true", "false", and "inetd"
# Use "inetd" if you want to start the rsyncd from inetd,
# all this does is prevent the init.d script from printing a message
# about not starting rsyncd (you still need to modify inetd's config yourself).
RSYNC_ENABLE=true
# which file should be used as the configuration file for rsync.
# This file is used instead of the default /etc/rsyncd.conf
# Warning: This option has no effect if the daemon is accessed
# using a remote shell. When using a different file for
# rsync you might want to symlink /etc/rsyncd.conf to
# that file.
# RSYNC_CONFIG_FILE=
# what extra options to give rsync --daemon?
# that excludes the --daemon; that's always done in the init.d script
# Possibilities are:
# --address=192.168.1.98
port=22
RSYNC_OPTS=''
2 Creato configuration file come di seguito:
MyBookLiveDuo:~# vi /etc/rsyncd.conf
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
log file = /var/log/rsync.log
[rsync]
path = /backup/rsync
uid = root
gid = share
read only = no
list = yes
auth users = root
secrets file = /etc/rsyncd.secrets
3 creato file password come segue:
vi /etc/rsyncd.secrets
root:password
4 impostati I permessi sui file create come segue:
chmod 664 /etc/rsyncd.conf
chmod 600 /etc/rsyncd.secret
5 creato link startup come segue:
cd /etc/rc2.d
ln -s ../init.d/rsync S91rsync
reboot
quindi la vecchia NAS WD ha effettuato regolarmene il reboot
A questo punto tramite Hyper backup ho impostato il seguente Backup:
Indirizzo IP: 192.168.1.98
Nome utente: root
Cartella condivisa: /backup
Directory: backup2
A questo punto dopo aver impostato la pianificazione giornaliera avvio il primo backup ma dopo aver effettuato il controllo delle dimensioni del file d’origine si avvia l’avanzamento backup il quale si arresta per insufficienza di spazio raggiungendo a volte circa 870 MB a volte 1.x GB
A questo punto vistosi quanto fin qui esposto è evidente che in verità lo spazio sulla vecchia NAS WD è più che sufficiente, in quanto a fronte di 1,14 TB di dati da backupare la vecchia NAS dispone di ben 4 TB di spazio.
Sapreste indicarmi le possibili cause di questo arresto backup per insufficienza di spazio apparentemente ingiustificato?
Grazie fin d’ora.
Possiedo da poco una nuova NAS Synology DS918+ con 4 HHD da 2 TB cad uno in RAID 10, in essa vi sono dati per un totale di 1,14 TB. Ho collegato alla mia rete la vecchia NAS WD My Book Live Duo RAID 0 per un totale di 4 TB.
Entrambe con IP statico rispettivamente:
NAS Synology IP 192.168.1.97
NAS WD IP 192.168.1.98
Volendo utilizzare la vecchia NAS WD come unità di backup in rete, dopo aver ripristinato il setup di fabbrica della stessa e averla messa in RAID 0 ho provveduto da terminale SSH a renderla un server rsync come segue:
1 tramite editor vi ho portato il valore RSYNC_ENABLE da false a true come di seguito:
vi /etc/default/rsync
# defaults file for rsync daemon mode
# start rsync in daemon mode from init.d script?
# only allowed values are "true", "false", and "inetd"
# Use "inetd" if you want to start the rsyncd from inetd,
# all this does is prevent the init.d script from printing a message
# about not starting rsyncd (you still need to modify inetd's config yourself).
RSYNC_ENABLE=true
# which file should be used as the configuration file for rsync.
# This file is used instead of the default /etc/rsyncd.conf
# Warning: This option has no effect if the daemon is accessed
# using a remote shell. When using a different file for
# rsync you might want to symlink /etc/rsyncd.conf to
# that file.
# RSYNC_CONFIG_FILE=
# what extra options to give rsync --daemon?
# that excludes the --daemon; that's always done in the init.d script
# Possibilities are:
# --address=192.168.1.98
port=22
RSYNC_OPTS=''
2 Creato configuration file come di seguito:
MyBookLiveDuo:~# vi /etc/rsyncd.conf
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
log file = /var/log/rsync.log
[rsync]
path = /backup/rsync
uid = root
gid = share
read only = no
list = yes
auth users = root
secrets file = /etc/rsyncd.secrets
3 creato file password come segue:
vi /etc/rsyncd.secrets
root:password
4 impostati I permessi sui file create come segue:
chmod 664 /etc/rsyncd.conf
chmod 600 /etc/rsyncd.secret
5 creato link startup come segue:
cd /etc/rc2.d
ln -s ../init.d/rsync S91rsync
reboot
quindi la vecchia NAS WD ha effettuato regolarmene il reboot
A questo punto tramite Hyper backup ho impostato il seguente Backup:
Indirizzo IP: 192.168.1.98
Nome utente: root
Cartella condivisa: /backup
Directory: backup2
A questo punto dopo aver impostato la pianificazione giornaliera avvio il primo backup ma dopo aver effettuato il controllo delle dimensioni del file d’origine si avvia l’avanzamento backup il quale si arresta per insufficienza di spazio raggiungendo a volte circa 870 MB a volte 1.x GB
A questo punto vistosi quanto fin qui esposto è evidente che in verità lo spazio sulla vecchia NAS WD è più che sufficiente, in quanto a fronte di 1,14 TB di dati da backupare la vecchia NAS dispone di ben 4 TB di spazio.
Sapreste indicarmi le possibili cause di questo arresto backup per insufficienza di spazio apparentemente ingiustificato?
Grazie fin d’ora.