BackupPC-users

Re: [BackupPC-users] Pool filesystem wierdness

2012-05-30 10:16:41
Subject: Re: [BackupPC-users] Pool filesystem wierdness
From: Brad Alexander <storm16 AT gmail DOT com>
To: "Tyler J. Wagner" <tyler AT tolaris DOT com>
Date: Wed, 30 May 2012 10:15:13 -0400
I think I just found it. Ironically enough, it was my workstation. I
have an external drive that is normally plugged into my laptop for
files I need to transport I had plugged (and left plugged) this drive
into my desktop, which was being indexed and attempted to be backed
up. Apparently, this filled the filesystem, and the backup never
completed, but the files from the partial backup were apparently
stored somewhere. Once I umounted the portable hard drive, the backup
completed, and the drive space went back down to normal levels.

I have since commented out all of /media.

Thanks,
--b


On Wed, May 30, 2012 at 6:59 AM, Tyler J. Wagner <tyler AT tolaris DOT com> 
wrote:
> On 2012-05-30 00:27, Brad Alexander wrote:
>> I know it is bad form to respond to one's own post, but I was digging
>> around in my Munin graphs, and noticed that the filesystem skyrocked
>> from about 70% to 100% late on the 26th or early on the 27th. I have
>> included both the 4-week pool graph from the backup machine and the
>> weekly graph from my munin server. Note that while the pool filesystem
>> is smooth and even at around 300GB, the munin graph climbs sharply...
>
> This indicates the disk usage is outside the pool.
>
> Using du on these directories would be bad (take a long time, not be
> helpful due to hard links): cpool pool pc
>
> Everything else you can check. Please do so first.
>
> 1. Do you have anything else in this filesystem, or is it mounted on
> /var/lib/backuppc?
>
> 2. Check a few backups made during the window that usage increased. Are
> they linked into the pool? For instance:
>
> root@backup:/var/lib/backuppc/pc/router07/547# stat f%2f/fvar/flog/fsyslog
>  File: `f%2f/fvar/flog/fsyslog'
>  Size: 20440           Blocks: 40         IO Block: 4096   regular file
> Device: fb00h/64256d    Inode: 105783860   Links: 2
> Access: (0640/-rw-r-----)  Uid: (  106/backuppc)   Gid: (  116/backuppc)
> Access: 2012-05-24 00:08:56.727735552 +0000
> Modify: 2012-05-25 02:31:52.655574930 +0000
> Change: 2012-05-25 02:31:52.655574930 +0000
>
> This is a file that is unique on every host, but it has two links. Meaning
> it exists here in the pc directory, and in the pool. If this is 1, this
> backup is not linked into the pool and is contributing to this usage problem.
>
> Regards,
> Tyler
>
> --
> A bad analogy is like a leaky screwdriver.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/