cancel
Showing results for 
Search instead for 
Did you mean: 

Scratch Pool Problem

markdavies1978
Level 5

Hi All,

I have recently added a 'scratch' pool to my Master server as there wasn't one configured previously.

Since I have created the scratch pool I note that any previously added media are being alocated to the 'Netbackup' pool & that I'm having to manually change this on each media.

Is there a method round this?

The reason being is that I forgot to change the media to the 'scratch' pool on Friday & all my backups failed over the weekend.

Thanks,

Mark

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

It should be no more than a 5-minute job each day. Open the Media section of the GUI, sort by Assign Time, then by Pool name.  Bulk-select all deassigned tapes that are not in the scratch pool,  right-click -> change -> scratch. Done.

View solution in original post

13 REPLIES 13

Kiran_Bandi
Level 6
Partner Accredited

I note that any previously added media are being alocated to the 'Netbackup' pool & that I'm having to manually change this on each media.

By default all the backup images will be written to Netbackup volume pool, if you don't specify any specific volume pools in policies. Once the images on a media are expired, then NBU will move that media to Scratch pool (if present). No need to assign existing volumes (Assigned with other volume pools) to SCRATCH manually. Also if a volume pool is in need of media, NBU will assign a media in scratch pool to the required pool.

If you are adding any new media, you can specify to which pool they belongs to.

Regards...

Andy_Welburn
Level 6

RETURN_UNASSIGNED_MEDIA_TO_SCRATCH_POOL

Check output of:

nbemmcmd -listsettings -machinename string

Specifies which machine to list settings for.

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

When media expires,  NBU will automatically return it to scratch IF it originally came from scratch.

So, you will have to go through a lengthy, painful process to change expired/unassigned tapes to scratch on a daily basis. You will have to do this once for each tape.

Also create a Barcode Rule so that all new tapes will automatically go to Scratch when you perform an inventory.

 

Have a look at the 'Previous Pool' attribute on one of our own tapes:


nbemmcmd -listmedia -mediaid A00134

NBEMMCMD, Version:7.0
====================================================================
Media GUID:                     a9c266b7-4551-47b0-922c-19ed590cd6e1
Media ID:                       000134
Partner:                        -
Media Type:                     HCART3
Volume Group:                   ---
Application:                    Netbackup
Media Flags:                    1
Description:                    Added by Media Manager
Barcode:                        000134
Partner Barcode:                --------
Last Write Host:                <master>
Created:                        12/03/2010 16:38
Time Assigned:                  07/08/2011 19:00
.......
Pool Number:                    6
Volume Pool:                    Weekly
Previous Pool Name:             Scratch
.......

markdavies1978
Level 5

Kiran

Thanks for your reply.

All my policies up until around 2-3 weeks ago were set to use the Netbackup pool - This has now changed but only per schedule, for example within a policy I have 3 schedules "Daily", "Weekly" & "Monthly" - Each of these schedules has it's own volume pool of the same name.

The tapes which are bing added back to my tape library are expired media yet the media is being added to the 'Netbackup' pool as mentioned above.

How can these media be added to the scratch pool by default?

Thanks.

markdavies1978
Level 5

Andy,

Results below:


C:\>nbemmcmd -listsettings -machinename
NBEMMCMD, Version:6.5.6
The value for this option was missing:
machinename
Usage:
nbemmcmd -listsettings  [-brief] [-emmname <string>] [-emmport <unsigned integer
>]
-machinename <string>
Command did not complete successfully.

C:\>nbemmcmd -listsettings -machinename string
NBEMMCMD, Version:6.5.6
The function returned the following failure status:
invalid host name (136)
Command did not complete successfully.

Thanks,

Mark

Andy_Welburn
Level 6

if you've got a machine called "string" !! laugh

markdavies1978
Level 5

Marianne,

Thanks, you have confirmed what I feared.

Looks like I'm stuck with this manual process for sometime then.

GREAT!

Cheers,

Mark

markdavies1978
Level 5

Whoops!

Been up since 3am!

Here you go:

C:\>nbemmcmd -listsettings -machinename brip3r3cbak01
NBEMMCMD, Version:6.5.6
The following configuration settings were found:
ALLOW_MULTIPLE_RETENTIONS_PER_MEDIA="no"
DISABLE_DISK_STU_JOB_THROTTLING="no"
DISABLE_STANDALONE_DRIVE_EXTENSIONS="no"
MEDIA_REQUEST_DELAY="0"
MUST_USE_LOCAL_DRIVE="no"
NON_ROBOTIC_MEDIA_ID_PREFIX="A"
MAX_REALLOC_TRIES="1000"
DISALLOW_NONNDMP_ON_NDMP_DRIVE="no"
DO_NOT_EJECT_STANDALONE="yes"
DONT_USE_SLAVE="no"
DRIVE_ERROR_THRESHOLD="2"
MEDIA_ERROR_THRESHOLD="2"
TIME_WINDOW="12"
NBUFS_DUP_TSU_TO_DSU="no"
NBUFS_DESTINATION_DSU="NONE"
NBUFS_RETENTION_LEVEL="0"
MPMS_DISABLE_RANK="0"
MPMS_DISABLE_EVENTS="no"
DISABLE_BACKUPS_SPANNING_DISK="no"
SCSI_PROTECTION="SR"
UNRESTRICTED_SHARING="no"
FATPIPE_USAGE_PREFERENCE="Preferred"
FATPIPE_WAIT_PERIOD="15"
FATPIPE_RESTORE_WAIT_PERIOD="5"
FT_MAX_CLIENT_PORTS_PER_SERVER="2"
SHAREDDISK_MOUNT_POINT="/nbushareddisk"
FT_MAX_CLIENTS_PER_PORT="2"
RETURN_UNASSIGNED_MEDIA_TO_SCRATCH_POOL="yes"
VAULT_CLEAR_MEDIA_DESC="no"
SCSI_PERSISTENT_RESERVE="0"
Command completed successfully.

Andy_Welburn
Level 6

Which leaves you with the issue of manually moving them to Scratch as per Marianne's post....

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

It should be no more than a 5-minute job each day. Open the Media section of the GUI, sort by Assign Time, then by Pool name.  Bulk-select all deassigned tapes that are not in the scratch pool,  right-click -> change -> scratch. Done.

markdavies1978
Level 5

Thanks Marianne.

That's what I've been doing.

I just happen to hate manual procesess!

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

THIS TOO SHALL PASS!!

Andy_Welburn
Level 6

wink