Veritas-bu

Re: [Veritas-bu] Expired Backup ID Doesn't Free Up Some Space

2010-09-27 09:12:56
Subject: Re: [Veritas-bu] Expired Backup ID Doesn't Free Up Some Space
From: Ed Wilts <ewilts AT ewilts DOT org>
To: Adrian Soetanto <adrian.soetanto AT bentoel.co DOT id>
Date: Mon, 27 Sep 2010 08:12:50 -0500
On Mon, Sep 27, 2010 at 4:36 AM, Adrian Soetanto <adrian.soetanto AT bentoel.co DOT id> wrote:

What I want is to delete only certain backup IDs in a media ID and free
up some space in that media ID.
I've tried to use this command:
/usr/openv/netbackup/bin/admincmd/bpexpdate -backupid backup_id -d 0
But it doesn't free up some space in the media ID, it just expires the
backup ID.

This will work for random access devices like disk but it won't work for sequential devices like tape.

Tapes in NetBackup are written sequentially and do not allow pieces in the middle to be deleted. Even if you delete the last image on the tape, I'm not sure that NetBackup will truncate the tape and put the end-of-tape marker at the end of the last image.

This is one of the reasons why it's a bad idea to mix retentions on the same tape.

   .../Ed

Ed Wilts, RHCE, BCFP, BCSD, SCSP, SCSE
ewilts AT ewilts DOT org

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu