Networker

Re: [Networker] Removal of older save sets

2009-03-18 13:40:46
Subject: Re: [Networker] Removal of older save sets
From: A Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 18 Mar 2009 17:35:29 +0000
On Wed, Mar 18, 2009 at 01:22:37PM -0400, Matthew Powell wrote:
> We are currently writing our legato files to a SAM/QFS file system.

You mean the Networker database, not the backup data itself, right?

> This
> means that as soon as legato writes to this directory SAM/QFS will grab
> it and make two tape copies. So in our instance legato will see no tape.
> Just an endless pool of disk. This takes out the whole process of
> cloning tapes to another library. We automatically get two copies on the
> first write. What I am trying to do is to have Legato purge the expired
> save sets and clear the space from disk.

The bulk of the data is in the "file" database, and that is erased as
soon as the browse period expires (or close to it .. runing nsrim -X
will help compress things as well).

A small part of the data is in the media database which tracks what's on
the tapes.  It's normally purged when the volume is recycled/relabeled.
You can purge it earlier, but it's pretty small, so you don't get much
space for doing it early.

> If the physical disks get full
> then all disk space is reclaimed because I have two copies of all data
> on tape. It can get the data from the tape by way of an inode pointer
> file. It tells the physical disk this is the location of the file. So I
> just want to know if there is a way for Legato to clean up the old save
> sets that have been expired.

If it's exipired, then the file database has already been purged and
only a little bit of data about the tape usage remains.

> This in turn will clear the data from the
> tape or at least mark it for removal so when QFS needs another tape it
> can just overwrite that tape b/c all media is expired. Do I need to
> explain any more on this or does this make sense? Thanks. 

I'm still not certain if you're talking about the Networker databases
(stuff in /nsr on the server), or if you're talking about the backup
data from the clients.

-- 
Darren

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER