|
Re: filesystem full - misconfiguration?: msg#00064sysutils.backup.rsnapshot.general
David Keegel wrote: > On Sun, Aug 20, 2006 at 05:04:00PM -0400, brian wrote: > >>I've had rsnapshot running for a little while now and it seems to have >>filled up my fileystem. > > > >>[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 > > > If there is an odd one out there, it is weekly.0. That suggests 1600M of > changed files between daily.6 and weekly.0, but only 400M between weekly.0 > and weekly.1. Precisely. That doesn't make any sense to me at all. > > >>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. > > > It's the total size of changed files that counts, not just total of the > amounts changed within each file. (In case that wasn't obvious from > Jim Gottlieb's message.) > Right. I should have been clearer. > If you don't have enough disk space free for 13G of snapshots, I'd > suggest reducing the number of snapshots you keep. You might want > to stop keeping the weekly and monthly snapshots. Or stop doing > hourly snapshots and just do 7 daily and 4 weekly instead. > > Actually, it's only the filesystem that's topped up. The disk has plenty more space. I'd figured that it would be large enough, based on my rough (and incorrect, it seems) calculations. > > I don't see any obvious problems with your config (although I'm slightly > surprised you do the weekly rotation mid-week rather than on a weekend). > I'm sure i had a reason for doing that at the time :-) > >>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? > > > If you are doing "hourly" snapshots, you would need to keep hourly.0. > > If you want to ditch the hourly snapshots you probably want to move > hourly.0 to daily.0, remove the other hourly.X directories, and remove > hourly from rsnapshot.conf and crontab. > Thanks. Again, i should have been more clear. I meant, if there was a configuration problem, in order to start from scratch, would it be fine to remove all except daily.0 (everything's archived elsewhere). I guess that's the case. > Just removing snapshots won't solve your problem in the long term - > once those snapshots are filled out again, you would probably be back > in the same boat, unless you reduce the number of snapshots or reduce > the total amount of changed files you backup. Or get more disk space. > Oh, i realise removing them will only buy me so much time without changes elsewhere. I think i will take your advice, though, and reduce the number of snapshots i run. Thanks for your time. 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> |
|---|---|---|
| Previous by Date: | Re: filesystem full - misconfiguration?: 00064, David Keegel |
|---|---|
| Next by Date: | Re: filesystem full - misconfiguration?: 00064, David Cantrell |
| Previous by Thread: | Re: filesystem full - misconfiguration?i: 00064, David Keegel |
| Next by Thread: | Web based Retrieval Mechanism???: 00064, HAWKER, Dan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |