logo       

filesystem full - misconfiguration?: msg#00061

sysutils.backup.rsnapshot.general

Subject: filesystem full - misconfiguration?

I've had rsnapshot running for a little while now and it seems to have
filled up my fileystem. Perhaps somebody can shed some light on where i
may have gone wrong (not that the instructions seem /very/ complicated,
but i seem to have missed something important).

The first hint was finding that my VolGroup00 is at 98%. I immediately
thought to check my snapshots dir:

[root@apollo snapshots]# rsnapshot du
5.5G /snapshots/hourly.0/
138M /snapshots/hourly.1/
120M /snapshots/hourly.2/
222M /snapshots/hourly.3/
226M /snapshots/hourly.4/
90M /snapshots/hourly.5/
289M /snapshots/daily.0/
321M /snapshots/daily.1/
194M /snapshots/daily.2/
195M /snapshots/daily.3/
259M /snapshots/daily.4/
157M /snapshots/daily.5/
411M /snapshots/daily.6/
1.6G /snapshots/weekly.0/
465M /snapshots/weekly.1/
13G total

As i understand it, using du through rsnapshot should give a proper
reading of what's going (given the hard links). But this doesn't look
right at all. I've certainly not been generating hundreds of Mb of
changes to the system every day. Either i have a fundamental
misunderstanding about how rsnapshot works or something's mis-configured
here.

Side note: i tried getting a diff between snapshots but that didn't work.

[root@apollo snapshots]# rsnapshot diff daily.0 daily.1
Unknown option: daily.0
Please make sure all switches come before commands
(i.e. 'rsnapshot -v hourly', not 'rsnapshot hourly -v')

Here's my config:

config_version 1.2
snapshot_root /snapshots/
no_create_root 1

cmd_cp /bin/cp
cmd_rm /bin/rm
cmd_rsync /usr/bin/rsync
cmd_ssh /usr/bin/ssh
cmd_logger /usr/bin/logger
cmd_du /usr/bin/du

interval hourly 6
interval daily 7
interval weekly 4
interval monthly 3

link_dest 1
verbose 2
loglevel 3
logfile /var/log/rsnapshot

rsync_short_args -a
rsync_long_args --delete --numeric-ids --relative --delete-excluded
ssh_args -p 22
du_args -csh
lockfile /var/run/rsnapshot.pid

backup /home/ apollo/
backup /etc/ apollo/
backup /usr/local/ apollo/
backup /opt/svn/ apollo/
backup /var/www/ apollo/
backup /var/log/ apollo/
backup /var/lib/ apollo/

My crontab has:

0 */4 * * * /usr/bin/rsnapshot hourly
0 23 * * * /usr/bin/rsnapshot daily
0 11 * * 4 /usr/bin/rsnapshot weekly
0 13 1 * * /usr/bin/rsnapshot monthly


So, can anyone point me in the correct direction on this? And, to free
up disk space, can i safely just remove all of the snapshots, save for
daily.0?

brian

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise