ADSM-L

Re: [ADSM-L] Re: reclamation

2008-11-12 16:49:36
Subject: Re: [ADSM-L] Re: reclamation
From: Scott Bellew <SBellew AT RCRH DOT ORG>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Wed, 12 Nov 2008 14:48:14 -0700
Richard,

The following command will reclaim tapes when they are 70% empty/30% full and 
run for 5 hours. It will not alter stgp settings.
As other have suggested, I run this in an admin schedule.

Reclaim stgp 'tapepoolname' th=70 du=300


Scott


-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of 
Cheung, Richard
Sent: Monday, November 10, 2008 4:48 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: [ADSM-L] Re: reclamation

Okay...  but either way, how does one then execute a manual reclamation process 
to get these tapes back at a certain threshold then?


-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of 
Jim Neal
Sent: Tuesday, 11 November 2008 10:14 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: [ADSM-L] Re: reclamation

Hi Richard,

    Percent utilized is not the same as percent reclaimable.  They're apples 
and oranges.  If you use pct_reclaim, you'll get what you want.  : )

   Jim

-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of 
Cheung, Richard
Sent: Monday, November 10, 2008 3:38 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: [ADSM-L] Re: reclamation

I am using a SQL query to query how many tapes to be reclaimed at a certain 
level

Select count(*) from volumes where (stgpool_name='tapepool' and 
upper(status)='FULL' and pct_utilized < 99)



-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of 
David Bronder
Sent: Tuesday, 11 November 2008 9:57 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: [ADSM-L] Re: reclamation

Cheung, Richard wrote:
>
> Just to clarify - is that command going to permanently alter my
stgpool
> reclaim thresholds??   Or is that the command to do a manual
> reclamation?  Why doesnt reclaim stgpool <tapepool> threshold=99 work?

Jim's command alters the storage pool settings for reclamation (for the 
threshold and number of reclamation processes to run).

I'd guess that your "reclaim stgpool" command isn't working because none of the 
volumes in that pool have 99% reclaimable space.  Your 86 tapes that are 99% 
utilized may not have any reclaimable space, or may have some amount less than 
99% reclaimable space.  In other words, percent utilized is not the same as 
percent reclaimable.

You don't indicate how you consider a tape to be reclaimable.


> -----Original Message-----
> From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf
Of
> Jim Neal
> Sent: Tuesday, 11 November 2008 9:33 AM
> To: ADSM-L AT VM.MARIST DOT EDU
> Subject: Re: [ADSM-L] reclamation
>
> Hi Richard,
>
>     I believe the command you want to use is:
>
> upd stg <tapepool> recl=99 reclaimpr=X (where x=number of reclaim
> processes to start).
>
> -----Original Message-----
> From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf
Of
> Cheung, Richard
> Sent: Monday, November 10, 2008 2:56 PM
> To: ADSM-L AT VM.MARIST DOT EDU
> Subject: [ADSM-L] reclamation
>
> Hi..
>
> I have done some checks on my system on the Number of tapes to be
> reclaimed in my main tape pool, and discover the following:
>
> No of tapes awaiting reclamation at > 99% utilized = 86 No of tapes
> awaiting reclamation at > 80% utilized = 51 No of tapes awaiting
> reclamation at > 70% utilized = 36 No of tapes awaiting reclamation at
> > 60% utilized = 23 No of tapes awaiting reclamation at > 50% utilized
> = 2
>
> To facilitate this, I thought I would do some manual reclamations to
> clear the back log...
>
> However when I enter in
>
> Reclaim stgpool <tapepool> threshold=99 wait=no
>
> It tells me 'there is no data to be processed'
>
> Not sure why it would tell me that if there is supposedly 86 tapes at
> 99%> pct util awaiting reclamation?
>
> Any one has any suggestions?
>
> Richard
>


--
Hello World.                                    David Bronder - Systems
Admin
Segmentation Fault                                     ITS-SPA, Univ. of
Iowa
Core dumped, disk trashed, quota filled, soda warm.
david-bronder AT uiowa DOT edu

--
Hello World.                                    David Bronder - Systems
Admin
Segmentation Fault                                     ITS-SPA, Univ. of
Iowa
Core dumped, disk trashed, quota filled, soda warm.
david-bronder AT uiowa DOT edu

<html>
<body>
<font face="arial" color=#808080 size="-2"><img alt="Santos Logo" 
src="http://www.santos.com/library/logo.gif";>
<br>Santos Ltd A.B.N. 80 007 550 923<br>
Disclaimer: The information contained in this email is intended only for the 
use of the person(s) to whom it is addressed and may be confidential or contain 
privileged information.
If you are not the intended recipient you are hereby notified that any perusal, 
use, distribution, copying or disclosure is strictly prohibited.
If you have received this email in error please immediately advise us by return 
email and delete the email without making a copy.</font> <font face="arial" 
color=#008000 size="-2">Please consider the environment before printing this 
email</font> </body> </html>


Regional Health's mission is to provide and support health care excellence in 
partnership with the communities we serve.

Note: The information contained in this message, including any attachments, may 
be privileged, confidential, or protected from disclosure under state or 
federal laws . If the reader of this message is not the intended recipient, or 
an employee or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any dissemination, distribution, or 
copying of this communication is strictly prohibited. If you have received this 
communication in error, please notify the Sender immediately by a "reply to 
sender only" message and destroy all electronic or paper copies of the 
communication, including any attachments.